From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Should read-file-name doc mention `file-name-handler-alist'?
Date: Tue, 28 Mar 2006 16:11:30 -0700 [thread overview]
Message-ID: <e0cfsc$hgk$1@sea.gmane.org> (raw)
In-Reply-To: <4429BD9B.6040703@student.lu.se>
Lennart Borgman wrote:
> It seems to use it. Or am I wrong?
Many, many functions use it, so I doubt it's worth documenting its
use everywhere. From the Magic File Names node of the Emacs Lisp
manual:
| All the Emacs primitives for file access and file name transformation
| check the given file name against `file-name-handler-alist'. If the
| file name matches REGEXP, the primitives handle that file by calling
| HANDLER.
...
| Here are the operations that a magic file name handler gets to
| handle:
|
| `add-name-to-file', `copy-file', `delete-directory', `delete-file',
| `diff-latest-backup-file', `directory-file-name', `directory-files',
| `dired-call-process', `dired-compress-file', `dired-uncache',
| `expand-file-name', `file-accessible-directory-p',
| `file-attributes', `file-directory-p', `file-executable-p',
| `file-exists-p',
| `file-local-copy', `file-modes', `file-name-all-completions',
| `file-name-as-directory', `file-name-completion', `file-name-directory',
| `file-name-nondirectory', `file-name-sans-versions',
| `file-newer-than-file-p', `file-ownership-preserved-p',
| `file-readable-p', `file-regular-p', `file-symlink-p', `file-truename',
| `file-writable-p', `find-backup-file-name', `get-file-buffer',
| `insert-directory', `insert-file-contents', `load', `make-directory',
| `make-symbolic-link', `rename-file', `set-file-modes',
| `set-visited-file-modtime', `shell-command',
| `unhandled-file-name-directory', `vc-registered',
| `verify-visited-file-modtime',
| `write-region'.
Does read-file-name actually check file-name-handler-alist directly,
or via one or more of those primitives?
--
Kevin Rodgers
next prev parent reply other threads:[~2006-03-28 23:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 22:50 Should read-file-name doc mention `file-name-handler-alist'? Lennart Borgman
2006-03-28 23:11 ` Kevin Rodgers [this message]
2006-03-29 23:02 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e0cfsc$hgk$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).