GNU bug report logs -
#5287
current-buffer returns wrong value in X11 under OSX
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5287 in the body.
You can then email your comments to 5287 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5287
; Package
emacs
.
(Fri, 01 Jan 2010 18:47:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
drew.mcdermott <at> yale.edu
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 01 Jan 2010 18:47:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, X toolkit)
of 2009-09-07 on dvm-Macbook
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--with-x=yes''
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
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
M-m C-p C-p C-a C-o <tab> ( s e t q SPC m m i * SPC
m a r k s - m e n u - i t e m s ) M-x d v l <return>
M-: M-p <return> M-: m m i i * <backspace> <backspace>
* <return> C-x b <return> <return> m m i * C-j C-x
b <return> M-v <M-down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down-mouse-1> <mouse-1> <backspace> l C-f C-f C-k
m e n u - l a b e l ) M-x d v l <return> M-: M-p M-p
<return> C-x b * <backspace> <return> <return> m m
l * C-j C-x b <return> M-v C-s l b - m a y b e - C-e
C-c C-b f m C-a C-v C-c C-b j C-g C-u 0 C-c C-b j C-u
C-c C-b j C-a C-c C-b m <return> C-v C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-p C-p C-o C-( ( p u s
h SPC ( c u r r e n t - b u f f e r ) SPC C-M-b <M-backspace>
s e t q SPC c b * SPC C-e <backspace> ) M-x d v l <return>
M-: M-p <return> C-c l C-c b * C-_ C-x b * s c r <tab>
<return> <return> c b * C-j M-: ( c u r r e n t - b
u f f e r ) <return> C-x b <return> M-: M-p <return>
<switch-frame> # # # q C-x 5 b <return> M-x v m <return>
y <switch-frame> M-x r e p o r t - e m a c s - b u
g <return>
Recent messages:
Reordering messages... done
360 messages, 0 new, 168 unread, 0 deleted
Generating summary... 360
Generating summary markers...
Generating summary... done
Decoding MIME message...
Decoding quoted-printable... done
Decoding MIME message... done
360 messages, 0 new, 168 unread, 0 deleted
Loading emacsbug...done
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5287
; Package
emacs
.
(Sun, 18 Sep 2011 10:10:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 5287 <at> debbugs.gnu.org (full text, mbox):
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/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5287
; Package
emacs
.
(Sat, 07 Jan 2012 04:34:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 5287 <at> debbugs.gnu.org (full text, mbox):
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
> 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?
More information was requested, but no response was given within a few
months, so I'm closing this bug report. If the problem still exists,
please reopen this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
bug closed, send any further explanations to
5287 <at> debbugs.gnu.org and drew.mcdermott <at> yale.edu
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 07 Jan 2012 04:34:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 04 Feb 2012 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.