From: "Drew Adams" <drew.adams@oracle.com>
To: "Development of Aquamacs Emacs" <aquamacs-devel@aquamacs.org>,
"emacs- devel" <emacs-devel@gnu.org>
Subject: RE: C-x C-f, Tab (in)completion and visiting the wrong, new files
Date: Sun, 12 Aug 2007 11:22:23 -0700 [thread overview]
Message-ID: <BNELLINCGFJLDJIKDGACMEGHCBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <F6E4362E-341F-47F5-8191-94C09A6A3C0F@gmail.com>
> I've got several files in my directory:
> foo.tex foo.aux foo.pdf foo.1.tex bar.txt
>
> I do: C-x C-f fo <TAB> <RET>
>
> What happens then is that only "foo." is in the minibuffer, and a
> buffer visiting the non-existant file of that name is visited.
I disagree with your proposal, David. Being able to use lax completion, for
file names and for other things, is very useful. I would not want to see
that behavior changed.
However, what I think should happen in the case you mention, and what
happens by default in Icicles, is that TAB immediately displays
*Completions*, which lets you know that completion is incomplete and lets
you see the matching candidate names of the existing files.
In Icicles, an option, `icicle-TAB-shows-candidates-flag', controls this.
Non-nil (the default value) means that TAB always shows the matching
candidates; nil means follow the standard Emacs behavior.
But in neither case (nil or non-nil) is lax completion foregone and strict
completion imposed. I would not want C-x C-f to assume that you want to
visit an existing file.
next prev parent reply other threads:[~2007-08-12 18:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 6:17 C-x C-f, Tab (in)completion and visiting the wrong, new files David Reitter
2007-08-12 10:40 ` Johan Bockgård
2007-08-12 17:27 ` David Reitter
2007-08-12 19:46 ` Stefan Monnier
2007-08-12 20:12 ` Drew Adams
2007-08-12 18:22 ` Drew Adams [this message]
2007-08-12 18:52 ` David Reitter
2007-08-12 20:11 ` Drew Adams
2007-08-12 19:35 ` Stefan Monnier
2007-08-12 20:12 ` Drew Adams
2007-08-12 20:39 ` David Reitter
2007-08-12 21:48 ` Drew Adams
2007-08-13 17:10 ` Davis Herring
2007-08-13 17:42 ` Drew Adams
2007-08-13 17:52 ` David Reitter
2007-08-13 18:14 ` Drew Adams
2007-08-13 18:15 ` Stefan Monnier
2007-08-13 18:46 ` David Reitter
2007-08-13 19:58 ` Stefan Monnier
2007-08-13 20:15 ` Drew Adams
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=BNELLINCGFJLDJIKDGACMEGHCBAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=aquamacs-devel@aquamacs.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.