GNU bug report logs - #20829
25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected

Previous Next

Package: emacs;

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

Date: Tue, 16 Jun 2015 19:42:02 UTC

Severity: normal

Found in version 25.0.50

Done: martin rudalics <rudalics <at> gmx.at>

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 20829 in the body.
You can then email your comments to 20829 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#20829; Package emacs. (Tue, 16 Jun 2015 19:42: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. (Tue, 16 Jun 2015 19:42: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: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong
 window selected
Date: Tue, 16 Jun 2015 12:40:52 -0700 (PDT)
Debugging shows me that when I use `C-x `' from another frame than the
compilation-buffer frame, `compilation-goto-locus' calls
`compilation-set-window', and that then calls `window-fringes', the
compilation-buffer window is not selected (not in some contexts anyway),
so the test for no left window fringe is done in the wrong window.

It is probably enough, to repro this (but I haven't tried), to have
`default-frame-alist' show left fringe bug have `special-display-alist'
not show left fringe, and to have the compilation buffer (e.g. `*grep*')
be special-display.

In the debugger I see that `compilation-goto-locus' calls
`display-buffer' but does not select the compilation-buffer window.
Then `compilation-set-window' is called without the compilation-buffer
window being selected.  Eventually that window is selected, but that
happens after the call to `compilation-set-window'.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Sat, 04 Jul 2015 08:48:03 GMT) Full text and rfc822 format available.

Notification sent to Drew Adams <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 04 Jul 2015 08:48:04 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 20829-done <at> debbugs.gnu.org
Subject: Re: bug#20829: 25.0.50;
 `compilation-set-window' calls `window-fringes'
 with wrong window selected
Date: Sat, 04 Jul 2015 10:47:45 +0200
> In GNU Emacs 24.3.90.1 (i686-pc-mingw32)
>   of 2014-04-12 on LEG570
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
>   `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'

Shoud be fixed for Emacs 25.  Please check as soon as you get new
binaries.

Thanks, martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20829; Package emacs. (Sat, 04 Jul 2015 15:04:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: martin rudalics <rudalics <at> gmx.at>, 20829-done <at> debbugs.gnu.org
Subject: RE: bug#20829: 25.0.50; `compilation-set-window' calls
 `window-fringes' with wrong window selected
Date: Sat, 4 Jul 2015 08:03:11 -0700 (PDT)
> Shoud be fixed for Emacs 25.  Please check as soon as you get new
> binaries.

I will take your word for this.  Thanks for working on it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20829; Package emacs. (Sun, 05 Jul 2015 10:58:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 20829-done <at> debbugs.gnu.org
Subject: Re: bug#20829: 25.0.50;
 `compilation-set-window' calls `window-fringes'
 with wrong window selected
Date: Sun, 05 Jul 2015 12:57:15 +0200
> I will take your word for this.

Well, I took your word that this is a bug ;-)

martin






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Aug 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 20 days ago.

Previous Next


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