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: closing emacsclient always focuses another emacs window Date: Thu, 6 Mar 2014 11:22:39 -0800 (PST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1394134631 11991 80.91.229.3 (6 Mar 2014 19:37:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2014 19:37: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 Thu Mar 06 20:37:21 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 1WLe6a-0006ej-SQ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2014 20:37:20 +0100 Original-Received: from localhost ([::1]:59857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLe6a-0002AA-Ec for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2014 14:37:20 -0500 X-Received: by 10.182.16.199 with SMTP id i7mr4828811obd.42.1394133759885; Thu, 06 Mar 2014 11:22:39 -0800 (PST) X-Received: by 10.140.91.72 with SMTP id y66mr65819qgd.23.1394133759809; Thu, 06 Mar 2014 11:22:39 -0800 (PST) Original-Path: usenet.stanford.edu!l13no3321580iga.0!news-out.google.com!bw18ni3075qab.1!nntp.google.com!hw13no1892245qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help 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: Thu, 06 Mar 2014 19:22:39 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204006 X-Mailman-Approved-At: Thu, 06 Mar 2014 14:37:02 -0500 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:96276 Archived-At: I edit files from my terminal with an alias doing emacsclient -c file & When I later close the window with C-#, focus will always be given to another emacs window, even across my virtual desktops. How can I make focus return to the terminal (or whatever had focus just before) when I close the emacsclient window? Searching for this problem is hard since it is vastly outnumbered by problems regarding focus on opening the client instead of closing. I found https://bugs.kde.org/show_bug.cgi?id=187718, but that discussion focuses (no pun intended) on kde. -Trygve