GNU bug report logs - #5287
current-buffer returns wrong value in X11 under OSX

Previous Next

Package: emacs;

Reported by: drew.mcdermott <at> yale.edu

Date: Fri, 1 Jan 2010 18:47:01 UTC

Severity: normal

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: drew.mcdermott <at> yale.edu
Cc: 5287 <at> debbugs.gnu.org
Subject: Re: current-buffer returns wrong value in X11 under OSX
Date: Sun, 18 Sep 2011 12:00:37 +0200
Drew McDermott <drew.mcdermott <at> yale.edu> writes:

> If more than one emacs frame is open in X11 under OS X (version 10.5),
> then (current-buffer) seems to return the most recently created
> visible buffer, not the one that currently has X focus, which is what
> the user expects.  This causes the menu-bar hooks to be unable to
> recalculate menu names based on which buffer is current.
>
> I never noticed this problem in emacs 21, so I conjecture that
> current-buffer worked correctly before version 22, but that's merely a
> conjecture.

Is this still a problem in a current Emacs version?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 139 days ago.

Previous Next


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