From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Reuse frame with emacsclient and/or use shell aliases when finding files Date: Sat, 31 May 2014 14:39:02 +0100 Message-ID: <87a99yqd8p.fsf@robertthorpeconsulting.com> References: <8738fqrx9f.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401543583 2622 80.91.229.3 (31 May 2014 13:39:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2014 13:39:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 31 15:39:36 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 1WqjVX-0005wM-4C for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2014 15:39:35 +0200 Original-Received: from localhost ([::1]:59836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqjVW-0001Qg-Hd for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2014 09:39:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqjVB-0001Ov-3i for help-gnu-emacs@gnu.org; Sat, 31 May 2014 09:39:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqjV2-0002Fs-T1 for help-gnu-emacs@gnu.org; Sat, 31 May 2014 09:39:13 -0400 Original-Received: from outbound-smtp06.blacknight.com ([81.17.249.39]:55765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqjV2-0002Fj-Mh for help-gnu-emacs@gnu.org; Sat, 31 May 2014 09:39:04 -0400 Original-Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp06.blacknight.com (Postfix) with ESMTP id D8A4999024 for ; Sat, 31 May 2014 13:36:43 +0000 (UTC) Original-Received: (qmail 1075 invoked from network); 31 May 2014 13:39:03 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.78.94.25]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 31 May 2014 13:39:02 -0000 In-Reply-To: <8738fqrx9f.fsf@gmail.com> (message from Thorsten Jolitz on Sat, 31 May 2014 13:41:16 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.39 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:97982 Archived-At: Thorsten Jolitz writes: > Jacob Gerlach writes: > >> What I think that I want to do is figure out how to reuse an existing >> GUI frame if it exists. > > A bit OT, but something I always wanted to find out: > > Say I have 5 emacsclients connected to the same server, some started by > me on the command line, others by external programs, and I want those > external programs to reuse the specific emacsclient instance they > started for further code evaluation, showing other documents etc - how > do I do that? I don't think you can do that without modifying the Emacs server code directly. That might not be so hard though, you could use the -e option to emacsclient to send info to the bits within Emacs that you change. BR, Robert Thorpe