diff options
| author | Miles Bader | 2007-01-30 22:22:43 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-01-30 22:22:43 +0000 |
| commit | bb5b9e9dbe671b0525692acf1337efa271b33fb6 (patch) | |
| tree | 810c31e2c5f1bc8e79df0cc4b121a25a9d4b8642 /lispref | |
| parent | f3df78db7218a084cbd58dc9a3cb5b9909b02d4d (diff) | |
| parent | 41e49ce63ee2f9945ff99a19b00752ea887ef506 (diff) | |
| download | emacs-bb5b9e9dbe671b0525692acf1337efa271b33fb6.tar.gz emacs-bb5b9e9dbe671b0525692acf1337efa271b33fb6.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 615-621)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 197-199)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-166
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 16 | ||||
| -rw-r--r-- | lispref/elisp.texi | 8 | ||||
| -rw-r--r-- | lispref/files.texi | 17 | ||||
| -rw-r--r-- | lispref/tips.texi | 3 | ||||
| -rw-r--r-- | lispref/variables.texi | 1 |
5 files changed, 38 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index bb944e2879a..de524bc6500 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2007-01-29 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * elisp.texi (Top): Add "Standard Errors", "Standard Buffer-Local | ||
| 4 | Variables", and "Standard Keymaps" to the detailed menu. | ||
| 5 | |||
| 6 | * variables.texi (Future Local Variables): Add index entry. | ||
| 7 | |||
| 8 | 2007-01-28 Richard Stallman <rms@gnu.org> | ||
| 9 | |||
| 10 | * tips.texi (Coding Conventions): Clarify the tip about macros | ||
| 11 | that define a function or a variable. | ||
| 12 | |||
| 13 | * files.texi (File Attributes): UID and GID can be floats. | ||
| 14 | (Magic File Names): Explain why deferring all operations to | ||
| 15 | the standard handler does not work. | ||
| 16 | |||
| 1 | 2007-01-23 Martin Rudalics <rudalics@gmx.at> | 17 | 2007-01-23 Martin Rudalics <rudalics@gmx.at> |
| 2 | 18 | ||
| 3 | * backups.texi (Reverting): Use "buffer" instead of "file" | 19 | * backups.texi (Reverting): Use "buffer" instead of "file" |
diff --git a/lispref/elisp.texi b/lispref/elisp.texi index b3486fb5c8d..9bbe806033c 100644 --- a/lispref/elisp.texi +++ b/lispref/elisp.texi | |||
| @@ -365,6 +365,7 @@ Errors | |||
| 365 | * Processing of Errors:: What Emacs does when you report an error. | 365 | * Processing of Errors:: What Emacs does when you report an error. |
| 366 | * Handling Errors:: How you can trap errors and continue execution. | 366 | * Handling Errors:: How you can trap errors and continue execution. |
| 367 | * Error Symbols:: How errors are classified for trapping them. | 367 | * Error Symbols:: How errors are classified for trapping them. |
| 368 | * Standard Errors:: List of all error symbols. | ||
| 368 | 369 | ||
| 369 | Variables | 370 | Variables |
| 370 | 371 | ||
| @@ -386,6 +387,8 @@ Variables | |||
| 386 | * Variable Aliases:: Variables that are aliases for other variables. | 387 | * Variable Aliases:: Variables that are aliases for other variables. |
| 387 | * Variables with Restricted Values:: Non-constant variables whose value can | 388 | * Variables with Restricted Values:: Non-constant variables whose value can |
| 388 | @emph{not} be an arbitrary Lisp object. | 389 | @emph{not} be an arbitrary Lisp object. |
| 390 | * Standard Buffer-Local Variables:: | ||
| 391 | List of variables buffer-local in all buffers. | ||
| 389 | 392 | ||
| 390 | Scoping Rules for Variable Bindings | 393 | Scoping Rules for Variable Bindings |
| 391 | 394 | ||
| @@ -617,8 +620,9 @@ Keymaps | |||
| 617 | * Remapping Commands:: A keymap can translate one command to another. | 620 | * Remapping Commands:: A keymap can translate one command to another. |
| 618 | * Key Binding Commands:: Interactive interfaces for redefining keys. | 621 | * Key Binding Commands:: Interactive interfaces for redefining keys. |
| 619 | * Scanning Keymaps:: Looking through all keymaps, for printing help. | 622 | * Scanning Keymaps:: Looking through all keymaps, for printing help. |
| 620 | * Menu Keymaps:: A keymap can define a menu for X | 623 | * Menu Keymaps:: A keymap can define a menu for X |
| 621 | or for use from the terminal. | 624 | or for use from the terminal. |
| 625 | * Standard Keymaps:: List of standard keymaps. | ||
| 622 | 626 | ||
| 623 | Major and Minor Modes | 627 | Major and Minor Modes |
| 624 | 628 | ||
diff --git a/lispref/files.texi b/lispref/files.texi index 630eaca9c2a..f13888197c7 100644 --- a/lispref/files.texi +++ b/lispref/files.texi | |||
| @@ -1157,11 +1157,12 @@ links, can be created by using the @code{add-name-to-file} function | |||
| 1157 | (@pxref{Changing Files}). | 1157 | (@pxref{Changing Files}). |
| 1158 | 1158 | ||
| 1159 | @item | 1159 | @item |
| 1160 | The file's @acronym{UID} as a string or an integer. If a string | 1160 | The file's @acronym{UID}, normally as a string. However, if it does |
| 1161 | value cannot be looked up, the integer value is returned. | 1161 | not correspond to a named user, the value is an integer or a floating |
| 1162 | point number. | ||
| 1162 | 1163 | ||
| 1163 | @item | 1164 | @item |
| 1164 | The file's @acronym{GID} likewise. | 1165 | The file's @acronym{GID}, likewise. |
| 1165 | 1166 | ||
| 1166 | @item | 1167 | @item |
| 1167 | The time of last access, as a list of two integers. | 1168 | The time of last access, as a list of two integers. |
| @@ -2554,7 +2555,7 @@ whose match starts last in the file name gets precedence. This rule | |||
| 2554 | is chosen so that handlers for jobs such as uncompression are handled | 2555 | is chosen so that handlers for jobs such as uncompression are handled |
| 2555 | first, before handlers for jobs such as remote file access. | 2556 | first, before handlers for jobs such as remote file access. |
| 2556 | 2557 | ||
| 2557 | Here are the operations that a magic file name handler gets to handle: | 2558 | Here are the operations that a magic file name handler gets to handle: |
| 2558 | 2559 | ||
| 2559 | @ifnottex | 2560 | @ifnottex |
| 2560 | @noindent | 2561 | @noindent |
| @@ -2704,6 +2705,14 @@ avoids inefficiency, but its main purpose is for autoloaded handler | |||
| 2704 | functions, so that they won't be loaded except when they have real | 2705 | functions, so that they won't be loaded except when they have real |
| 2705 | work to do. | 2706 | work to do. |
| 2706 | 2707 | ||
| 2708 | Simply deferring all operations to the usual primitives does not | ||
| 2709 | work. For instance, if the file name handler applies to | ||
| 2710 | @code{file-exists-p}, then it must handle @code{load} itself, because | ||
| 2711 | the usual @code{load} code won't work properly in that case. However, | ||
| 2712 | if the handler uses the @code{operations} property to say it doesn't | ||
| 2713 | handle @code{file-exists-p}, then it need not handle @code{load} | ||
| 2714 | nontrivially. | ||
| 2715 | |||
| 2707 | @defvar inhibit-file-name-handlers | 2716 | @defvar inhibit-file-name-handlers |
| 2708 | This variable holds a list of handlers whose use is presently inhibited | 2717 | This variable holds a list of handlers whose use is presently inhibited |
| 2709 | for a certain operation. | 2718 | for a certain operation. |
diff --git a/lispref/tips.texi b/lispref/tips.texi index 331f0799e4b..5f4479a5fd3 100644 --- a/lispref/tips.texi +++ b/lispref/tips.texi | |||
| @@ -210,7 +210,8 @@ Constructs that define a function or variable should be macros, | |||
| 210 | not functions, and their names should start with @samp{def}. | 210 | not functions, and their names should start with @samp{def}. |
| 211 | 211 | ||
| 212 | @item | 212 | @item |
| 213 | Macros that define a function or variable should take the name to be | 213 | A macro that defines a function or variable should have a name that |
| 214 | starts with @samp{define-}. The macro should receive the name to be | ||
| 214 | defined as the first argument. That will help various tools find the | 215 | defined as the first argument. That will help various tools find the |
| 215 | definition automatically. Avoid constructing the names in the macro | 216 | definition automatically. Avoid constructing the names in the macro |
| 216 | itself, since that would confuse these tools. | 217 | itself, since that would confuse these tools. |
diff --git a/lispref/variables.texi b/lispref/variables.texi index 7a2b2013b23..8d3e0bb5c25 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1644,6 +1644,7 @@ local bindings, we will provide it in a subsequent Emacs version. | |||
| 1644 | 1644 | ||
| 1645 | @node File Local Variables | 1645 | @node File Local Variables |
| 1646 | @section File Local Variables | 1646 | @section File Local Variables |
| 1647 | @cindex file local variables | ||
| 1647 | 1648 | ||
| 1648 | A file can specify local variable values; Emacs uses these to create | 1649 | A file can specify local variable values; Emacs uses these to create |
| 1649 | buffer-local bindings for those variables in the buffer visiting that | 1650 | buffer-local bindings for those variables in the buffer visiting that |