From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>,
"'Francis Litterio'" <flitterio@gmail.com>
Cc: emacs-devel@gnu.org
Subject: RE: minibuffer-complete inserts extraneous '-' using CVS Emacs
Date: Fri, 5 Sep 2008 15:32:40 -0700 [thread overview]
Message-ID: <001201c90fa7$4ee07de0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <jwvfxoel0zw.fsf-monnier+emacs@gnu.org>
> > In CVS Emacs built on Linux and Windows XP, I see the
> > following behavior from minibuffer-complete:
>
> > 1. Run "emacs -Q" or "emacs -q".
> > 2. Type "C-h f file-p SPC".
> > 3. The minibuffer shows "file--p" even though no
> > function's name starts with that sequence of characters.
>
> But there's no function starting with "file-p" and all the functions
> that match "file.*-p.*" have 2 dashes before the p so they also match
> "file.*-.*-p.*", which is why a second - is added.
IOW, a feature, not a bug (aka bug by design). ;-)
I, for one, would prefer that pcomplete not be mixed in automatically with
normal completion by default (but it's not a biggee).
What is important, though, is that users be informed how to inhibit such
automatic pcompletion and return to the normal behavior.
I guess that user option `completion-styles' controls this: Customizing it to
just (basic), not (basic partial-completion), does the job at least. If so, then
please explain this in the doc string - not just "List of completion styles to
use". And please mention it in the Emacs manual.
prev parent reply other threads:[~2008-09-05 22:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 16:06 minibuffer-complete inserts extraneous '-' using CVS Emacs Francis Litterio
2008-09-05 21:47 ` Stefan Monnier
2008-09-05 22:32 ` Drew Adams [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='001201c90fa7$4ee07de0$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=flitterio@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.