GNU bug report logs - #15469
24.3; emacsclient -c fails to grab focus when asking “Revert buffer from file?”

Previous Next

Package: emacs;

Reported by: Anders Kaseorg <andersk <at> MIT.EDU>

Date: Fri, 27 Sep 2013 00:02:01 UTC

Severity: normal

Tags: confirmed

Found in version 24.3

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15469 <at> debbugs.gnu.org, andersk <at> 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
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 06 Dec 2020 16:27:30 +0100
> Cc: 15469 <at> 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?




This bug report was last modified 4 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.