From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brendan Halpin Newsgroups: gmane.emacs.help Subject: Buffer menu oddity Date: Wed, 24 Apr 2013 17:01:32 +0100 Message-ID: <87vc7b534z.fsf@wivenhoe.ul.ie> Reply-To: brendan.halpin@ul.ie NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366822304 9812 80.91.229.3 (24 Apr 2013 16:51:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 16:51:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 24 18:51:47 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UV2v4-00045l-Oo for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 18:51:46 +0200 Original-Received: from localhost ([::1]:41663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV2v4-0008DF-F3 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 12:51:46 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: individual.net xNdbAdRx3xWpA+NuDdQOUgfoDOcXOPj1LBat1FbkgNqUjDz4oX Cancel-Lock: sha1:LvEmFlv+hOpC9beJc6K2dzQdTxk= sha1:ecc++LZGFcqEbRtQFMUGCCsRtpE= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:198060 X-Mailman-Approved-At: Wed, 24 Apr 2013 12:51:32 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90328 Archived-At: 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