all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Rasmus <rasmus@gmx.us>
Cc: monnier@iro.umontreal.ca, 20097@debbugs.gnu.org
Subject: bug#20097: 25.0.50; focus-out-hook doesn't work w/other emacsclient frame
Date: Wed, 15 Jan 2020 06:30:44 +0100	[thread overview]
Message-ID: <878sm9ffqz.fsf@marxist.se> (raw)
In-Reply-To: <8761a62qpm.fsf@gmx.us> (rasmus@gmx.us's message of "Thu, 12 Mar 2015 16:14:13 +0100")

Rasmus <rasmus@gmx.us> writes:

> 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...

Does anyone else have an opinion here?  If I don't hear anything else
within a couple of weeks, I'll assume Stefan Monnier is correct, and
close this as notabug.

Best regards,
Stefan Kangas





  reply	other threads:[~2020-01-15  5:30 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
2020-01-15  5:30     ` Stefan Kangas [this message]
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=878sm9ffqz.fsf@marxist.se \
    --to=stefan@marxist.se \
    --cc=20097@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rasmus@gmx.us \
    /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.