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: Tue, 11 Mar 2014 19:23:08 +0200 Message-ID: <83ha74odj7.fsf@gnu.org> References: <83pplwq0s2.fsf@gnu.org> <83ob1gpw98.fsf@gnu.org> <9cc39d8d-e5ae-488b-9ba6-78dd71a2257f@googlegroups.com> <913ee34a-f81c-408f-afe4-6944a9c56430@googlegroups.com> <10020dec-82f2-41de-93d3-06d8984dcfba@googlegroups.com> <87pplv6omp.fsf@web.de> <831tyapvp6.fsf@gnu.org> <87wqg28ykt.fsf@web.de> <83y50inhn7.fsf@gnu.org> <87eh29zvtb.fsf@web.de> <83r469om72.fsf@gnu.org> <83ppltokzh.fsf@gnu.org> <87eh29puuv.fsf@web.de> <87wqg1odr9.fsf@web.de> <87txb5jr94.fsf@web.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1394558618 11349 80.91.229.3 (11 Mar 2014 17:23:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2014 17:23:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 11 18:23: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 1WNQP4-0000Tj-Et for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2014 18:23:46 +0100 Original-Received: from localhost ([::1]:56643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNQP3-0002WH-V7 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Mar 2014 13:23:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNQOm-0002W9-NM for help-gnu-emacs@gnu.org; Tue, 11 Mar 2014 13:23:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNQOf-0003gL-DO for help-gnu-emacs@gnu.org; Tue, 11 Mar 2014 13:23:28 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNQOf-0003g3-5K for help-gnu-emacs@gnu.org; Tue, 11 Mar 2014 13:23:21 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N2A0030088ZXB00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 11 Mar 2014 19:23:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2A0037O8AVTC30@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 11 Mar 2014 19:23:19 +0200 (IST) In-reply-to: <87txb5jr94.fsf@web.de> 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:96426 Archived-At: > From: Michael Heerdegen > Date: Tue, 11 Mar 2014 05:25:43 +0100 > > Michael Heerdegen writes: > > > IMHO the only problem is the vague name and documentation of the option > > `server-raise-frame' > > No, that can't be all. Because the behavior depends on the fact which > buffer is coincidentally selected by Emacs when it deletes the frame > after hitting C-x #. That can't have been the intention of the > author. Why not? Anyway, now I'm utterly confused. First, the OP's description of the problem included iconified frames -- did you do your testing like he described? Second, I'm still unsure whether we are talking about GUI or TTY frames; in the latter case, I'm sure you will agree that select-frame-set-input-focus will never give focus to any TTY frame. Last, but not least, AFAIK the effect of select-frame-set-input-focus on the GUI frame that gets focus does depend on the window manager to some extent. In any case, I suggest to report the full detailed description of the issue via "M-x report-emacs-bug", and include there suggestions to fix the doc strings, if you still think they need fixing.