From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: closing emacsclient always focuses another emacs window Date: Sat, 08 Mar 2014 17:04:19 +0200 Message-ID: <83ob1gpw98.fsf@gnu.org> References: <83pplwq0s2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1394291079 12944 80.91.229.3 (8 Mar 2014 15:04:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 15:04:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 16:04:47 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WMIns-00036r-Qq for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 16:04:44 +0100 Original-Received: from localhost ([::1]:40895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMIns-0007wZ-DB for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 10:04:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMInc-0007v3-T6 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2014 10:04:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMInW-00012f-Rp for help-gnu-emacs@gnu.org; Sat, 08 Mar 2014 10:04:28 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMInW-00012a-KF for help-gnu-emacs@gnu.org; Sat, 08 Mar 2014 10:04:22 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N2400800HL8JW00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:04:21 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2400863HV8B160@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:04:21 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96309 Archived-At: > Date: Sat, 8 Mar 2014 21:30:41 +0700 > From: Yuri Khan > Cc: "help-gnu-emacs@gnu.org" > > On Sat, Mar 8, 2014 at 8:26 PM, Eli Zaretskii wrote: > > > Can you please clarify what focus change you'd like to avoid, exactly? > > I couldn't understand that from your original message. When a frame > > created by emacsclient is deleted, that frame no longer exists, so > > it's not clear to me how could Emacs _not_ switch the focus to some > > other frame. > > Emacs could leave it to the window manager to decide which other > window to focus. Which it in fact does on my machine (Xubuntu Saucy; > GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of > 2013-07-27 on roseapple, modified by Debian; i3 window manager). How would that help? And what is the problem in the first place, anyway? Why does it matter who or what decides which other frame to give focus to?