From: Rasmus <rasmus@gmx.us>
To: monnier@iro.umontreal.ca
Cc: 20097@debbugs.gnu.org
Subject: bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame
Date: Thu, 12 Mar 2015 16:14:13 +0100 [thread overview]
Message-ID: <8761a62qpm.fsf@gmx.us> (raw)
In-Reply-To: <jwvk2ym2rfj.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Thu, 12 Mar 2015 11:01:56 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I think focus-out-hook doesn't work as expected when used with other
>> emacsclient that belong to the same daemon. Of course I could be
>> misunderstanding the meaning of "input focus" cf. the docstring.
>
> `focus-out-hook' is run when focus moved away from Emacs (at least,
> that's the intention).
>
> If you want a hook run when switching between frames, then I think
> you'll need to catch the `switch-frame' event (yes, this sucks: one is
> a hook, the other is an event), which is normally handled by
> handle-switch-frame via a binding in the global-map.
>
> So IIUC I think that what you're seeing is not a bug. But I'm not sure IUC.
Okay. That's a shame...
—Rasmus
--
You people at the NSA are becoming my new best friends!
next prev parent reply other threads:[~2015-03-12 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 11:38 bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame Rasmus
2015-03-12 15:01 ` Stefan Monnier
2015-03-12 15:14 ` Rasmus [this message]
2020-01-15 5:30 ` Stefan Kangas
2020-01-15 14:03 ` Stefan Monnier
2020-01-15 18:16 ` Stefan Kangas
2020-01-15 19:08 ` Stefan Monnier
2020-01-15 19:16 ` Stefan Kangas
2020-01-15 19:50 ` Stefan Monnier
2020-01-15 20:18 ` Stefan Kangas
2020-01-19 10:15 ` bug#20097: " Rasmus Pank Roulund
2020-08-12 16:21 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761a62qpm.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=20097@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.