From: Stefan Monnier <monnier@iro.umontreal.ca>
To: James Cloos <cloos@jhcloos.com>
Cc: ding@gnus.org
Subject: Re: bug#499: 23.0.60; minibuffer tab completion regression
Date: Sun, 29 Jun 2008 13:26:44 -0400 [thread overview]
Message-ID: <jwvod5kf928.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <m3vdzs46vy.fsf@lugabout.jhcloos.org> (James Cloos's message of "Sun, 29 Jun 2008 11:06:50 -0400")
> For ding readers:
> gnus-article-save-part's setup of appending the proposed filename to the
> current save dir as the prompt no longer allows one to easily type in a
> new path using tab completion without customizing completion-styles as
> Stefan describes below.
JimC> In short, pathname tab completion used to ignore everything at
JimC> and right of point whereas now it does not.
Stefan> Indeed, it does now: it constrains the list of possible
Stefan> completions to those that include the text after point.
Stefan> E.g. if your minibuffer is "/foo/bat.c" you can place point
Stefan> after "bat" and hit TAB to complete to a filename among
Stefan> "bat*.c".
Stefan> You can get the old behavior with one of the following:
Stefan> - C-k TAB C-y
Stefan> - customizing completion-styles: you can for example replace
Stefan> `basic' by `emacs22' to get back Emacs-22's behavior. Note
Stefan> that if you select `emacs21' you won't get this behavior
Stefan> since Emacs-21 (and all previous Emacs) did not ignore the
Stefan> text after point.
> Forwarded to the ding list in case any changes need to be made to how
> gnus prompts for output filenames....
Probably the best choice is to do like C-x C-w does:
- don't insert initially the file name in the minibuffer.
- let M-n insert the default file name in the minibuffer.
- if the user enters just a directory name, append the base file name
to it.
Stefan
prev parent reply other threads:[~2008-06-29 17:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3prq05zf6.fsf@lugabout.jhcloos.org>
[not found] ` <jwv63rsh2c6.fsf-monnier+emacsbugreports@gnu.org>
2008-06-29 15:06 ` James Cloos
2008-06-29 17:26 ` Stefan Monnier [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvod5kf928.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cloos@jhcloos.com \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).