aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorMiles Bader2007-01-30 22:22:43 +0000
committerMiles Bader2007-01-30 22:22:43 +0000
commitbb5b9e9dbe671b0525692acf1337efa271b33fb6 (patch)
tree810c31e2c5f1bc8e79df0cc4b121a25a9d4b8642 /lispref
parentf3df78db7218a084cbd58dc9a3cb5b9909b02d4d (diff)
parent41e49ce63ee2f9945ff99a19b00752ea887ef506 (diff)
downloademacs-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/ChangeLog16
-rw-r--r--lispref/elisp.texi8
-rw-r--r--lispref/files.texi17
-rw-r--r--lispref/tips.texi3
-rw-r--r--lispref/variables.texi1
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 @@
12007-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
82007-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
12007-01-23 Martin Rudalics <rudalics@gmx.at> 172007-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
369Variables 370Variables
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
390Scoping Rules for Variable Bindings 393Scoping 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
623Major and Minor Modes 627Major 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
1160The file's @acronym{UID} as a string or an integer. If a string 1160The file's @acronym{UID}, normally as a string. However, if it does
1161value cannot be looked up, the integer value is returned. 1161not correspond to a named user, the value is an integer or a floating
1162point number.
1162 1163
1163@item 1164@item
1164The file's @acronym{GID} likewise. 1165The file's @acronym{GID}, likewise.
1165 1166
1166@item 1167@item
1167The time of last access, as a list of two integers. 1168The 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
2554is chosen so that handlers for jobs such as uncompression are handled 2555is chosen so that handlers for jobs such as uncompression are handled
2555first, before handlers for jobs such as remote file access. 2556first, before handlers for jobs such as remote file access.
2556 2557
2557Here 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
2704functions, so that they won't be loaded except when they have real 2705functions, so that they won't be loaded except when they have real
2705work to do. 2706work to do.
2706 2707
2708 Simply deferring all operations to the usual primitives does not
2709work. For instance, if the file name handler applies to
2710@code{file-exists-p}, then it must handle @code{load} itself, because
2711the usual @code{load} code won't work properly in that case. However,
2712if the handler uses the @code{operations} property to say it doesn't
2713handle @code{file-exists-p}, then it need not handle @code{load}
2714nontrivially.
2715
2707@defvar inhibit-file-name-handlers 2716@defvar inhibit-file-name-handlers
2708This variable holds a list of handlers whose use is presently inhibited 2717This variable holds a list of handlers whose use is presently inhibited
2709for a certain operation. 2718for 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,
210not functions, and their names should start with @samp{def}. 210not functions, and their names should start with @samp{def}.
211 211
212@item 212@item
213Macros that define a function or variable should take the name to be 213A macro that defines a function or variable should have a name that
214starts with @samp{define-}. The macro should receive the name to be
214defined as the first argument. That will help various tools find the 215defined as the first argument. That will help various tools find the
215definition automatically. Avoid constructing the names in the macro 216definition automatically. Avoid constructing the names in the macro
216itself, since that would confuse these tools. 217itself, 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
1649buffer-local bindings for those variables in the buffer visiting that 1650buffer-local bindings for those variables in the buffer visiting that