help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ediff-files from command line ?


From: Kevin Rodgers
Subject: Re: ediff-files from command line ?
Date: Mon, 27 Jan 2003 15:51:39 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Bogdan Hlevca wrote:

I'd like to automate an ediff process for a post run test analysis.
Apparently with -f command line argument you can pass only functions without arguments.

ediff-files requires arguments and  it will fail when trying to do:
 $ emacs -f ediff-files "file1" "file2"

I could do: $ emacs "file1" "file2" and then issue the command M-x ediff-buffers and followed by 2 other key strokes, but this is not much of an automation.


I do this all the time:


emacs --eval '(ediff-files "file1" "file2")'


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]