GNU bug report logs -
#41984
28.0.50; term.el's select-window call interacts badly with modeline
Previous Next
Reported by: Herman, Géza <geza.herman <at> gmail.com>
Date: Sun, 21 Jun 2020 15:44:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 41984 <at> debbugs.gnu.org (full text, mbox):
What is suspicious to me: term-emulate-terminal uses
save-selected-window. And save-selected-window uses "(select-window (car
state) 'norecord)", when it restores the state. Note the 'norecord
parameter. So it is very logical to me that the "(select-window win)"
call in term-emulate-terminal should also have 'norecord.
Also, here's the help for select-window:
"Note that applications and internal routines often select a window
temporarily for
various purposes; mostly, to simplify coding. As a rule, such
selections should be not recorded and therefore will not pollute
buffer-list-update-hook. Selections that "really count" are those
causing a visible change in the next redisplay of WINDOW's frame and
should be always recorded."
So this issue definitely seems a bug in term.el to me.
This bug report was last modified 3 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.