Commit b08fa67e authored by Richard M. Stallman's avatar Richard M. Stallman

Small cleanups in usage.

parent bdb678d2
...@@ -24,15 +24,14 @@ As a result, packages such as Gnus, Ispell, and Comint do not work. ...@@ -24,15 +24,14 @@ As a result, packages such as Gnus, Ispell, and Comint do not work.
they are not supported in the Mac OS version. they are not supported in the Mac OS version.
@menu @menu
* Mac Input:: Keyboard input on the Mac. * Input: Mac Input. Keyboard input on the Mac.
* Mac International:: International character set support on the Mac. * Intl: Mac International. International character sets on the Mac.
* Mac Environment Variables:: Setting environment variables for Emacs. * Env: Mac Environment Variables. Setting environment variables for Emacs.
* Mac Directories:: Volumes and directories on the Mac. * Directories: Mac Directories. Volumes and directories on the Mac.
* Mac Font Specs:: Specifying fonts on the Mac. * Font: Mac Font Specs. Specifying fonts on the Mac.
* Mac Functions:: Mac specific Lisp functions. * Functions: Mac Functions. Mac-specific Lisp functions.
@end menu @end menu
@node Mac Input @node Mac Input
@section Keyboard Input on the Mac @section Keyboard Input on the Mac
@cindex Meta (under Mac OS) @cindex Meta (under Mac OS)
...@@ -74,7 +73,7 @@ generates Latin-2 codes by typink @kbd{C-x RET k iso-latin-2 RET}. To ...@@ -74,7 +73,7 @@ generates Latin-2 codes by typink @kbd{C-x RET k iso-latin-2 RET}. To
make this setting permanent, put this in your @file{.emacs} init file: make this setting permanent, put this in your @file{.emacs} init file:
@lisp @lisp
(set-keyboard-coding-system 'iso-latin-2) (set-keyboard-coding-system 'iso-latin-2)
@end lisp @end lisp
@node Mac International @node Mac International
...@@ -86,7 +85,7 @@ make this setting permanent, put this in your @file{.emacs} init file: ...@@ -86,7 +85,7 @@ make this setting permanent, put this in your @file{.emacs} init file:
characters. It also deviates from the ISO 2022 standard by using code characters. It also deviates from the ISO 2022 standard by using code
points in the range 128-159. The coding system @code{mac-roman} is used points in the range 128-159. The coding system @code{mac-roman} is used
to represent this Mac encoding. It is used for editing files stored in to represent this Mac encoding. It is used for editing files stored in
this native encoding, and for displaying filenames in Dired mode. this native encoding, and for displaying file names in Dired mode.
Any native (non-symbol) Mac font can be used to correctly display Any native (non-symbol) Mac font can be used to correctly display
characters in the @code{mac-roman} coding system. characters in the @code{mac-roman} coding system.
...@@ -165,10 +164,10 @@ EMACS_UNIBYTE=1 ...@@ -165,10 +164,10 @@ EMACS_UNIBYTE=1
The directory structure in the Mac OS is seen by Emacs as The directory structure in the Mac OS is seen by Emacs as
@example @example
/<volumename>/<pathname> /@var{volumename}/@var{filename}
@end example @end example
So when Emacs requests a file name, doing filename completion on So when Emacs requests a file name, doing file name completion on
@file{/} will display all volumes on the system. As in Unix, @file{..} @file{/} will display all volumes on the system. As in Unix, @file{..}
can be used to go up a directory level. can be used to go up a directory level.
...@@ -192,16 +191,15 @@ another directory but this folder will still be created. ...@@ -192,16 +191,15 @@ another directory but this folder will still be created.
Fonts are specified to Emacs on the Mac in the form of a standard X Fonts are specified to Emacs on the Mac in the form of a standard X
font name. I.e., font name. I.e.,
@example @smallexample
-FOUNDRY-FAMILY-WEIGHT-SLANT-WIDTH--PIXELS-POINTS- -@var{foundry}-@var{family}-@var{weight}-@var{slant}-@var{width}--@var{pixels}-@var{points}-@var{hres}-@var{vres}-@var{spacing}-@var{avewidth}-@var{charset}
HRES-VRES-SPACING-AVEWIDTH-CHARSET @end smallexample
@end example
@noindent
where the fields refer to foundry, font family, weight, slant, width, where the fields refer to foundry, font family, weight, slant, width,
pixels, point size, horizontal resolution, vertical resolution, spacing, pixels, point size, horizontal resolution, vertical resolution,
average width, and character set, respectively. spacing, average width, and character set, respectively. Wildcards
are supported as they are on X.
Wildcards are supported as they are on X.
Native Apple fonts in Mac Roman encoding has foundry name @code{apple} Native Apple fonts in Mac Roman encoding has foundry name @code{apple}
and charset @code{mac-roman}. For example 12-point Monaco can be and charset @code{mac-roman}. For example 12-point Monaco can be
...@@ -229,7 +227,7 @@ string. ...@@ -229,7 +227,7 @@ string.
@findex mac-filename-to-unix @findex mac-filename-to-unix
@findex unix-filename-to-mac @findex unix-filename-to-mac
The function @code{mac-filename-to-unix} takes a Mac pathname and The function @code{mac-filename-to-unix} takes a Mac file name and
returns the Unix equivalent. The function @code{unix-filename-to-mac} returns the Unix equivalent. The function @code{unix-filename-to-mac}
performs the opposite conversion. They are useful for constructing performs the opposite conversion. They are useful for constructing
AppleScript commands to be passed to @code{do-applescript}. AppleScript commands to be passed to @code{do-applescript}.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment