help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Shiyao Ma
Subject: foucs-in-hook uses the last tty no the current.
Date: Wed, 23 Nov 2016 20:29:51 -0800 (PST)
User-agent: G2/1.0

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]