From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Reuse frame with emacsclient and/or use shell aliases when finding files Date: Sat, 31 May 2014 17:54:21 +0200 Message-ID: <87ppiuq6z6.fsf@gmail.com> References: <8738fqrx9f.fsf@gmail.com> <87a99yqd8p.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401551752 24914 80.91.229.3 (31 May 2014 15:55:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2014 15:55:52 +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 May 31 17:55:45 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 1WqldH-0003Jz-CI for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2014 17:55:43 +0200 Original-Received: from localhost ([::1]:60277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqldH-0003rx-1m for geh-help-gnu-emacs@m.gmane.org; Sat, 31 May 2014 11:55:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqlcp-0003rd-BC for help-gnu-emacs@gnu.org; Sat, 31 May 2014 11:55:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wqlcf-0006Ho-RA for help-gnu-emacs@gnu.org; Sat, 31 May 2014 11:55:15 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wqlcf-0006FF-LX for help-gnu-emacs@gnu.org; Sat, 31 May 2014 11:55:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wqlcd-0002kd-Us for help-gnu-emacs@gnu.org; Sat, 31 May 2014 17:55:03 +0200 Original-Received: from e178191123.adsl.alicedsl.de ([85.178.191.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 May 2014 17:55:03 +0200 Original-Received: from tjolitz by e178191123.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 May 2014 17:55:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178191123.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:qqEoKQnAxuBt15jfxLxiVMfk8mU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:97986 Archived-At: Robert Thorpe writes: > 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. I thought maybe by addressing the instance with its PID, but could not figure out how. Anyway, thanks for the answer. -- cheers, Thorsten