aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-03-03 20:13:13 +0000
committerRichard M. Stallman2001-03-03 20:13:13 +0000
commit305f719adfbb6ae71acef103d0f7945d3c7ba740 (patch)
treefb0edca7461751625c71acb16a77cc8e80aa172b
parent9c3aede4eb5fe01b13b954b42ee48d304098b927 (diff)
downloademacs-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.texi38
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),
45Emacs uses the @key{command} key as the @key{META} key. Otherwise it uses the 45Emacs uses the @key{command} key as the @key{META} key. Otherwise it
46@key{option} key as the @key{META} key. 46uses 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,
49so that dead-key processing with the @key{option} key will still work. This is 49so 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
70the value of @code{mac-keyboard-text-encoding} to 70the 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
72generates Latin-2 codes by typing @kbd{C-x RET k iso-latin-2 RET}. To 72generates Latin-2 codes, by typing @kbd{C-x @key{RET} k iso-latin-2
73make 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
85characters. It also deviates from the ISO 2022 standard by using code 86characters. It also deviates from the ISO 2022 standard by using
86points in the range 128-159. The coding system @code{mac-roman} is used 87character codes in the range 128-159. The coding system
87to 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
88this native encoding, and for displaying file names in Dired mode. 89for editing files stored in this native encoding, and for displaying
90file 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
91characters in the @code{mac-roman} coding system. 93characters in the @code{mac-roman} coding system.
@@ -95,8 +97,8 @@ is run on the Mac. It displays characters in the @code{mac-roman}
95coding system using 12-point Monaco. 97coding 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,
98type @kbd{C-x RET k mac-roman RET}, or put this in your @file{.emacs} 100type @kbd{C-x @key{RET} k mac-roman @key{RET}}, or put this in your
99init 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.
112of the manual. 114of 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
115system accordingly using the @kbd{C-x RET k} command 117system 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
117Chinese, use @samp{chinese-big5} as keyboard coding system; for 119Chinese, use @samp{chinese-big5} as keyboard coding system; for
118Japanese, use @samp{sjis}, etc. Then select the desired input method in 120Japanese, 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
126one in another Mac application and yank it into a Emacs buffer. 128one 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
131Chinese, use @samp{chinese-big5-mac} and for Japanese, 133Traditional 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
192font name, i.e. 194you specify face attributes instead. But when you do need to specify
195a 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.
201are 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}
204and charset @code{mac-roman}. For example 12-point Monaco can be 206and charset @code{mac-roman}. For example 12-point Monaco can be