From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Starting emacs in ediff mode. Date: Sat, 26 Jan 2008 08:08:09 +0100 Message-ID: <87prvpvzc6.fsf@gmail.com> 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=us-ascii X-Trace: ger.gmane.org 1201331320 31120 80.91.229.12 (26 Jan 2008 07:08:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 07:08:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: DaLoverhino Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 26 08:08:59 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 1JIf9u-00062x-Mc for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 08:08:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIf9U-00053h-5J for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Jan 2008 02:08:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIf9F-00053X-9D for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 02:08:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIf9E-00053J-OW for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 02:08:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIf9E-00053G-M3 for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 02:08:16 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIf9E-0003l7-Hf for help-gnu-emacs@gnu.org; Sat, 26 Jan 2008 02:08:16 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so948618fga.30 for ; Fri, 25 Jan 2008 23:08:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=sZt5gMtY/GPnFr81QW6dIjFgbP+WA870QWqFHU+6qUM=; b=LXW0m0r0HCJ1rKW+J3me0DEvpu4BtaAXmjmCqjB5OQznrLI/8mH6Gm+W0PlhrhATjVTHw+ezvSVnoKc94S7v2ovLmtL7zQ4snZAKMXWSKsfA8G37iue9htzNAN386FlBkOJ+d66RhAWcV9+Z6HhQrKiDNawr/UEMu8hXzNz1DWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=uXH+JbzXGQjB3neDamGRbWuzWJ0QySHKt1GPw/C5CnlW5uV9nDoL8k6SfDoOSs1e1Cqst6YPAU+J+trYyJbwYSOIwoHnnOByg2GIv1Ts8fq2sRICw0l1aaTyKFFT+iAl7yVzFIcgqcAeK/61HbOjjLUNBPGNjl7045Wj/W8tc9k= Original-Received: by 10.86.25.17 with SMTP id 17mr2720032fgy.15.1201331292895; Fri, 25 Jan 2008 23:08:12 -0800 (PST) Original-Received: from laptop ( [88.141.47.215]) by mx.google.com with ESMTPS id v23sm6514462fkd.1.2008.01.25.23.08.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Jan 2008 23:08:12 -0800 (PST) In-Reply-To: (DaLoveRhino@hotmail.com's message of "Fri, 25 Jan 2008 12:58:02 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 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:50979 Archived-At: DaLoverhino writes: > On Jan 25, 11:48 am, Eli Zaretskii wrote: >> > Date: Fri, 25 Jan 2008 15:55:20 +0100 >> > From: "Lennart Borgman (gmail)" >> > CC: help-gnu-em...@gnu.org >> >> > - 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\")" >> >> As for this one: >> >> > - Emacs client is used. >> >> 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? > > You guys are too smart for me. I can't follow your arguments. :) > > But if this helps, the reason why I wanted to know how to start emacs > in ediff mode is so that I can use it with svn (revision source > control.) svn's diff program isn't very good. However, svn allows > you to fire up your own diff program to do the diffs. > > svn has a graphical version which I hear is more user friendly. > However, making a long story short, I can't effectively control what > software gets installed on my devbox. So that's why I was hoping to > use emacs for my diff program. Do you use psvn.el ? with it when you are in svn-status, you just have to hit E to ediff your file with the last commited version. If you prefix your command with C-u you can ediff with the version of the file you want. psvn.el is installed with subversion you just have to require it. Have a look in your site-emacs/subversion. -- A + Thierry Pub key: http://pgp.mit.edu