From: storm@cua.dk (Kim F. Storm)
To: Eli Zaretskii <eliz@gnu.org>
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: read-file-name-predicate
Date: Thu, 08 Mar 2007 12:16:51 +0100 [thread overview]
Message-ID: <m3r6s056jg.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <ud53lngly.fsf@gnu.org> (Eli Zaretskii's message of "Wed\, 07 Mar 2007 18\:49\:45 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> I don't know if in this specific case the variable is a left-over from
> something we don't need anymore; I hope Kim will answer that.
Because read-file-name-internal need to specbind it:
count = SPECPDL_INDEX ();
specbind (intern ("completion-ignore-case"),
read_file_name_completion_ignore_case ? Qt : Qnil);
specbind (intern ("minibuffer-completing-file-name"), Qt);
specbind (intern ("read-file-name-predicate"),
(NILP (predicate) ? Qfile_exists_p : predicate));
I guess it could have been done some other way, but this seemed
the easiest way to do it at the time.
Let's not change it now.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2007-03-08 11:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 6:00 read-file-name-predicate Drew Adams
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 ` Kim F. Storm [this message]
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=m3r6s056jg.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--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.