unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 15469@debbugs.gnu.org, andersk@MIT.EDU
Subject: bug#15469: 24.3; emacsclient -c fails to grab focus when asking “Revert buffer from file?”
Date: Sun, 06 Dec 2020 17:32:29 +0200	[thread overview]
Message-ID: <83tusz9che.fsf@gnu.org> (raw)
In-Reply-To: <87h7oz9cpp.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun,  06 Dec 2020 16:27:30 +0100)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 06 Dec 2020 16:27:30 +0100
> Cc: 15469@debbugs.gnu.org
> 
> > 1. emacs -Q /tmp/foo
> > 2. M-x server-start
> > 3. Type some text into the buffer; do not save.
> > 4. Click outside the Emacs window to unfocus it.
> > 5. Click inside the Emacs window to focus it.
> > 6. Click outside the Emacs window to unfocus it.
> > 7. Modify /tmp/foo outside Emacs.
> > 8. emacsclient -c /tmp/foo
> > 9. An _unfocused_ Emacs window pops up to ask “Revert buffer from file
> > /tmp/foo?”.
> 
> (This bug report unfortunately got no response at the time.)
> 
> I can confirm that this bug is still present in Emacs 28, but I have not
> tried to debug it.  Anybody with a guess at what's going on?

We ask the question before we switch to the new frame, so I guess the
question appears in the previous frame?





  reply	other threads:[~2020-12-06 15:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  0:01 bug#15469: 24.3; emacsclient -c fails to grab focus when asking “Revert buffer from file?” Anders Kaseorg
2020-12-06 15:27 ` Lars Ingebrigtsen
2020-12-06 15:32   ` Eli Zaretskii [this message]
2020-12-06 15:44     ` Lars Ingebrigtsen
2020-12-06 16:00       ` Eli Zaretskii
2020-12-06 16:14         ` Lars Ingebrigtsen
2020-12-06 16:51           ` Eli Zaretskii
2020-12-07 13:31             ` Lars Ingebrigtsen
2020-12-23  5:59               ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tusz9che.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15469@debbugs.gnu.org \
    --cc=andersk@MIT.EDU \
    --cc=larsi@gnus.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).