GNU bug report logs - #12623
24.2.50; debugger interprets selected window and current buffer as *Backtrace*

Previous Next

Package: emacs;

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

Date: Thu, 11 Oct 2012 16:17:02 UTC

Severity: normal

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.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 12623 in the body.
You can then email your comments to 12623 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12623; Package emacs. (Thu, 11 Oct 2012 16:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 11 Oct 2012 16:17:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.2.50;
	debugger interprets selected window and current buffer as *Backtrace*
Date: Thu, 11 Oct 2012 09:06:40 -0700
I think this problem is new (i.e., a regression).  Perhaps it is not,
but I have not encountered/noticed it before.
 
Sometimes I cannot use the debugger at all (e.g., `debug' or
`debug-on-entry'), because the code being stepped through tests
(current-buffer) or (selected-window), and instead of the correct
buffer/window being tested, the buffer/window *Backtrace* is tested.
 
E.g., I tried `debug-on-entry quit-restore-window' and then hit `q' in
NEWS.  The first thing `quit-restore-window' does is call
`window-normalize-window', which calls `selected-window', which returns
the window for *Backtrace* (e.g. #<window 40 on *Backtrace*>), making
all such debugging useless.

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-09 on DANI-PC
Bzr revision: 110489 monnier <at> iro.umontreal.ca-20121009163751-ui2zwwoaj8bqwj52
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12623; Package emacs. (Sat, 13 Oct 2012 08:17:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 12623 <at> debbugs.gnu.org
Subject: Re: bug#12623: 24.2.50;
	debugger interprets selected window and current buffer as *Backtrace*
Date: Sat, 13 Oct 2012 10:15:51 +0200
> E.g., I tried `debug-on-entry quit-restore-window' and then hit `q' in
> NEWS.  The first thing `quit-restore-window' does is call
> `window-normalize-window', which calls `selected-window', which returns
> the window for *Backtrace* (e.g. #<window 40 on *Backtrace*>), making
> all such debugging useless.

I checked in a fix for this in revision 110530.

martin





bug closed, send any further explanations to 12623 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 24 Oct 2012 03:01:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12623; Package emacs. (Fri, 09 Nov 2012 09:51:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 12623 <at> debbugs.gnu.org
Subject: Re: bug#12623: 24.2.50;
	debugger interprets selected window and current buffer as *Backtrace*
Date: Fri, 09 Nov 2012 10:50:18 +0100
> I checked in a fix for this in revision 110530.

Have you tried this with the latest binaries?

martin





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12623; Package emacs. (Sat, 10 Nov 2012 11:11:02 GMT) Full text and rfc822 format available.

Message #16 received at 12623-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 12623-done <at> debbugs.gnu.org
Subject: Re: bug#12623: 24.2.50;
	debugger interprets selected window and current buffer as *Backtrace*
Date: Sat, 10 Nov 2012 12:09:48 +0100
> I checked in a fix for this in revision 110530.

Bug closed.

Thanks, martin




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 08 Dec 2012 12:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 197 days ago.

Previous Next


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