From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Starting emacs in ediff mode. Date: Fri, 25 Jan 2008 18:03:30 +0100 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 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201281020 20122 80.91.229.12 (25 Jan 2008 17:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2008 17:10:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Eli Zaretskii" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 25 18:10:39 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 1JIS4Z-0007WH-NE for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jan 2008 18:10:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIS49-0003QR-Bo for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jan 2008 12:10:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIRxn-0008Q7-Fa for help-gnu-emacs@gnu.org; Fri, 25 Jan 2008 12:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIRxl-0008PS-E6 for help-gnu-emacs@gnu.org; Fri, 25 Jan 2008 12:03:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIRxk-0008PK-M9 for help-gnu-emacs@gnu.org; Fri, 25 Jan 2008 12:03:32 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIRxk-0007cK-2m for help-gnu-emacs@gnu.org; Fri, 25 Jan 2008 12:03:32 -0500 Original-Received: by wr-out-0506.google.com with SMTP id 37so451264wra.12 for ; Fri, 25 Jan 2008 09:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=g4HCNR7OW2xsP0sh8xj+D0Cx8yBDjOe051ZXLl8EHKk=; b=hY+A/aoDTsF4MZndWgtwQzS9/8QKXdZTYcv0CUFveS3V75qnEnF1e10kEVV7wQabkGg7UenXpUQK8hR2Zq1EHBIQzGfg0uNsOOCf0oukT3b6y77P3GqF2ow+M5OhWJp4u0I2SQnr/ZPOjUTPCupZpOkBuEE5qC27Eu9lRw57ZdQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QPRtuIO4LgumU0KhOu1xXBDQE16l3WySoIr284aCCg1yaD6BG7Ic5F7AEEqZxoFkFKxPIzrMl0QWYR4V42jD4xzQLN5TPyGurMeT5hnEvaF9LnLoOAmK1tp9bFxFLv2gCPXvOW2XPTix0hmU1trw7gqr4o0twfT2hVZAH797Lxw= Original-Received: by 10.142.147.15 with SMTP id u15mr1370178wfd.149.1201280610178; Fri, 25 Jan 2008 09:03:30 -0800 (PST) Original-Received: by 10.142.233.19 with HTTP; Fri, 25 Jan 2008 09:03:30 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) 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:50955 Archived-At: On Jan 25, 2008 5:48 PM, Eli Zaretskii wrote: > > - File names given need not be absolute. > > - You can not give use \ in the file names. > > - Be nice, do not put env variables in the users environment > > Which of these problems are relevant to the simple invocation of Emacs > that I suggested: > > > > emacs --eval "(ediff-files \"file_1\" \"file_2\")" I think Lennart is saying that if file_1 and file_2 are relative, 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). > 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. Juanma