Mercurial > hg > xemacs-beta
comparison man/lispref/help.texi @ 54:05472e90ae02 r19-16-pre2
Import from CVS: tag r19-16-pre2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:57:55 +0200 |
parents | 461c7ba8286a |
children | 131b0175ea99 |
comparison
equal
deleted
inserted
replaced
53:875393c1a535 | 54:05472e90ae02 |
---|---|
75 list under the property name @code{variable-documentation}. The | 75 list under the property name @code{variable-documentation}. The |
76 function @code{documentation-property} knows how to extract it. | 76 function @code{documentation-property} knows how to extract it. |
77 @end itemize | 77 @end itemize |
78 | 78 |
79 @cindex @file{DOC} (documentation) file | 79 @cindex @file{DOC} (documentation) file |
80 @cindex @file{emacs/etc/DOC-@var{version}} | |
81 @cindex @file{etc/DOC-@var{version}} | |
82 To save space, the documentation for preloaded functions and variables | 80 To save space, the documentation for preloaded functions and variables |
83 (including primitive functions and autoloaded functions) is stored in | 81 (including primitive functions and autoloaded functions) is stored in |
84 the @dfn{internal doc file} @file{emacs/etc/DOC-@var{version}}. The | 82 the @dfn{internal doc file} @file{DOC}. The documentation for functions |
85 documentation for functions and variables loaded during the XEmacs | 83 and variables loaded during the XEmacs session from byte-compiled files |
86 session from byte-compiled files is stored in those very same | 84 is stored in those very same byte-compiled files (@pxref{Docs and |
87 byte-compiled files (@pxref{Docs and Compilation}). | 85 Compilation}). |
88 | 86 |
89 XEmacs does not keep documentation strings in memory unless necessary. | 87 XEmacs does not keep documentation strings in memory unless necessary. |
90 Instead, XEmacs maintains, for preloaded symbols, an integer offset into | 88 Instead, XEmacs maintains, for preloaded symbols, an integer offset into |
91 the internal doc file, and for symbols loaded from byte-compiled files, | 89 the internal doc file, and for symbols loaded from byte-compiled files, |
92 a list containing the filename of the byte-compiled file and an integer | 90 a list containing the filename of the byte-compiled file and an integer |
248 the runnable XEmacs is dumped. It finds the file offsets of the | 246 the runnable XEmacs is dumped. It finds the file offsets of the |
249 documentation strings stored in the file @var{filename}, and records | 247 documentation strings stored in the file @var{filename}, and records |
250 them in the in-core function definitions and variable property lists in | 248 them in the in-core function definitions and variable property lists in |
251 place of the actual strings. @xref{Building XEmacs}. | 249 place of the actual strings. @xref{Building XEmacs}. |
252 | 250 |
253 XEmacs finds the file @var{filename} in the @file{xemacs/lib-src} | 251 XEmacs finds the file @var{filename} in the @file{lib-src} directory. |
254 directory. When the dumped XEmacs is later executed, the same file is | 252 When the dumped XEmacs is later executed, the same file is found in the |
255 found in the directory @code{doc-directory}. Usually @var{filename} is | 253 directory @code{doc-directory}. The usual value for @var{filename} is |
256 @file{"DOC-@var{version}"}, but this can be changed by modifying the | 254 @file{DOC}, but this can be changed by modifying the variable |
257 variable @code{internal-doc-file-name}. | 255 @code{internal-doc-file-name}. |
258 @end defun | 256 @end defun |
259 | 257 |
260 @defvar internal-doc-file-name | 258 @defvar internal-doc-file-name |
261 This variable holds the name of the file containing documentation | 259 This variable holds the name of the file containing documentation |
262 strings of built-in symbols, usually @file{"DOC-@var{version}"}. The | 260 strings of built-in symbols, usually @file{DOC}. The full pathname of |
263 full pathname of the internal doc file is @samp{(concat doc-directory | 261 the internal doc file is @samp{(concat doc-directory internal-doc-file-name)}. |
264 internal-doc-file-name)}. | |
265 @end defvar | 262 @end defvar |
266 | 263 |
267 @defvar doc-directory | 264 @defvar doc-directory |
268 This variable holds the name of the directory which contains the | 265 This variable holds the name of the directory which contains the |
269 @dfn{internal doc file} that contains documentation strings for built-in | 266 @dfn{internal doc file} that contains documentation strings for built-in |
418 @group | 415 @group |
419 (key-description "\C-x \M-y \n \t \r \f123") | 416 (key-description "\C-x \M-y \n \t \r \f123") |
420 @result{} "C-x SPC M-y SPC LFD SPC TAB SPC RET SPC C-l 1 2 3" | 417 @result{} "C-x SPC M-y SPC LFD SPC TAB SPC RET SPC C-l 1 2 3" |
421 @end group | 418 @end group |
422 @group | 419 @group |
423 (single-key-description 'kp-next) | 420 (single-key-description 'kp_next) |
424 @result{} "kp-next" | 421 @result{} "kp_next" |
425 @end group | 422 @end group |
426 @group | 423 @group |
427 (single-key-description '(shift button1)) | 424 (single-key-description '(shift button1)) |
428 @result{} "Sh-button1" | 425 @result{} "Sh-button1" |
429 @end group | 426 @end group |