all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: read-file-name-predicate
Date: Tue, 6 Mar 2007 22:00:13 -0800	[thread overview]
Message-ID: <BDEIJAFNGDOAGCJIPKPBIEBOCDAA.drew.adams@oracle.com> (raw)

`read-file-name-predicate' is a Lisp variable. It's doc says only that it is
the current predicate used by built-in function `read-file-name-internal'.
This is the only doc about it, and it gives the impression that it is only
an internal variable for a built-in function. If that were true, then why
would it be a Lisp variable instead of a C variable?

The C code shows that `read-file-name-predicate' is in fact set to the value
of the PREDICATE arg to `read-file-name', but that is not documented
anywhere - shouldn't it be?  `read-file-name-predicate' has an external,
Lisp behavior: During completion, Lisp code can check what the predicate is
or even change the predicate. Shouldn't that be documented?

IOW, it seems like this variable is currently half way between being
internal and external. The doc suggests that it is internal, but the code
shows that you can examine it and change it from Lisp.

             reply	other threads:[~2007-03-07  6:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07  6:00 Drew Adams [this message]
2007-03-07 14:39 ` read-file-name-predicate Stefan Monnier
2007-03-07 15:11   ` read-file-name-predicate Juanma Barranquero
2007-03-07 16:31     ` read-file-name-predicate Drew Adams
2007-03-07 16:49       ` read-file-name-predicate Eli Zaretskii
2007-03-07 17:14         ` read-file-name-predicate Drew Adams
2007-03-08  4:19           ` read-file-name-predicate Eli Zaretskii
2007-03-08  3:16         ` read-file-name-predicate Richard Stallman
2007-03-08 11:16         ` read-file-name-predicate Kim F. Storm
2007-03-08  3:16       ` read-file-name-predicate Richard Stallman
2007-03-07 17:26 ` read-file-name-predicate Richard Stallman
2007-03-07 17:35   ` read-file-name-predicate Drew Adams
2007-03-08 17:40     ` read-file-name-predicate 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BDEIJAFNGDOAGCJIPKPBIEBOCDAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /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 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.