GNU bug report logs - #4504
23.1; [missing feature] `minibuffer-force-completion' does not cycle through completions

Previous Next

Package: emacs;

Reported by: Bruno Barbier <bruno.barbier.cs <at> orange.fr>

Date: Mon, 21 Sep 2009 14:50:04 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#4504: marked as done (23.1; [missing feature] `minibuffer-force-completion'
 does not cycle through completions)
Date: Thu, 24 Sep 2009 15:15:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 24 Sep 2009 11:07:24 -0400
with message-id <jwvocp0crg7.fsf-monnier+emacsbugreports <at> gnu.org>
and subject line Re: bug#4504: 23.1; [missing feature] `minibuffer-force-completion' does not cycle through completions
has caused the Emacs bug report #4504,
regarding 23.1; [missing feature] `minibuffer-force-completion' does not cycle through completions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4504: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4504
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bruno Barbier <bruno.barbier.cs <at> orange.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; [missing feature] `minibuffer-force-completion' does not
 cycle through completions
Date: Mon, 21 Sep 2009 16:20:16 +0200
[Message part 3 (text/plain, inline)]
* 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 <at> 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 (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Bruno Barbier <bruno.barbier.cs <at> orange.fr>
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
>> 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

This bug report was last modified 15 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.