GNU bug report logs - #13007
24.3.50; emacs_backtrace.txt

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 27 Nov 2012 06:26:02 UTC

Severity: normal

Merged with 13012, 13020

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13007 <at> debbugs.gnu.org, lekktu <at> gmail.com, Dmitry Antipov <dmantipov <at> yandex.ru>
Subject: bug#13007: 24.3.50; emacs_backtrace.txt
Date: Thu, 29 Nov 2012 14:14:13 -0500
FWIW, it's normal for current-buffer to be different from (window-buffer
(selected-window)).  That happens all the time in Elisp (e.g. whenever
you use `set-buffer').

So if a piece of code needs the two to be "in sync" that code needs to
sync-them-up by hand.  Otherwise, it's better not to assume that the two
are related.

This is quite different from the issue of (selected-window) -vs-
(frame-selected-window) where this is (almost) always equal and that
equality can't be broken by Elisp code.


        Stefan




This bug report was last modified 9 years and 199 days ago.

Previous Next


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