Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#12623: 24.2.50; debugger interprets selected window and current buffer as *Backtrace*

5 views
Skip to first unread message

Drew Adams

unread,
Oct 11, 2012, 12:06:40 PM10/11/12
to 12...@debbugs.gnu.org
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 mon...@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'





martin rudalics

unread,
Oct 13, 2012, 4:15:51 AM10/13/12
to Drew Adams, 12...@debbugs.gnu.org
> 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




martin rudalics

unread,
Nov 9, 2012, 4:50:18 AM11/9/12
to Drew Adams, 12...@debbugs.gnu.org
> I checked in a fix for this in revision 110530.

Have you tried this with the latest binaries?

martin




martin rudalics

unread,
Nov 10, 2012, 6:09:48 AM11/10/12
to Drew Adams, 12623...@debbugs.gnu.org
> I checked in a fix for this in revision 110530.

Bug closed.

Thanks, martin



0 new messages