From: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>,
Emacs Devel <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: Still bugs in read-file-name completion on w32
Date: Tue, 25 Apr 2006 15:56:47 +0200 [thread overview]
Message-ID: <7dbe73ed0604250656y32228b4ar28c2cbf45864948f@mail.gmail.com> (raw)
In-Reply-To: <jwvk69ikfsc.fsf-monnier+emacs@gnu.org>
> > I think this is by design. Completion is there to help the user choose
> > a file, not to prevent them from choosing the wrong file. By default we
> > ignore backup files and known binary suffixes, but if the only match for
> > what the user has typed is a file that we would normally ignore, then we
> > happily complete to that, because ultimately the user knows best.
> Are you sure?
> I know this is the expected behavior of completion-ignored-extensions, but
> I didn't know this is the expected behavior of the `predicate' argument to
> read-file-name.
I agree, and the documentation string is quite clear:
...
If optional sixth arg predicate is non-nil, possible completions and
the resulting file name must satisfy (funcall predicate NAME).
...
*Must* satisfy.
/Mathias
prev parent reply other threads:[~2006-04-25 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 14:22 Still bugs in read-file-name completion on w32 Lennart Borgman
2006-04-21 11:26 ` Mathias Dahl
2006-04-21 13:33 ` Jason Rumney
2006-04-21 17:20 ` Stefan Monnier
2006-04-25 13:56 ` Mathias Dahl [this message]
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=7dbe73ed0604250656y32228b4ar28c2cbf45864948f@mail.gmail.com \
--to=mathias.dahl@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
--cc=lennart.borgman.073@student.lu.se \
/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).