diff options
| author | Richard M. Stallman | 2001-03-03 20:13:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-03-03 20:13:13 +0000 |
| commit | 305f719adfbb6ae71acef103d0f7945d3c7ba740 (patch) | |
| tree | fb0edca7461751625c71acb16a77cc8e80aa172b | |
| parent | 9c3aede4eb5fe01b13b954b42ee48d304098b927 (diff) | |
| download | emacs-305f719adfbb6ae71acef103d0f7945d3c7ba740.tar.gz emacs-305f719adfbb6ae71acef103d0f7945d3c7ba740.zip | |
Minor clarifications. Explain that one normally specifies face attributes
rather than a font name.
| -rw-r--r-- | man/macos.texi | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/man/macos.texi b/man/macos.texi index 42cdb99b60c..66bcbd77ccb 100644 --- a/man/macos.texi +++ b/man/macos.texi | |||
| @@ -42,8 +42,8 @@ they are not supported in the Mac OS version. | |||
| 42 | On the Mac, Emacs can use either the @key{option} key or the | 42 | On the Mac, Emacs can use either the @key{option} key or the |
| 43 | @key{command} key as the @key{META} key. If the value of the variable | 43 | @key{command} key as the @key{META} key. If the value of the variable |
| 44 | @code{mac-command-key-is-meta} is non-@code{nil} (its default value), | 44 | @code{mac-command-key-is-meta} is non-@code{nil} (its default value), |
| 45 | Emacs uses the @key{command} key as the @key{META} key. Otherwise it uses the | 45 | Emacs uses the @key{command} key as the @key{META} key. Otherwise it |
| 46 | @key{option} key as the @key{META} key. | 46 | uses the @key{option} key as the @key{META} key. |
| 47 | 47 | ||
| 48 | Most people should want to use the @key{command} key as the @key{META} key, | 48 | Most people should want to use the @key{command} key as the @key{META} key, |
| 49 | so that dead-key processing with the @key{option} key will still work. This is | 49 | so that dead-key processing with the @key{option} key will still work. This is |
| @@ -69,8 +69,9 @@ characters. | |||
| 69 | To enter ISO Latin-2 characters directly from the Mac keyboard, set | 69 | To enter ISO Latin-2 characters directly from the Mac keyboard, set |
| 70 | the value of @code{mac-keyboard-text-encoding} to | 70 | the value of @code{mac-keyboard-text-encoding} to |
| 71 | @code{kTextEncodingISOLatin2}. Then let Emacs know that the keyboard | 71 | @code{kTextEncodingISOLatin2}. Then let Emacs know that the keyboard |
| 72 | generates Latin-2 codes by typing @kbd{C-x RET k iso-latin-2 RET}. To | 72 | generates Latin-2 codes, by typing @kbd{C-x @key{RET} k iso-latin-2 |
| 73 | make this setting permanent, put this in your @file{.emacs} init file: | 73 | @key{RET}}. To make this setting permanent, put this in your |
| 74 | @file{.emacs} init file: | ||
| 74 | 75 | ||
| 75 | @lisp | 76 | @lisp |
| 76 | (set-keyboard-coding-system 'iso-latin-2) | 77 | (set-keyboard-coding-system 'iso-latin-2) |
| @@ -82,10 +83,11 @@ make this setting permanent, put this in your @file{.emacs} init file: | |||
| 82 | @cindex clipboard support (Mac OS) | 83 | @cindex clipboard support (Mac OS) |
| 83 | 84 | ||
| 84 | The Mac uses a non-standard encoding for the upper 128 single-byte | 85 | The Mac uses a non-standard encoding for the upper 128 single-byte |
| 85 | characters. It also deviates from the ISO 2022 standard by using code | 86 | characters. It also deviates from the ISO 2022 standard by using |
| 86 | points in the range 128-159. The coding system @code{mac-roman} is used | 87 | character codes in the range 128-159. The coding system |
| 87 | to represent this Mac encoding. It is used for editing files stored in | 88 | @code{mac-roman} is used to represent this Mac encoding. It is used |
| 88 | this native encoding, and for displaying file names in Dired mode. | 89 | for editing files stored in this native encoding, and for displaying |
| 90 | file names in Dired mode. | ||
| 89 | 91 | ||
| 90 | Any native (non-symbol) Mac font can be used to correctly display | 92 | Any native (non-symbol) Mac font can be used to correctly display |
| 91 | characters in the @code{mac-roman} coding system. | 93 | characters in the @code{mac-roman} coding system. |
| @@ -95,8 +97,8 @@ is run on the Mac. It displays characters in the @code{mac-roman} | |||
| 95 | coding system using 12-point Monaco. | 97 | coding system using 12-point Monaco. |
| 96 | 98 | ||
| 97 | To insert characters directly in the @code{mac-roman} coding system, | 99 | To insert characters directly in the @code{mac-roman} coding system, |
| 98 | type @kbd{C-x RET k mac-roman RET}, or put this in your @file{.emacs} | 100 | type @kbd{C-x @key{RET} k mac-roman @key{RET}}, or put this in your |
| 99 | init file: | 101 | @file{.emacs} init file: |
| 100 | 102 | ||
| 101 | @lisp | 103 | @lisp |
| 102 | (set-keyboard-coding-system 'mac-roman) | 104 | (set-keyboard-coding-system 'mac-roman) |
| @@ -112,7 +114,7 @@ Methods}) or the Mac OS to enter international characters. | |||
| 112 | of the manual. | 114 | of the manual. |
| 113 | 115 | ||
| 114 | To use input methods provided by the Mac OS, set the keyboard coding | 116 | To use input methods provided by the Mac OS, set the keyboard coding |
| 115 | system accordingly using the @kbd{C-x RET k} command | 117 | system accordingly using the @kbd{C-x @key{RET} k} command |
| 116 | (@code{set-keyboard-coding-system}). For example, for Traditional | 118 | (@code{set-keyboard-coding-system}). For example, for Traditional |
| 117 | Chinese, use @samp{chinese-big5} as keyboard coding system; for | 119 | Chinese, use @samp{chinese-big5} as keyboard coding system; for |
| 118 | Japanese, use @samp{sjis}, etc. Then select the desired input method in | 120 | Japanese, use @samp{sjis}, etc. Then select the desired input method in |
| @@ -126,9 +128,9 @@ a piece of text and paste it into another Mac application, or cut or copy | |||
| 126 | one in another Mac application and yank it into a Emacs buffer. | 128 | one in another Mac application and yank it into a Emacs buffer. |
| 127 | 129 | ||
| 128 | The encoding of text selections must be specified using the commands | 130 | The encoding of text selections must be specified using the commands |
| 129 | @kbd{C-x RET x} (@code{set-selection-coding-system}) or @kbd{C-x RET X} | 131 | @kbd{C-x @key{RET} x} (@code{set-selection-coding-system}) or @kbd{C-x |
| 130 | (@code{set-next-selection-coding-system}) (e.g., for Traditional | 132 | @key{RET} X} (@code{set-next-selection-coding-system}) (e.g., for |
| 131 | Chinese, use @samp{chinese-big5-mac} and for Japanese, | 133 | Traditional Chinese, use @samp{chinese-big5-mac} and for Japanese, |
| 132 | @samp{sjis-mac}). @xref{Specify Coding}, for more details. | 134 | @samp{sjis-mac}). @xref{Specify Coding}, for more details. |
| 133 | 135 | ||
| 134 | 136 | ||
| @@ -188,8 +190,9 @@ another directory but this folder will still be created. | |||
| 188 | @section Specifying Fonts on the Mac | 190 | @section Specifying Fonts on the Mac |
| 189 | @cindex font names (Mac OS) | 191 | @cindex font names (Mac OS) |
| 190 | 192 | ||
| 191 | Fonts are specified to Emacs on the Mac in the form of a standard X | 193 | It is rare that you need to specify a font name in Emacs; usually |
| 192 | font name, i.e. | 194 | you specify face attributes instead. But when you do need to specify |
| 195 | a font name in Emacs on the Mac, use a standard X font name: | ||
| 193 | 196 | ||
| 194 | @smallexample | 197 | @smallexample |
| 195 | -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} | 198 | -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} |
| @@ -197,8 +200,7 @@ font name, i.e. | |||
| 197 | @end smallexample | 200 | @end smallexample |
| 198 | 201 | ||
| 199 | @noindent | 202 | @noindent |
| 200 | @xref{Font X}. Wildcards | 203 | @xref{Font X}. Wildcards are supported as they are on X. |
| 201 | are supported as they are on X. | ||
| 202 | 204 | ||
| 203 | Native Apple fonts in Mac Roman encoding has maker name @code{apple} | 205 | Native Apple fonts in Mac Roman encoding has maker name @code{apple} |
| 204 | and charset @code{mac-roman}. For example 12-point Monaco can be | 206 | and charset @code{mac-roman}. For example 12-point Monaco can be |