From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Starting emacs in ediff mode. Date: Sat, 26 Jan 2008 10:44:17 +0200 Message-ID: References: <7b79188f-cb09-46ae-b88c-65b611b39ae1@d4g2000prg.googlegroups.com> <4798C1BD.3030600@gmail.com> <4799F858.5070701@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1201337080 9923 80.91.229.12 (26 Jan 2008 08:44:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 08:44:40 +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 Jan 26 09:45:00 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIgen-0006Wh-9N for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 09:44:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIgeM-0003AK-Sb for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 03:44:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIge6-0003A5-KB for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 03:44:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIge3-00039t-Ug for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 03:44:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIge3-00039q-Q3 for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 03:44:11 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIge3-0008R1-MY for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 03:44:11 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-250-87.inter.net.il [80.230.250.87]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KAN09825 (AUTH halo1); Sat, 26 Jan 2008 10:43:53 +0200 (IST) In-reply-to: (lekktu@gmail.com) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50980 Archived-At: > Date: Fri, 25 Jan 2008 18:03:30 +0100 > From: "Juanma Barranquero" > Cc: help-gnu-emacs@gnu.org > > > > > emacs --eval "(ediff-files \"file_1\" \"file_2\")" > > I think Lennart is saying that if file_1 and file_2 are relative, Really? It works for me with relative file names (of course, I used "-q" as well, so if someone changes directory in their .emacs, that could be a problem). > Emacs does not find them, and if they are absolute, the backslashes in > the paths cause problems (at the very least, they must be escaped > themselves). Or use forward slashes; nothing new here. > > I don't see how is this relevant to the OP's question: if they already > > have Emacs running, they could simply invoke Ediff from within that > > Emacs session. And if Emacs is not running, what's the advantage of > > using emacsclient? > > Lennart's patched emacsclient starts Emacs automatically. That's fine, but I asked what was the _advantage_ of using emacsclient instead of invoking Emacs itself?