all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Eli Zaretskii <eliz@gnu.org>, "T.V Raman" <raman@google.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: focus-in-hook ---fires incorrectly?
Date: Wed, 28 Mar 2018 08:37:31 -0400	[thread overview]
Message-ID: <CAM-tV--_8uO6-RbDvjwFP8qyofX+G2g=Z5ZS3ZtVD5=4S8SSsw@mail.gmail.com> (raw)
In-Reply-To: <87k1tyoaz3.fsf@web.de>

On 26 March 2018 at 16:09, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Can you try a different window-manager?  It could also depend on the
>> focus policy, I think.
>
> emacs26 on Debian here, with openbox.
>
> Using the posted recipe with emacs -Q I get a message like
>
> | hello #<frame *Messages*      micha@drachen 0x1174c30>
>
> two times (!) when Emacs loses focus, and three times when I Alt-Tab
> switch back to Emacs.

I get the expected behaviour using i3 with emacs26 on Debian.
One "hello #<frame...>" message per time I bring Emacs into focus.

I do seem to get a spurious message if I unfocus Emacs, switch to
another workspace and then back again; Emacs is still unfocused, but
it prints a "hello #<frame...>" message. Possibly the workspace
switching is implemented behind the scenes by first raising every
window in the workspace?



      reply	other threads:[~2018-03-28 12:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 17:20 focus-in-hook ---fires incorrectly? T.V Raman
2018-03-26 17:44 ` Eli Zaretskii
2018-03-26 18:00   ` T.V Raman
2018-03-26 20:09   ` Michael Heerdegen
2018-03-28 12:37     ` Noam Postavsky [this message]

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='CAM-tV--_8uO6-RbDvjwFP8qyofX+G2g=Z5ZS3ZtVD5=4S8SSsw@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=raman@google.com \
    /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.