Mercurial > emacs
comparison doc/lispref/nonascii.texi @ 103273:c32ec20d0ab5
* abbrevs.texi (Abbrev Mode): abbrev-mode is an option.
* backups.texi (Making Backups): backup-directory-alist and
make-backup-file-name-function are options.
(Auto-Saving): auto-save-list-file-prefix is an option.
* buffers.texi (Killing Buffers): buffer-offer-save is an
option.
* display.texi (Refresh Screen): no-redraw-on-reenter is an
option.
(Echo Area Customization): echo-keystrokes is an option.
(Selective Display): selective-display-ellipses is an option.
(Temporary Displays): temp-buffer-show-function is an option.
(Face Attributes): underline-minimum-offset and x-bitmap-file-path
are options.
(Font Selection): face-font-family-alternatives,
face-font-selection-order, face-font-registry-alternatives, and
scalable-fonts-allowed are options.
(Fringe Indicators): indicate-buffer-boundaries is an option.
(Fringe Cursors): overflow-newline-into-fringe is an option.
(Scroll Bars): scroll-bar-mode is an option.
* eval.texi (Eval): max-lisp-eval-depth is an option.
* files.texi (Visiting Functions): find-file-hook is an option.
(Directory Names): directory-abbrev-alist is an option.
(Unique File Names): temporary-file-directory and
small-temporary-file-directory are options.
* frames.texi (Initial Parameters): initial-frame-alist,
minibuffer-frame-alist and default-frame-alist are options.
(Cursor Parameters): blink-cursor-alist and
cursor-in-non-selected-windows ar options.
(Window System Selections): selection-coding-system is an
option.
(Display Feature Testing): display-mm-dimensions-alist is an
option.
* help.texi (Help Functions): help-char and help-event-list are
options.
* keymaps.texi (Functions for Key Lookup): meta-prefix-char is
an option.
* minibuf.texi (Minibuffer History): history-length and
history-delete-duplicates are options.
(High-Level Completion): read-buffer-function and
read-buffer-completion-ignore-case are options.
(Reading File Names): read-file-name-completion-ignore-case is
an option.
* modes.texi (Mode Line Top): mode-line-format is an option.
(Mode Line Variables): mode-line-position and mode-line-modes
are options.
* nonascii.texi (Text Representations):
enable-multibyte-characters is an option.
(Default Coding Systems): auto-coding-regexp-alist,
file-coding-system-alist, auto-coding-alist and
auto-coding-functions are options.
(Specifying Coding Systems): inhibit-eol-conversion is an
option.
* os.texi (Init File): site-run-file is an option.
(System Environment): mail-host-address is an option.
(User Identification): user-mail-address is an option.
(Terminal Output): baud-rate is an option.
* positions.texi (Word Motion): words-include-escapes is an
option.
* searching.texi (Standard Regexps): page-delimiter,
paragraph-separate, paragraph-separate and sentence-end are
options.
* text.texi (Margins): left-margin and fill-nobreak-predicate
are options.
* variables.texi (Local Variables): max-specpdl-size is an
option.
* windows.texi (Choosing Window):
split-window-preferred-function, special-display-function and
display-buffer-function are options.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Thu, 21 May 2009 15:31:31 +0000 |
parents | b269cabac20c |
children | 974d71b2e2c5 |
comparison
equal
deleted
inserted
replaced
103272:aeb321cc874b | 103273:c32ec20d0ab5 |
---|---|
93 In a buffer, the buffer-local value of the variable | 93 In a buffer, the buffer-local value of the variable |
94 @code{enable-multibyte-characters} specifies the representation used. | 94 @code{enable-multibyte-characters} specifies the representation used. |
95 The representation for a string is determined and recorded in the string | 95 The representation for a string is determined and recorded in the string |
96 when the string is constructed. | 96 when the string is constructed. |
97 | 97 |
98 @defvar enable-multibyte-characters | 98 @defopt enable-multibyte-characters |
99 This variable specifies the current buffer's text representation. | 99 This variable specifies the current buffer's text representation. |
100 If it is non-@code{nil}, the buffer contains multibyte text; otherwise, | 100 If it is non-@code{nil}, the buffer contains multibyte text; otherwise, |
101 it contains unibyte encoded text or binary non-text data. | 101 it contains unibyte encoded text or binary non-text data. |
102 | 102 |
103 You cannot set this variable directly; instead, use the function | 103 You cannot set this variable directly; instead, use the function |
104 @code{set-buffer-multibyte} to change a buffer's representation. | 104 @code{set-buffer-multibyte} to change a buffer's representation. |
105 @end defvar | 105 @end defopt |
106 | 106 |
107 @defvar default-enable-multibyte-characters | 107 @defvar default-enable-multibyte-characters |
108 This variable's value is entirely equivalent to @code{(default-value | 108 This variable's value is entirely equivalent to @code{(default-value |
109 'enable-multibyte-characters)}, and setting this variable changes that | 109 'enable-multibyte-characters)}, and setting this variable changes that |
110 default value. Setting the local binding of | 110 default value. Setting the local binding of |
1287 don't change these variables; instead, override them using | 1287 don't change these variables; instead, override them using |
1288 @code{coding-system-for-read} and @code{coding-system-for-write} | 1288 @code{coding-system-for-read} and @code{coding-system-for-write} |
1289 (@pxref{Specifying Coding Systems}). | 1289 (@pxref{Specifying Coding Systems}). |
1290 | 1290 |
1291 @cindex file contents, and default coding system | 1291 @cindex file contents, and default coding system |
1292 @defvar auto-coding-regexp-alist | 1292 @defopt auto-coding-regexp-alist |
1293 This variable is an alist of text patterns and corresponding coding | 1293 This variable is an alist of text patterns and corresponding coding |
1294 systems. Each element has the form @code{(@var{regexp} | 1294 systems. Each element has the form @code{(@var{regexp} |
1295 . @var{coding-system})}; a file whose first few kilobytes match | 1295 . @var{coding-system})}; a file whose first few kilobytes match |
1296 @var{regexp} is decoded with @var{coding-system} when its contents are | 1296 @var{regexp} is decoded with @var{coding-system} when its contents are |
1297 read into a buffer. The settings in this alist take priority over | 1297 read into a buffer. The settings in this alist take priority over |
1298 @code{coding:} tags in the files and the contents of | 1298 @code{coding:} tags in the files and the contents of |
1299 @code{file-coding-system-alist} (see below). The default value is set | 1299 @code{file-coding-system-alist} (see below). The default value is set |
1300 so that Emacs automatically recognizes mail files in Babyl format and | 1300 so that Emacs automatically recognizes mail files in Babyl format and |
1301 reads them with no code conversions. | 1301 reads them with no code conversions. |
1302 @end defvar | 1302 @end defopt |
1303 | 1303 |
1304 @cindex file name, and default coding system | 1304 @cindex file name, and default coding system |
1305 @defvar file-coding-system-alist | 1305 @defopt file-coding-system-alist |
1306 This variable is an alist that specifies the coding systems to use for | 1306 This variable is an alist that specifies the coding systems to use for |
1307 reading and writing particular files. Each element has the form | 1307 reading and writing particular files. Each element has the form |
1308 @code{(@var{pattern} . @var{coding})}, where @var{pattern} is a regular | 1308 @code{(@var{pattern} . @var{coding})}, where @var{pattern} is a regular |
1309 expression that matches certain file names. The element applies to file | 1309 expression that matches certain file names. The element applies to file |
1310 names that match @var{pattern}. | 1310 names that match @var{pattern}. |
1323 or a cons cell containing two coding systems. This value has the same | 1323 or a cons cell containing two coding systems. This value has the same |
1324 meaning as described above. | 1324 meaning as described above. |
1325 | 1325 |
1326 If @var{coding} (or what returned by the above function) is | 1326 If @var{coding} (or what returned by the above function) is |
1327 @code{undecided}, the normal code-detection is performed. | 1327 @code{undecided}, the normal code-detection is performed. |
1328 @end defvar | 1328 @end defopt |
1329 | 1329 |
1330 @defvar auto-coding-alist | 1330 @defopt auto-coding-alist |
1331 This variable is an alist that specifies the coding systems to use for | 1331 This variable is an alist that specifies the coding systems to use for |
1332 reading and writing particular files. Its form is like that of | 1332 reading and writing particular files. Its form is like that of |
1333 @code{file-coding-system-alist}, but, unlike the latter, this variable | 1333 @code{file-coding-system-alist}, but, unlike the latter, this variable |
1334 takes priority over any @code{coding:} tags in the file. | 1334 takes priority over any @code{coding:} tags in the file. |
1335 @end defvar | 1335 @end defopt |
1336 | 1336 |
1337 @cindex program name, and default coding system | 1337 @cindex program name, and default coding system |
1338 @defvar process-coding-system-alist | 1338 @defvar process-coding-system-alist |
1339 This variable is an alist specifying which coding systems to use for a | 1339 This variable is an alist specifying which coding systems to use for a |
1340 subprocess, depending on which program is running in the subprocess. It | 1340 subprocess, depending on which program is running in the subprocess. It |
1378 . @var{output-coding})}. Here @var{input-coding} applies to input from | 1378 . @var{output-coding})}. Here @var{input-coding} applies to input from |
1379 the subprocess, and @var{output-coding} applies to output to it. | 1379 the subprocess, and @var{output-coding} applies to output to it. |
1380 @end defvar | 1380 @end defvar |
1381 | 1381 |
1382 @cindex default coding system, functions to determine | 1382 @cindex default coding system, functions to determine |
1383 @defvar auto-coding-functions | 1383 @defopt auto-coding-functions |
1384 This variable holds a list of functions that try to determine a | 1384 This variable holds a list of functions that try to determine a |
1385 coding system for a file based on its undecoded contents. | 1385 coding system for a file based on its undecoded contents. |
1386 | 1386 |
1387 Each function in this list should be written to look at text in the | 1387 Each function in this list should be written to look at text in the |
1388 current buffer, but should not modify it in any way. The buffer will | 1388 current buffer, but should not modify it in any way. The buffer will |
1392 a coding system for the file, it should return that coding system. | 1392 a coding system for the file, it should return that coding system. |
1393 Otherwise, it should return @code{nil}. | 1393 Otherwise, it should return @code{nil}. |
1394 | 1394 |
1395 If a file has a @samp{coding:} tag, that takes precedence, so these | 1395 If a file has a @samp{coding:} tag, that takes precedence, so these |
1396 functions won't be called. | 1396 functions won't be called. |
1397 @end defvar | 1397 @end defopt |
1398 | 1398 |
1399 @defun find-auto-coding filename size | 1399 @defun find-auto-coding filename size |
1400 This function tries to determine a suitable coding system for | 1400 This function tries to determine a suitable coding system for |
1401 @var{filename}. It examines the buffer visiting the named file, using | 1401 @var{filename}. It examines the buffer visiting the named file, using |
1402 the variables documented above in sequence, until it finds a match for | 1402 the variables documented above in sequence, until it finds a match for |
1519 @code{call-process-region} and @code{start-process}, both | 1519 @code{call-process-region} and @code{start-process}, both |
1520 @code{coding-system-for-read} and @code{coding-system-for-write} | 1520 @code{coding-system-for-read} and @code{coding-system-for-write} |
1521 affect it. | 1521 affect it. |
1522 @end defvar | 1522 @end defvar |
1523 | 1523 |
1524 @defvar inhibit-eol-conversion | 1524 @defopt inhibit-eol-conversion |
1525 When this variable is non-@code{nil}, no end-of-line conversion is done, | 1525 When this variable is non-@code{nil}, no end-of-line conversion is done, |
1526 no matter which coding system is specified. This applies to all the | 1526 no matter which coding system is specified. This applies to all the |
1527 Emacs I/O and subprocess primitives, and to the explicit encoding and | 1527 Emacs I/O and subprocess primitives, and to the explicit encoding and |
1528 decoding functions (@pxref{Explicit Encoding}). | 1528 decoding functions (@pxref{Explicit Encoding}). |
1529 @end defvar | 1529 @end defopt |
1530 | 1530 |
1531 @cindex priority order of coding systems | 1531 @cindex priority order of coding systems |
1532 @cindex coding systems, priority | 1532 @cindex coding systems, priority |
1533 Sometimes, you need to prefer several coding systems for some | 1533 Sometimes, you need to prefer several coding systems for some |
1534 operation, rather than fix a single one. Emacs lets you specify a | 1534 operation, rather than fix a single one. Emacs lets you specify a |