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

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

Re: How to set ignored pattern in ediff in emacs


From: Kevin Rodgers
Subject: Re: How to set ignored pattern in ediff in emacs
Date: Fri, 03 Dec 2004 16:03:25 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

gan_xiao_jun@yahoo.com wrote:
> I think emacs's ediff is a very powerful tool. :-)

Me, too.

> But I am not sure if there a method to set ignored
> pattern in ediff,
> just like
> diff -u file1 file2 -I "macro=[0-9]"
> do

,----[ C-h v ediff-diff-options RET ]
| ediff-diff-options's value is ""
|
| Documentation:
| *Options to pass to `ediff-diff-program'.
| If diff(1) is used as `ediff-diff-program', then the most useful options are
| `-w', to ignore space, and `-i', to ignore case of letters.
| At present, the option `-c' is not allowed.
|
| You can customize this variable.
|
| Defined in `ediff-diff'.
`----

> I have another small question:
> Is there a way to specify file1 and file2 in command
> line when launch emacs, else I have to input the long
> filenames in emacs.

Do you mean
        emacs long_file_name_1 long_file_name_2
or
        emacs --eval '(ediff-files "long_file_name_1" "long_file_name_2")'

--
Kevin Rodgers


reply via email to

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