From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.help Subject: Re: Calling emacs functions outside emacs Date: 01 Dec 2003 09:39:31 +0100 Organization: Lucent Technologies Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1070269331 23924 80.91.224.253 (1 Dec 2003 09:02:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 09:02:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 10:02:07 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQjwV-0003ia-00 for ; Mon, 01 Dec 2003 10:02:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQksH-0001tq-NF for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2003 05:01:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!ash.uu.net!netnews.proxy.lucent.com!news Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: sfsw51.de.lucent.com X-Emacs-Acronym: Exceptionally Mediocre Autocratic Control System User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:118834 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:14776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14776 >>>>> "Francis" == Francis Brosnan Blázquez writes: Francis> Francis> I'm trying to launch an ediff-session inside in an already opened Francis> emacs from my tool, but I don't know how. Francis> Francis> So how can I connect to an already started emacs and launch an Francis> ediff session from a program that doesn't run inside emacs ? here's how I call ediff in a Korn shell script: gnuclient -batch -eval "(ediff-files \"$file1\" \"$file2\")" though I'm not sure if this works with the standard emacsclient instead of gnuclient. Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | ------------------------------------------ --- The difference between a fool and a wise man is not the things they know, it's the questions they ask.