diff options
| author | Glenn Morris | 2009-07-11 02:49:24 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-07-11 02:49:24 +0000 |
| commit | a6936c4b7e3bb071c223ac7049e7a73244a88a2c (patch) | |
| tree | 9ee7b139dda94dd2067e7311eb8934be409a4b67 | |
| parent | ad258c72ee9fd3a2b6cf62452c2fa708aaad0a40 (diff) | |
| download | emacs-a6936c4b7e3bb071c223ac7049e7a73244a88a2c.tar.gz emacs-a6936c4b7e3bb071c223ac7049e7a73244a88a2c.zip | |
(Mac OS / GNUstep): Fix spelling and cross-reference.
End menu descriptions with a period.
(Mac / GNUstep Basics): Minor grammar changes.
(Mac / GNUstep Events): Fix typo.
(GNUstep Support): CANNOT_DUMP no longer applies.
| -rw-r--r-- | doc/emacs/macos.texi | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi index c628e378c72..fd813804538 100644 --- a/doc/emacs/macos.texi +++ b/doc/emacs/macos.texi | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 2000, 2001, 2002, 2003, 2004, | 2 | @c Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 3 | @c 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 | @c 2009 Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Mac OS / GNUstep, Microsoft Windows, Antinews, Top | 5 | @node Mac OS / GNUstep, Microsoft Windows, Antinews, Top |
| 6 | @appendix Emacs and Mac OS / GNUstep | 6 | @appendix Emacs and Mac OS / GNUstep |
| @@ -21,17 +21,16 @@ internally, instead of ``Cocoa'' or ``Mac OS X''; for instance, most of the | |||
| 21 | commands and variables described in the following sections begin with | 21 | commands and variables described in the following sections begin with |
| 22 | @samp{ns-}, which is short for @samp{Nextstep}. NeXTstep was an application | 22 | @samp{ns-}, which is short for @samp{Nextstep}. NeXTstep was an application |
| 23 | interface released by NeXT Inc during the 1980s, of which Cocoa is a direct | 23 | interface released by NeXT Inc during the 1980s, of which Cocoa is a direct |
| 24 | descendent. Apart from Cocoa, there is another NeXTstep-style system: | 24 | descendant. Apart from Cocoa, there is another NeXTstep-style system: |
| 25 | GNUstep, which is free software. As of this writing, the GNUstep support is | 25 | GNUstep, which is free software. As of this writing, the GNUstep support is |
| 26 | alpha status (see @pxref{GNUstep Support}), but we hope to improve it in the | 26 | alpha status (@pxref{GNUstep Support}), but we hope to improve it in the |
| 27 | future. | 27 | future. |
| 28 | 28 | ||
| 29 | @menu | 29 | @menu |
| 30 | * Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS. | 30 | * Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS. |
| 31 | * Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS. | 31 | * Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS. |
| 32 | * Mac / GNUstep Events:: How window system events are handled. | 32 | * Mac / GNUstep Events:: How window system events are handled. |
| 33 | * GNUstep Support:: Details on status of GNUstep support | 33 | * GNUstep Support:: Details on status of GNUstep support. |
| 34 | * | ||
| 35 | @end menu | 34 | @end menu |
| 36 | 35 | ||
| 37 | @node Mac / GNUstep Basics, Mac / GNUstep Customization, , Mac OS / GNUstep | 36 | @node Mac / GNUstep Basics, Mac / GNUstep Customization, , Mac OS / GNUstep |
| @@ -75,15 +74,17 @@ clipboard. | |||
| 75 | 74 | ||
| 76 | @subsection Grabbing environment variables | 75 | @subsection Grabbing environment variables |
| 77 | 76 | ||
| 78 | Many programs which may run under Emacs like latex or man depend on the | 77 | @c How is this any different to launching from a window manager menu |
| 78 | @c in GNU/Linux? These are sometimes not login shells either. | ||
| 79 | Many programs which may run under Emacs, like latex or man, depend on the | ||
| 79 | settings of environment variables. If Emacs is launched from the shell, it | 80 | settings of environment variables. If Emacs is launched from the shell, it |
| 80 | will automatically inherit these environment variables and its subprocesses | 81 | will automatically inherit these environment variables and its subprocesses |
| 81 | will inherit them from it. But if Emacs is launched from the Finder it | 82 | will inherit them from it. But if Emacs is launched from the Finder it |
| 82 | is not a descendant of any shell, so its environment variables haven't been | 83 | is not a descendant of any shell, so its environment variables haven't been |
| 83 | set which often causes the subprocesses it launches to behave differently than | 84 | set, which often causes the subprocesses it launches to behave differently than |
| 84 | they would when launched from the shell. | 85 | they would when launched from the shell. |
| 85 | 86 | ||
| 86 | As for the PATH and MANPATH variables, a system-wide method | 87 | For the PATH and MANPATH variables, a system-wide method |
| 87 | of setting PATH is recommended on Mac OS X 10.5 and later, using the | 88 | of setting PATH is recommended on Mac OS X 10.5 and later, using the |
| 88 | @file{/etc/paths} files and the @file{/etc/paths.d} directory. | 89 | @file{/etc/paths} files and the @file{/etc/paths.d} directory. |
| 89 | 90 | ||
| @@ -142,7 +143,7 @@ This event occurs when another Nextstep application requests that | |||
| 142 | Emacs open a file. A typical reason for this would be a user | 143 | Emacs open a file. A typical reason for this would be a user |
| 143 | double-clicking a file in the Finder application. By default, Emacs | 144 | double-clicking a file in the Finder application. By default, Emacs |
| 144 | responds to this event by opening a new frame and visiting the file in | 145 | responds to this event by opening a new frame and visiting the file in |
| 145 | that frame (@code{ns-find-file}), As an exception, if the selected | 146 | that frame (@code{ns-find-file}). As an exception, if the selected |
| 146 | buffer is the @samp{*scratch*} buffer, Emacs visits the file in the | 147 | buffer is the @samp{*scratch*} buffer, Emacs visits the file in the |
| 147 | selected frame. | 148 | selected frame. |
| 148 | 149 | ||
| @@ -189,7 +190,7 @@ panel (which can be opened with @kbd{Cmd-t}). The default behavior is | |||
| 189 | to adjust the font of the selected frame | 190 | to adjust the font of the selected frame |
| 190 | (@code{ns-respond-to-changefont}). The name and size of the selected | 191 | (@code{ns-respond-to-changefont}). The name and size of the selected |
| 191 | font are stored in the variables @code{ns-input-font} and | 192 | font are stored in the variables @code{ns-input-font} and |
| 192 | @code{ns-input-fontsize} respectively. | 193 | @code{ns-input-fontsize}, respectively. |
| 193 | 194 | ||
| 194 | @item ns-power-off | 195 | @item ns-power-off |
| 195 | This event occurs when the user logs out and Emacs is still running, or when | 196 | This event occurs when the user logs out and Emacs is still running, or when |
| @@ -211,15 +212,21 @@ restart Emacs to access newly-available services. | |||
| 211 | @node GNUstep Support, , Mac / GNUstep Events, Mac OS / GNUstep | 212 | @node GNUstep Support, , Mac / GNUstep Events, Mac OS / GNUstep |
| 212 | @section GNUstep Support | 213 | @section GNUstep Support |
| 213 | 214 | ||
| 214 | Emacs can be built and run under GNUstep however building is difficult and | 215 | Emacs can be built and run under GNUstep, however there are still some |
| 215 | there are some limitations to functionality. In particular, it may be | 216 | issues to be addressed. Interested developers should contact |
| 216 | necessary to run @samp{make bootstrap} with a plain X configuration, then | 217 | @email{emacs-devel@@gnu.org}. |
| 217 | @samp{make clean} and @samp{./configure --with-ns} followed by @samp{make | 218 | |
| 218 | install}. | 219 | @c Presumably no longer relevant since CANNOT_DUMP removed 2009-05-06: |
| 220 | @ignore | ||
| 221 | In particular, it may be necessary to run @samp{make bootstrap} with a | ||
| 222 | plain X configuration, then @samp{make clean} and @samp{./configure | ||
| 223 | --with-ns} followed by @samp{make install}. | ||
| 219 | 224 | ||
| 220 | Currently CANNOT_DUMP is automatically enabled in GNUstep configurations, | 225 | Currently CANNOT_DUMP is automatically enabled in GNUstep configurations, |
| 221 | because the unex file(s) for GNUstep, mainly @samp{unexelf.c}, have not been | 226 | because the unex file(s) for GNUstep, mainly @samp{unexelf.c}, have not been |
| 222 | updated yet with the ``zone'' code in and related to @samp{unexmacosx.c}. | 227 | updated yet with the ``zone'' code in and related to @samp{unexmacosx.c}. |
| 228 | @end ignore | ||
| 229 | |||
| 223 | 230 | ||
| 224 | @ignore | 231 | @ignore |
| 225 | arch-tag: a822c2ab-4273-4997-927e-c153bb71dcf6 | 232 | arch-tag: a822c2ab-4273-4997-927e-c153bb71dcf6 |