Êíèãè àâòîðà: Learning GNU Emacs, 3rd Edition
/ Êíèãè àâòîðà: Learning GNU Emacs, 3rd Edition
/ Êíèãè àâòîðà: Learning GNU Emacs, 3rd Edition
/ Êíèãè àâòîðà: Learning GNU Emacs, 3rd Edition
Èñêóññòâî ïðîãðàììèðîâàíèÿ äëÿ UnixThe Art of Unix Programming
/ Êíèãè àâòîðà: Learning GNU Emacs, 3rd Edition
Êíèãà: Learning GNU Emacs, 3rd Edition
Table A-4. Modes
Table A-4. Modes
Table A-4. Modes (Chapter 2, Chapter 5, Chapter 7)
Variable | Default | Description |
---|---|---|
major-mode | fundamental-mode | Default mode for new buffers, unless set by virtue of the filename; when setting this variable, remember to precede the mode name with a single quote (the value is a symbol). |
default-major-mode | fundamental-mode | The major mode for new buffers. |
auto-mode-alist | (see Chapter 10) | List of associations between filenames and major modes. |
interpreter-mode-alist | (see Chapter 9) | A list similar to auto-mode-alist, but for interpreted languages like Perl and Python. |
indent-tabs-mode | t | If non-nil, allow the use of tab characters (as well as spaces) when indenting with C-j. This can really drive other developers mad, so you should probably disable this if you are working on a team. |
dired-kept-versions | 2 | When cleaning a directory in Dired, keep this many versions of files. |
dired-garbage-files-regexp | .(?:aux|bak|dvi|log|orig|rej|toc)' | Defines what file types are marked when selecting garbage files in Dired. |
dired-listing-switches | "-al" | Options passed to the ls command for generating dired listings; should contain at least "-l". |
dired-view-command-alist | (see Chapter 10) | Defines helper applications for Dired to invoke when opening certain types of files. |
shell-file-name | varies | Filename of shell to run with functions that use one, such as list-directory, dired, and compile; taken from value of the Unix environment variable SHELL. |
load-path | List of directories to search for Lisp packages to load (see Chapter 11); often set to lisp subdirectory of directory where Emacs source code is installed on your system. | |
lpr-switches | nil | Defines command-line options to pass to lpr. |
calendar-week-start-day | 0 | Day defined as first day of the week. 0 is Sunday, 1 is Monday and so on. |
picture-tab-characters | "!-~" | Characters interpreted as tab stops in picture mode if they appear on a line of their own. |