Shiyao Ma
unread,Nov 23, 2016, 11:29:53 PM11/23/16You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.