From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs 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 Message-ID: <20090325205143.GK4615@pit.ID-43118.user.dfncis.de> References: <87fxh2959k.fsf@cyd.mit.edu> Reply-To: Gregor Zattler , 1980@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238015103 13158 80.91.229.12 (25 Mar 2009 21:05:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 21:05:03 +0000 (UTC) Cc: 1980@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 25 22:06:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmaHp-0001Ym-Ua for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Mar 2009 22:05:50 +0100 Original-Received: from localhost ([127.0.0.1]:58120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmaGT-0000ne-0t for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Mar 2009 17:03:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmaGO-0000lt-CM for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2009 17:03:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmaGJ-0000c3-TD for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2009 17:03:52 -0400 Original-Received: from [199.232.76.173] (port=41238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmaGJ-0000bZ-Je for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2009 17:03:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35615) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmaGJ-0005ET-00 for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2009 17:03:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2PL3jg4008008; Wed, 25 Mar 2009 14:03:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2PL03cX006807; Wed, 25 Mar 2009 14:00:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Gregor Zattler Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 25 Mar 2009 21:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1980-submit@emacsbugs.donarmstrong.com id=B1980.12380143465394 (code B ref 1980); Wed, 25 Mar 2009 21:00:03 +0000 Original-Received: (at 1980) by emacsbugs.donarmstrong.com; 25 Mar 2009 20:52:26 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n2PKqMT8005384 for <1980@emacsbugs.donarmstrong.com>; Wed, 25 Mar 2009 13:52:23 -0700 Original-Received: (qmail invoked by alias); 25 Mar 2009 20:52:15 -0000 Original-Received: from p54BF96F2.dip0.t-ipconnect.de (EHLO pit.id-43118.user.dfncis.de) [84.191.150.242] by mail.gmx.net (mp006) with SMTP; 25 Mar 2009 21:52:15 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX1/+piJUqvL+Dg+wliN7oX8NDEzr9DOAVbHoBTF441 7xiFGliLEfbFIe Original-Received: from grfz by pit.id-43118.user.dfncis.de with local (Exim 4.69) (envelope-from ) id 1Lma4x-0004Br-Jq; Wed, 25 Mar 2009 21:52:03 +0100 Content-Disposition: inline In-Reply-To: <87fxh2959k.fsf@cyd.mit.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n2PL3jg4008008 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 25 Mar 2009 17:03:52 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26628 Archived-At: Hi Chong, * Chong Yidong [24. M=E4r. 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. >=20 > 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 yo= u > 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=20 emacsclient -c filename but not (or at least only in rare occasions) when started via emacsclient -c -n filename ^^ Perhaps this is helpful? =20 Ciao, Gregor --=20 -... --- .-. . -.. ..--.. ...-.-