GNU bug report logs - #5214
23.1; M-x C-p C-p ... showing strange history elements

Previous Next

Package: emacs;

Reported by: ams <at> gnu.org

Date: Mon, 14 Dec 2009 20:25:05 UTC

Severity: minor

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5214 in the body.
You can then email your comments to 5214 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Mon, 14 Dec 2009 20:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to ams <at> gnu.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 20:25:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 14 Dec 2009 15:19:04 -0500
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


M-x C-p C-p ... shows strange entries, even with -Q, e.g.

quail-show-keyboard-layout
makefile-makepp-mode
plain-tex-mode
shell-dynamic-complete-command
update-autoloads-from-directories
php-mode
...

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-redhat-linux-gnu)
 of 2009-12-02 on x86-7.fedora.phx.redhat.com
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--without-x' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i686-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  gpm-mouse-mode: t
  rcirc-track-minor-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B C-g ESC x ESC [ A C-e ESC [ B ESC 
[ A C-g ESC x C-h k ESC [ B C-h k ESC [ A C-h k ESC 
[ B C-h k ESC [ A C-h k C-p C-h k C-n C-p C-n C-n C-e 
ESC [ A ESC [ A ESC [ B ESC [ A ESC [ B C-a C-k C-g 
C-g ESC x e m TAB a TAB r TAB DEL b u TAB DEL TAB DEL 
ESC DEL ESC DEL ESC DEL ESC DEL r e p o TAB r TAB 
RET

Recent messages:
Wrote /home/ams/loaddefs.el
Loading /home/ams/loaddefs.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
goto-history-element: Beginning of history; no preceding item
Quit
Type C-x 1 to delete the help window.
goto-history-element: Beginning of history; no preceding item [2 times]
Quit [2 times]
Making completion list... [2 times]




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Mon, 14 Dec 2009 21:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 21:50:04 GMT) Full text and rfc822 format available.

Message #10 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 14 Dec 2009 23:39:06 +0200
> M-x C-p C-p ... shows strange entries, even with -Q, e.g.
>
> quail-show-keyboard-layout
> makefile-makepp-mode
> plain-tex-mode
> shell-dynamic-complete-command
> update-autoloads-from-directories
> php-mode
> ...

Do you mean you see unsorted commands while typing `M-x M-n M-n ...'?

-- 
Juri Linkov
http://www.jurta.org/emacs/



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Mon, 14 Dec 2009 22:00:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to ams <at> gnu.org:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 22:00:06 GMT) Full text and rfc822 format available.

Message #15 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 14 Dec 2009 16:54:18 -0500
   > M-x C-p C-p ... shows strange entries, even with -Q, e.g.
   >
   > quail-show-keyboard-layout
   > makefile-makepp-mode
   > plain-tex-mode
   > shell-dynamic-complete-command
   > update-autoloads-from-directories
   > php-mode
   > ...

   Do you mean you see unsorted commands while typing `M-x M-n M-n ...'?

I meant that I never ran those commands, so they shouldn't show up in
the minibuffer history, yet they do.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Mon, 14 Dec 2009 22:05:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 22:05:04 GMT) Full text and rfc822 format available.

Message #20 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 14 Dec 2009 23:57:12 +0200
>    > M-x C-p C-p ... shows strange entries, even with -Q, e.g.
>    >
>    > quail-show-keyboard-layout
>    > makefile-makepp-mode
>    > plain-tex-mode
>    > shell-dynamic-complete-command
>    > update-autoloads-from-directories
>    > php-mode
>    > ...
>
>    Do you mean you see unsorted commands while typing `M-x M-n M-n ...'?
>
> I meant that I never ran those commands, so they shouldn't show up in
> the minibuffer history, yet they do.

They don't show up in the minibuffer history when you type
`M-x M-p M-p ...'.

-- 
Juri Linkov
http://www.jurta.org/emacs/



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Mon, 14 Dec 2009 22:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to ams <at> gnu.org:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 14 Dec 2009 22:10:06 GMT) Full text and rfc822 format available.

Message #25 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 14 Dec 2009 17:05:14 -0500
M-x M-n M-n ... shows random entries that were never called by the
user; even when using -Q and first thing after start up when the
mini-buffer history is supposed to be empty.  That is a bug, or
undocumented feature.

Sorry if I was unclear.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Tue, 15 Dec 2009 00:05:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 15 Dec 2009 00:05:14 GMT) Full text and rfc822 format available.

Message #30 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Tue, 15 Dec 2009 01:58:12 +0200
> M-x M-n M-n ... shows random entries that were never called by the
> user; even when using -Q and first thing after start up when the
> mini-buffer history is supposed to be empty.  That is a bug, or
> undocumented feature.
>
> Sorry if I was unclear.

I agree that pushing completions to M-n of M-x is confusing.
I don't find this feature useful.

-- 
Juri Linkov
http://www.jurta.org/emacs/



Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 15 Dec 2009 05:30:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Tue, 15 Dec 2009 09:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 15 Dec 2009 09:50:04 GMT) Full text and rfc822 format available.

Message #37 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 5214 <at> debbugs.gnu.org, ams <at> gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Tue, 15 Dec 2009 10:46:08 +0100
Juri Linkov <juri <at> jurta.org> writes:

> I agree that pushing completions to M-n of M-x is confusing.
> I don't find this feature useful.

Then set minibuffer-default-add-function to nil.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5214; Package emacs. (Wed, 16 Dec 2009 01:10:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 16 Dec 2009 01:10:09 GMT) Full text and rfc822 format available.

Message #42 received at 5214 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 5214 <at> debbugs.gnu.org, ams <at> gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Wed, 16 Dec 2009 02:49:51 +0200
>> I agree that pushing completions to M-n of M-x is confusing.
>> I don't find this feature useful.
>
> Then set minibuffer-default-add-function to nil.

I think `minibuffer-default-add-completions' as the value of
`minibuffer-default-add-function' is useful for a list of buffers
for buffer-reading commands because there are ordered by recency.

For most other commands, completions are unordered, so perhaps we should
set `minibuffer-default-add-function' to `minibuffer-default-add-completions'
only for buffer-reading commands.

-- 
Juri Linkov
http://www.jurta.org/emacs/



Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5214; Package emacs. (Thu, 31 Dec 2009 00:39:01 GMT) Full text and rfc822 format available.

Message #45 received at 5214 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Thu, 31 Dec 2009 02:35:39 +0200
>    > I agree that pushing completions to M-n of M-x is confusing.
>    > I don't find this feature useful.
>
>    Then set minibuffer-default-add-function to nil.
>
> Can we set this as the default? The current behaviour is not
> intuitive, or useful.

Yes, I agree.  But I'm not sure if this should be done for the next release,
because currently there is feature freeze.  Or this counts as a bug?

-- 
Juri Linkov
http://www.jurta.org/emacs/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5214; Package emacs. (Thu, 31 Dec 2009 02:12:05 GMT) Full text and rfc822 format available.

Message #48 received at 5214 <at> debbugs.gnu.org (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: juri <at> jurta.org, 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Wed, 30 Dec 2009 10:14:47 -0500
   > I agree that pushing completions to M-n of M-x is confusing.
   > I don't find this feature useful.

   Then set minibuffer-default-add-function to nil.

Can we set this as the default? The current behaviour is not
intuitive, or useful.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5214; Package emacs. (Fri, 15 Jan 2010 09:28:03 GMT) Full text and rfc822 format available.

Message #51 received at 5214 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214 <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Fri, 15 Jan 2010 11:23:29 +0200
>    > I agree that pushing completions to M-n of M-x is confusing.
>    > I don't find this feature useful.
>
>    Then set minibuffer-default-add-function to nil.
>
> Can we set this as the default? The current behaviour is not
> intuitive, or useful.

A patch to install after 23.2 is at http://debbugs.gnu.org/5364

-- 
Juri Linkov
http://www.jurta.org/emacs/




Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Sun, 22 Aug 2010 23:34:02 GMT) Full text and rfc822 format available.

Notification sent to ams <at> gnu.org:
bug acknowledged by developer. (Sun, 22 Aug 2010 23:34:02 GMT) Full text and rfc822 format available.

Message #56 received at 5214-done <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: ams <at> gnu.org
Cc: 5214-done <at> debbugs.gnu.org
Subject: Re: bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
Date: Mon, 23 Aug 2010 00:32:37 +0100
>>    > I agree that pushing completions to M-n of M-x is confusing.
>>    > I don't find this feature useful.
>>
>>    Then set minibuffer-default-add-function to nil.
>>
>> Can we set this as the default? The current behaviour is not
>> intuitive, or useful.
>
> A patch to install after 23.2 is at http://debbugs.gnu.org/5364

Installed a patch in bug#5364.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Sep 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 103 days ago.

Previous Next


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