GNU bug report logs - #1980
23.0.60; emacs switches focus to graphical frame when server-edit exits terminal frame

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Wed, 21 Jan 2009 21:20:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 1980 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1980 <at> debbugs.gnu.org
Subject: Re: 23.0.60; emacs switches focus to graphical frame when
	server-edit exits terminal frame
Date: Wed, 25 Mar 2009 21:51:43 +0100
Hi Chong,
* Chong Yidong <cyd <at> stupidchicken.com> [24. Mär. 2009]:
>> When using emacs 23 in daemon mode some graphical emacs frame gets
>> fokus if an editing session on a terminal window which was initiated
>> via "emacsclient -t ..." is finished with C-x # (server-edit).  In
>> order to continue work in the terminal window I have to manually
>> switch back to the terminal window.
> 
> Sorry for the late response.  I haven't been able to reproduce this bug
> with metacity---closing an `emacsclient -t' client keeps the xterm
> window in focus.  This problem may be a quirk of the window managers you
> tried (xfce4 and icwwm-lite); I am not sure what Emacs can do
> differently to try to mitigate this.

O.k. I'll test it with other window managers.  ATM I don't have
time to do this but I will report back when I've done it.

In the meantime I discovered that emacs does switch
windows/fokus if the graphical emacs is started via 

emacsclient -c  filename


but not (or at least only in rare occasions) when started via

emacsclient -c -n  filename
               ^^


Perhaps this is helpful?
 

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-




This bug report was last modified 14 years and 214 days ago.

Previous Next


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