unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Buffer menu oddity
@ 2013-04-24 16:01 Brendan Halpin
  2013-04-26 15:43 ` Brendan Halpin
  0 siblings, 1 reply; 2+ messages in thread
From: Brendan Halpin @ 2013-04-24 16:01 UTC (permalink / raw)
  To: help-gnu-emacs

With the latest emacs-snapshot, I have odd behaviour with buffer menu. 

If I use the command as M-x buffer-menu it behaves as normal, but if I
assign it to a key:

(global-set-key [f2] 'buffer-menu)

it no longer puts the current buffer at the top of the list when invoked
by key (but remains correct if via M-x). This is a big problem, since I
commonly do things like "F2 d s x" and now find I have deleted the wrong
buffer! 

More puzzling, if I "debug-on-entry" buffer-menu, it behaves correctly
even when invoked by key.

I'm using emacs-snapshot ("GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+
Version 3.4.2) of 2013-04-10 on dex, modified by Debian") and this has
changed fairly recently. 

Any clues?

Brendan
-- 
Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
mailto:brendan.halpin@ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology


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

* Re: Buffer menu oddity
  2013-04-24 16:01 Buffer menu oddity Brendan Halpin
@ 2013-04-26 15:43 ` Brendan Halpin
  0 siblings, 0 replies; 2+ messages in thread
From: Brendan Halpin @ 2013-04-26 15:43 UTC (permalink / raw)
  To: help-gnu-emacs

[Summary: M-x buffer-menu works correctly, but not if assigned to a key]

I've had some helpful comments offline, but for the record, a work
around: record a macro that does M-x buffer-menu RET and assign that to
a key.

Brendan
-- 
Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
mailto:brendan.halpin@ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology


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

end of thread, other threads:[~2013-04-26 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 16:01 Buffer menu oddity Brendan Halpin
2013-04-26 15:43 ` Brendan Halpin

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