From: Herman@debbugs.gnu.org, Géza <geza.herman@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 41984@debbugs.gnu.org
Subject: bug#41984: 28.0.50; term.el's select-window call interacts badly with modeline
Date: Sun, 21 Jun 2020 21:03:51 +0200 [thread overview]
Message-ID: <859200e3-3eaa-0d9e-f987-31bcab16ff16@gmail.com> (raw)
In-Reply-To: <467f415a-a7ef-e27b-26c1-d70d7fd3c128@gmail.com>
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.
next prev parent reply other threads:[~2020-06-21 19:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-21 15:43 bug#41984: 28.0.50; term.el's select-window call interacts badly with modeline Herman, Géza
2020-06-21 16:02 ` Eli Zaretskii
2020-06-21 16:18 ` Herman, Géza
2020-06-21 16:30 ` Eli Zaretskii
2020-06-21 18:18 ` Herman, Géza
2020-06-21 19:03 ` Herman, Géza [this message]
2021-09-17 16:38 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=859200e3-3eaa-0d9e-f987-31bcab16ff16@gmail.com \
--to=herman@debbugs.gnu.org \
--cc=41984@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=geza.herman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).