all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Should read-file-name doc mention `file-name-handler-alist'?
@ 2006-03-28 22:50 Lennart Borgman
  2006-03-28 23:11 ` Kevin Rodgers
  2006-03-29 23:02 ` Richard Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-03-28 22:50 UTC (permalink / raw)


It seems to use it. Or am I wrong?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Should read-file-name doc mention `file-name-handler-alist'?
  2006-03-28 22:50 Should read-file-name doc mention `file-name-handler-alist'? Lennart Borgman
@ 2006-03-28 23:11 ` Kevin Rodgers
  2006-03-29 23:02 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2006-03-28 23:11 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Should read-file-name doc mention `file-name-handler-alist'?
  2006-03-28 22:50 Should read-file-name doc mention `file-name-handler-alist'? Lennart Borgman
  2006-03-28 23:11 ` Kevin Rodgers
@ 2006-03-29 23:02 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2006-03-29 23:02 UTC (permalink / raw)
  Cc: emacs-devel

We don't talk about file name handlers in the doc strings of all the
individual primitives that use them.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-29 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 22:50 Should read-file-name doc mention `file-name-handler-alist'? Lennart Borgman
2006-03-28 23:11 ` Kevin Rodgers
2006-03-29 23:02 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.