aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-01-28 07:19:16 +0000
committerRichard M. Stallman2007-01-28 07:19:16 +0000
commiteca456adcfd4d48e9f5273835ca5d7e275ee2532 (patch)
treef0db321b3f228ebb172e3de726e166d4c19cc388
parenta284cdbbeec879ced6157cd5d62a60c0d23e77ff (diff)
downloademacs-eca456adcfd4d48e9f5273835ca5d7e275ee2532.tar.gz
emacs-eca456adcfd4d48e9f5273835ca5d7e275ee2532.zip
(File Attributes): UID and GID can be floats.
(Magic File Names): Explain why deferring all operations to the standard handler does not work.
-rw-r--r--lispref/files.texi17
1 files changed, 13 insertions, 4 deletions
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.