From: Shiyao Ma <i@introo.me>
To: help-gnu-emacs@gnu.org
Subject: foucs-in-hook uses the last tty no the current.
Date: Wed, 23 Nov 2016 20:29:51 -0800 (PST) [thread overview]
Message-ID: <b2f00a02-626f-480e-bde0-cd7f43fb7571@googlegroups.com> (raw)
Hi,
In emacs25, I found 'focus-in-hook uses the last focus-ed tty, not the to be focus-ed tty.
For example,
(add-hook 'focus-in-hook (lambda () (princ (terminal-name))))
It will print the last focus-ed tty.
This is semantically wrong and makes this hook not useful at all, (we already have 'foucs-out-hook).
Can anyone reproduce the above defect behavior? Or am I get something wrong?
Regards.
next reply other threads:[~2016-11-24 4:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-24 4:29 Shiyao Ma [this message]
2016-11-24 19:35 ` foucs-in-hook uses the last tty no the current Eli Zaretskii
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=b2f00a02-626f-480e-bde0-cd7f43fb7571@googlegroups.com \
--to=i@introo.me \
--cc=help-gnu-emacs@gnu.org \
/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.
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).