unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
@ 2009-12-14 20:19 Alfred M. Szmidt
  2009-12-14 21:39 ` Juri Linkov
  0 siblings, 1 reply; 12+ messages in thread
From: Alfred M. Szmidt @ 2009-12-14 20:19 UTC (permalink / raw)
  To: bug-gnu-emacs


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@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]






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 20:19 bug#5214: 23.1; M-x C-p C-p ... showing strange history elements Alfred M. Szmidt
@ 2009-12-14 21:39 ` Juri Linkov
  2009-12-14 21:54   ` Alfred M. Szmidt
  0 siblings, 1 reply; 12+ messages in thread
From: Juri Linkov @ 2009-12-14 21:39 UTC (permalink / raw)
  To: ams; +Cc: 5214

> 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/





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 21:39 ` Juri Linkov
@ 2009-12-14 21:54   ` Alfred M. Szmidt
  2009-12-14 21:57     ` Juri Linkov
  0 siblings, 1 reply; 12+ messages in thread
From: Alfred M. Szmidt @ 2009-12-14 21:54 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 5214


   > 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.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 21:54   ` Alfred M. Szmidt
@ 2009-12-14 21:57     ` Juri Linkov
  2009-12-14 22:05       ` Alfred M. Szmidt
  0 siblings, 1 reply; 12+ messages in thread
From: Juri Linkov @ 2009-12-14 21:57 UTC (permalink / raw)
  To: ams; +Cc: 5214

>    > 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/





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 21:57     ` Juri Linkov
@ 2009-12-14 22:05       ` Alfred M. Szmidt
  2009-12-14 23:58         ` Juri Linkov
  0 siblings, 1 reply; 12+ messages in thread
From: Alfred M. Szmidt @ 2009-12-14 22:05 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 5214

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.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 22:05       ` Alfred M. Szmidt
@ 2009-12-14 23:58         ` Juri Linkov
  2009-12-15  9:46           ` Andreas Schwab
  0 siblings, 1 reply; 12+ messages in thread
From: Juri Linkov @ 2009-12-14 23:58 UTC (permalink / raw)
  To: ams; +Cc: 5214

> 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/





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-14 23:58         ` Juri Linkov
@ 2009-12-15  9:46           ` Andreas Schwab
  2009-12-16  0:49             ` Juri Linkov
  2009-12-30 15:14             ` Alfred M. Szmidt
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Schwab @ 2009-12-15  9:46 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 5214, ams

Juri Linkov <juri@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-15  9:46           ` Andreas Schwab
@ 2009-12-16  0:49             ` Juri Linkov
  2009-12-30 15:14             ` Alfred M. Szmidt
  1 sibling, 0 replies; 12+ messages in thread
From: Juri Linkov @ 2009-12-16  0:49 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 5214, ams

>> 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/





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-15  9:46           ` Andreas Schwab
  2009-12-16  0:49             ` Juri Linkov
@ 2009-12-30 15:14             ` Alfred M. Szmidt
  2009-12-31  0:35               ` Juri Linkov
  2010-01-15  9:23               ` Juri Linkov
  1 sibling, 2 replies; 12+ messages in thread
From: Alfred M. Szmidt @ 2009-12-30 15:14 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 5214

   > 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.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-30 15:14             ` Alfred M. Szmidt
@ 2009-12-31  0:35               ` Juri Linkov
  2010-01-15  9:23               ` Juri Linkov
  1 sibling, 0 replies; 12+ messages in thread
From: Juri Linkov @ 2009-12-31  0:35 UTC (permalink / raw)
  To: ams; +Cc: 5214, Andreas Schwab

>    > 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/






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2009-12-30 15:14             ` Alfred M. Szmidt
  2009-12-31  0:35               ` Juri Linkov
@ 2010-01-15  9:23               ` Juri Linkov
  2010-08-22 23:32                 ` Juri Linkov
  1 sibling, 1 reply; 12+ messages in thread
From: Juri Linkov @ 2010-01-15  9:23 UTC (permalink / raw)
  To: ams; +Cc: 5214

>    > 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/






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#5214: 23.1; M-x C-p C-p ... showing strange history elements
  2010-01-15  9:23               ` Juri Linkov
@ 2010-08-22 23:32                 ` Juri Linkov
  0 siblings, 0 replies; 12+ messages in thread
From: Juri Linkov @ 2010-08-22 23:32 UTC (permalink / raw)
  To: ams; +Cc: 5214-done

>>    > 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.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-08-22 23:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 20:19 bug#5214: 23.1; M-x C-p C-p ... showing strange history elements Alfred M. Szmidt
2009-12-14 21:39 ` Juri Linkov
2009-12-14 21:54   ` Alfred M. Szmidt
2009-12-14 21:57     ` Juri Linkov
2009-12-14 22:05       ` Alfred M. Szmidt
2009-12-14 23:58         ` Juri Linkov
2009-12-15  9:46           ` Andreas Schwab
2009-12-16  0:49             ` Juri Linkov
2009-12-30 15:14             ` Alfred M. Szmidt
2009-12-31  0:35               ` Juri Linkov
2010-01-15  9:23               ` Juri Linkov
2010-08-22 23:32                 ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).