From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: trygve.flathen@gmail.com Newsgroups: gmane.emacs.help Subject: Re: closing emacsclient always focuses another emacs window Date: Mon, 10 Mar 2014 15:18:21 -0700 (PDT) Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1394490011 17726 80.91.229.3 (10 Mar 2014 22:20:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2014 22:20: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 Mon Mar 10 23:20: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 1WN8YV-0008Vx-QJ for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2014 23:20:19 +0100 Original-Received: from localhost ([::1]:51436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN8YV-00073h-58 for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Mar 2014 18:20:19 -0400 X-Received: by 10.236.4.136 with SMTP id 8mr12472093yhj.21.1394489902047; Mon, 10 Mar 2014 15:18:22 -0700 (PDT) X-Received: by 10.140.105.54 with SMTP id b51mr53217qgf.29.1394489901999; Mon, 10 Mar 2014 15:18:21 -0700 (PDT) Original-Path: usenet.stanford.edu!w5no3300069qac.0!news-out.google.com!bw18ni3075qab.1!nntp.google.com!hw13no3271411qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=79.161.243.147; posting-account=9QvVegoAAAA5wVSi6zQxrpcN48XTGolV Original-NNTP-Posting-Host: 79.161.243.147 User-Agent: G2/1.0 Injection-Date: Mon, 10 Mar 2014 22:18:22 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204141 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:96411 Archived-At: kl. 03:40:15 UTC+1 mandag 10. mars 2014 skrev Michael Heerdegen f=F8lgende: > That looks like a backtrace from the moment when you invoked > emacsclient, no? We need a backtrace from the "pathological" point of > time after you hit C-x #. So, it's better to M-x debug-on-entry just > immediately before this C-x #, so that the debugger doesn't pop up in > other situations before. Trying again: $ emacs M-x server-start $ emacsclient -c foo $ emacsclient -c bar M-x debug-on-entry RET select-frame-set-input-focus RET C-x # At that moment this Backtrace pops up in the foo window: Debugger entered--entering a function: * select-frame-set-input-focus(#) server-switch-buffer(# t) server-switch-buffer(nil t) apply(server-switch-buffer (nil t)) server-edit(nil) call-interactively(server-edit nil nil) -Trygve