comparison doc/misc/ns-emacs.texi @ 97563:97b52beb60b7

ns-emacs.texi: Update version. (Introduction): Correct menu location for options save. (Customization): Note that defaults are stored under org.gnu.Emacs.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Tue, 19 Aug 2008 13:41:20 +0000
parents fc2bd95cda23
children eec60dbfa1b8
comparison
equal deleted inserted replaced
97562:9f57b240f8c1 97563:97b52beb60b7
38 38
39 @titlepage 39 @titlepage
40 @sp 10 40 @sp 10
41 @center @titlefont{Emacs.app} 41 @center @titlefont{Emacs.app}
42 42
43 @center (Version 9.0-rc1, April, 2006) 43 @center (Version 9.0-rc3, November, 2007)
44 44
45 @sp 2 45 @sp 2
46 @center Carl Edman 46 @center Carl Edman
47 @sp 2 47 @sp 2
48 @center Christian Limpach 48 @center Christian Limpach
153 The standard NeXTstep font and color panels are accessible through the Windows 153 The standard NeXTstep font and color panels are accessible through the Windows
154 menu, or through the standard Cmd-t and Cmd-C. These are easier to use than 154 menu, or through the standard Cmd-t and Cmd-C. These are easier to use than
155 Emacs's own methods for setting these items. To use the color panel, drag 155 Emacs's own methods for setting these items. To use the color panel, drag
156 from it to an emacs frame. The foreground (or background, if shift is held 156 from it to an emacs frame. The foreground (or background, if shift is held
157 down) of the face at that point will be changed. To finalize settings for 157 down) of the face at that point will be changed. To finalize settings for
158 either color or font, choose 'Save Preferences' from under the Help menu. To 158 either color or font, choose 'Save Options' from under the Options menu. To
159 discard these settings, create a new frame and close the altered one. 159 discard these settings, create a new frame and close the altered one.
160 160
161 @item 161 @item
162 Opening files / directories and 'Save Buffer As' operated from the menus use 162 Opening files / directories and 'Save Buffer As' operated from the menus use
163 the standard NS file panels. Likewise if you use Cmd-o or Cmd-S. However, 163 the standard NS file panels. Likewise if you use Cmd-o or Cmd-S. However,
443 443
444 444
445 @node Customization, Tips and Tricks, Preferences Panel, Top 445 @node Customization, Tips and Tricks, Preferences Panel, Top
446 @section Customization 446 @section Customization
447 447
448 Under X, resources are used to customize the behavior of Emacs to the needs of 448 Under X, resources are used to customize the behavior of Emacs to the
449 the user. These resources are queried programmatically with the 449 needs of the user. These resources are queried programmatically with
450 @code{x-get-resource} function. Under NS defaults fulfill a similar function. 450 the @code{x-get-resource} function. Under NS defaults fulfill a
451 They can be read using the @code{ns-get-resource} function. Calls to 451 similar function. They can be read using the @code{ns-get-resource}
452 @code{x-get-resource} are automatically mapped to @code{ns-get-resource}. 452 function. Calls to @code{x-get-resource} are automatically mapped to
453 From the command line, the command `@code{defaults read Emacs}' will show 453 @code{ns-get-resource}. From the command line, the command
454 these resources as of last Emacs quit, and individual resources can be 454 `@code{defaults read org.gnu.Emacs}' will show these resources as of
455 read/written by commands like `@code{defaults read Emacs Foo}' and 455 last Emacs quit, and individual resources can be read/written by
456 `@code{defaults write Emacs Foo barvalue}'. 456 commands like `@code{defaults read Emacs Foo}' and `@code{defaults
457 write Emacs Foo barvalue}'.
457 458
458 Calling the function @code{ns-save-preferences} in lisp, or selecting ``Save 459 Calling the function @code{ns-save-preferences} in lisp, or selecting ``Save
459 Options'' from the 'Options' menu will automatically write out the defaults 460 Options'' from the 'Options' menu will automatically write out the defaults
460 corresponding to the selected window. 461 corresponding to the selected window.
461 462