comparison man/faq.texi @ 67892:e188efbb47ee

(Using Customize): New node.
author Romain Francoise <romain@orebokech.com>
date Thu, 29 Dec 2005 14:08:09 +0000
parents 5e3db5999d74
children fc745b05e928 7beb78bc1f8e
comparison
equal deleted inserted replaced
67891:c6d86f53dcf3 67892:e188efbb47ee
1159 @chapter Common requests 1159 @chapter Common requests
1160 @cindex Common requests 1160 @cindex Common requests
1161 1161
1162 @menu 1162 @menu
1163 * Setting up a customization file:: 1163 * Setting up a customization file::
1164 * Using Customize::
1164 * Debugging a customization file:: 1165 * Debugging a customization file::
1165 * Colors on a TTY:: 1166 * Colors on a TTY::
1166 * Displaying the current line or column:: 1167 * Displaying the current line or column::
1167 * Displaying the current file name in the titlebar:: 1168 * Displaying the current file name in the titlebar::
1168 * Turning on abbrevs by default:: 1169 * Turning on abbrevs by default::
1209 * Editing MS-DOS files:: 1210 * Editing MS-DOS files::
1210 * Filling paragraphs with a single space:: 1211 * Filling paragraphs with a single space::
1211 * Escape sequences in shell output:: 1212 * Escape sequences in shell output::
1212 @end menu 1213 @end menu
1213 1214
1214 @node Setting up a customization file, Colors on a TTY, Common requests, Common requests 1215 @node Setting up a customization file, Using Customize, Common requests, Common requests
1215 @section How do I set up a @file{.emacs} file properly? 1216 @section How do I set up a @file{.emacs} file properly?
1216 @cindex @file{.emacs} file, setting up 1217 @cindex @file{.emacs} file, setting up
1217 @cindex @file{.emacs} file, locating 1218 @cindex @file{.emacs} file, locating
1218 @cindex Init file, setting up 1219 @cindex Init file, setting up
1219 @cindex Customization file, setting up 1220 @cindex Customization file, setting up
1223 In general, new Emacs users should not have @file{.emacs} files, because 1224 In general, new Emacs users should not have @file{.emacs} files, because
1224 it causes confusing non-standard behavior. Then they send questions to 1225 it causes confusing non-standard behavior. Then they send questions to
1225 @email{help-gnu-emacs@@gnu.org} asking why Emacs isn't behaving as 1226 @email{help-gnu-emacs@@gnu.org} asking why Emacs isn't behaving as
1226 documented. 1227 documented.
1227 1228
1228 Beginning with version 20.1, Emacs includes the new Customize facility, 1229 Beginning with version 20.1, Emacs includes the new Customize facility
1229 which can be invoked using @kbd{M-x customize @key{RET}}. This allows 1230 (@pxref{Using Customize}). This allows users who are unfamiliar with
1230 users who are unfamiliar with Emacs Lisp to modify their @file{.emacs} 1231 Emacs Lisp to modify their @file{.emacs} files in a relatively
1231 files in a relatively straightforward way, using menus rather than Lisp 1232 straightforward way, using menus rather than Lisp code. Most packages
1232 code. Most packages support Customize as of this writing. 1233 support Customize as of this writing.
1233 1234
1234 While Customize might indeed make it easier to configure Emacs, 1235 While Customize might indeed make it easier to configure Emacs,
1235 consider taking a bit of time to learn Emacs Lisp and modifying your 1236 consider taking a bit of time to learn Emacs Lisp and modifying your
1236 @file{.emacs} directly. Simple configuration options are described 1237 @file{.emacs} directly. Simple configuration options are described
1237 rather completely in @inforef{Init File, Init File, emacs}, for users 1238 rather completely in @inforef{Init File, Init File, emacs}, for users
1239 1240
1240 Sometimes users are unsure as to where their @file{.emacs} file should 1241 Sometimes users are unsure as to where their @file{.emacs} file should
1241 be found. Visiting the file as @file{~/.emacs} from Emacs will find 1242 be found. Visiting the file as @file{~/.emacs} from Emacs will find
1242 the correct file. 1243 the correct file.
1243 1244
1244 @node Colors on a TTY, Debugging a customization file, Setting up a customization file, Common requests 1245 @node Using Customize, Colors on a TTY, Setting up a customization file, Common requests
1246 @section How do I start using Customize?
1247 @cindex Customize groups
1248 @cindex Customizing variables
1249 @cindex Customizing faces
1250
1251 The main Customize entry point is @kbd{M-x customize @key{RET}}. This
1252 command takes you to a buffer listing all the available Customize
1253 groups. From there, you can access all customizable options and faces,
1254 change their values, and save your changes to your init file.
1255 @inforef{Easy Customization, Easy Customization, emacs}.
1256
1257 If you know the name of the group in advance (e.g. ``shell''), use
1258 @kbd{M-x customize-group @key{RET}}.
1259
1260 If you wish to customize a single option, use @kbd{M-x customize-option
1261 @key{RET}}. This command prompts you for the name of the option to
1262 customize, with completion.
1263
1264 @node Colors on a TTY, Debugging a customization file, Using Customize, Common requests
1245 @section How do I get colors and syntax highlighting on a TTY? 1265 @section How do I get colors and syntax highlighting on a TTY?
1246 @cindex Colors on a TTY 1266 @cindex Colors on a TTY
1247 @cindex Syntax highlighting on a TTY 1267 @cindex Syntax highlighting on a TTY
1248 @cindex Console, colors 1268 @cindex Console, colors
1249 1269