Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

foucs-in-hook uses the last tty no the current.

7 views
Skip to first unread message

Shiyao Ma

unread,
Nov 23, 2016, 11:29:53 PM11/23/16
to
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.
0 new messages