GNU bug report logs -
#46368
Completion vs. "*" buffer names
Previous Next
Full log
Message #28 received at 46368 <at> debbugs.gnu.org (full text, mbox):
>
> $ emacs -nw -Q --eval '(progn(switch-to-buffer "xbp")(switch-to-buffer "xbq")(switch-to-buffer "m"))'
> b ;; self-insert-command
> TAB ;; minibuffer-complete
>
> What is bugging me is that in the *completions* buffer, the x is added
> to the front, properly. But in the minibuffer it is missing. Yes I
> didn't type "x", but still, emacs should put it in the minibuffer for
> me. Emacs will eventually, but it would be better sooner than later.
>
Yes, that's because "partial-completion" is a member of
"completion-styles". Try
$ emacs -nw -Q --eval '(progn(switch-to-buffer "xbp")(switch-to-buffer "ybq")(switch-to-buffer "m"))'
b
TAB
and you'll see that the two completion candidates are displayed in the
*Completions* buffer, even though they have a different prefix ("x" and
"y").
Perhaps that would be an enhancement request: when all completion
candidates start with the same prefix, add it to the input string when
minibuffer-complete is called.
This bug report was last modified 1 year and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.