unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 1980@emacsbugs.donarmstrong.com
Subject: bug#1980: 23.0.60; emacs switches focus to graphical frame when server-edit exits terminal frame
Date: Wed, 25 Mar 2009 21:51:43 +0100	[thread overview]
Message-ID: <20090325205143.GK4615@pit.ID-43118.user.dfncis.de> (raw)
In-Reply-To: <87fxh2959k.fsf@cyd.mit.edu>

Hi Chong,
* Chong Yidong <cyd@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
-- 
 -... --- .-. . -.. ..--.. ...-.-






  reply	other threads:[~2009-03-25 20:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 17:53 bug#1980: 23.0.60; emacs switches focus to graphical frame when server-edit exits terminal frame Chong Yidong
2009-03-25 20:51 ` Gregor Zattler [this message]
2010-12-04 15:56   ` Gregor Zattler
2010-12-20 11:17     ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-01-21 21:09 Gregor Zattler

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=20090325205143.GK4615@pit.ID-43118.user.dfncis.de \
    --to=telegraph@gmx.net \
    --cc=1980@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.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 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).