From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: closing emacsclient always focuses another emacs window Date: Sat, 08 Mar 2014 10:53:31 -0500 Organization: A noiseless patient Spider Message-ID: References: <83pplwq0s2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394294111 11279 80.91.229.3 (8 Mar 2014 15:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 15:55:11 +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:55:20 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 1WMJao-0006TB-R6 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 16:55:18 +0100 Original-Received: from localhost ([::1]:41021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMJao-0002zu-3J for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 10:55:18 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Injection-Info: mx05.eternal-september.org; posting-host="189748f827f5005aa08ac3cba2786117"; logging-data="1320"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a0tGZk33jTMZv5i5hGFJNCEWJ0Etqq44=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:VVFxqWoyt4SAuhNbSxSfT58fmF0= sha1:EvCF0AvDZZOgTGWKVGtbGM0bnf0= Original-Xref: usenet.stanford.edu gnu.emacs.help:204040 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:96310 Archived-At: Eli Zaretskii writes: >> 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? Surprised you would take that position. Focus management is best controlled by the WM. Fvwm, for example, has a lot of focus knobs to twist. Emacs is just one of the windows on a users screen. A user is looking for uniform control of all the windows. -- Dan Espen