all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected
@ 2015-06-16 19:40 Drew Adams
  2015-07-04  8:47 ` martin rudalics
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2015-06-16 19:40 UTC (permalink / raw
  To: 20829

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@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected
  2015-06-16 19:40 bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected Drew Adams
@ 2015-07-04  8:47 ` martin rudalics
  2015-07-04 15:03   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: martin rudalics @ 2015-07-04  8:47 UTC (permalink / raw
  To: Drew Adams, 20829-done

 > 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected
  2015-07-04  8:47 ` martin rudalics
@ 2015-07-04 15:03   ` Drew Adams
  2015-07-05 10:57     ` martin rudalics
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2015-07-04 15:03 UTC (permalink / raw
  To: martin rudalics, 20829-done

> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected
  2015-07-04 15:03   ` Drew Adams
@ 2015-07-05 10:57     ` martin rudalics
  0 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2015-07-05 10:57 UTC (permalink / raw
  To: Drew Adams, 20829-done

> I will take your word for this.

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

martin







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-05 10:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 19:40 bug#20829: 25.0.50; `compilation-set-window' calls `window-fringes' with wrong window selected Drew Adams
2015-07-04  8:47 ` martin rudalics
2015-07-04 15:03   ` Drew Adams
2015-07-05 10:57     ` martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.