--- Begin Message ---
Subject: |
23.1; [missing feature] `minibuffer-force-completion' does not cycle through completions |
Date: |
Mon, 21 Sep 2009 16:20:16 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
* Problem
The function `minibuffer-force-complete' does not cycle
through completions; it just steps through the completion list once.
* Step to reproduce:
1. In a shell
emacs -Q --eval "(progn \
(define-key minibuffer-local-completion-map \
(kbd \"M-<tab>\" ) \
#'minibuffer-force-complete) \
(setq unread-command-events \
(append '(?\M-x ?s ?e ?t ?- ?v) \
'(tab M-tab M-tab) \
unread-command-events )) \
) \
"
2. Hit M-<tab>
* Result
M-<tab> offers only "set-visited-file-name" as the sole completion.
* Expected result
M-<tab> should allow cycling through the choices:
set-variable
set-visited-file-name
* Proposed solution
See attached patch against today CVS version ([2009-09-21 Mon]).
* Proposed ChangeLog item if needed.
2009-09-21 <bruno.barbier.cs@orange.fr> or whoever commits it
* minibuffer.el: The function `minibuffer-force-complete' now cycles
through the completion choices (it was just stepping through the
completion list once).
minibuffer.el.patch
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#4504: 23.1; [missing feature] `minibuffer-force-completion' does not cycle through completions |
Date: |
Thu, 24 Sep 2009 11:07:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> Thank you. I've installed a simpler patch (see below) that makes use of
>> the `last' function.
> Great. It's simpler and it works.
> Thank you.
Thanks for confirming,
Stefan
--- End Message ---