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

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

Re: question about ediff-mode in emacs.


From: Emilio Lopes
Subject: Re: question about ediff-mode in emacs.
Date: Tue, 14 Jun 2005 10:23:19 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

na frederic <f_frederic_f_52 <at> yahoo.fr> writes:

> I would like to know if it is possible with ediff mode
> to ignore some regexp, or make some default choice
> when a difference match a regexp on the 2 buffer?

See the bindings "# f" and "# h".  From the info file:

     Ediff works hard to ameliorate the effects of boredom in the
     workplace...

     Quite often differences are due to identical replacements (e.g.,
     the word `foo' is replaced with the word `bar' everywhere).  If
     the number of regions with such boring differences exceeds your
     tolerance threshold, you may be tempted to tell Ediff to skip
     these regions altogether (you will still be able to jump to them
     via the command `j').  The above commands, `#h' and `#f', may well
     save your day!

     `#h' prompts you to specify regular expressions for each variant.
     Difference regions where each variant's region matches the
     corresponding regular expression will be skipped from then on.
     (You can also tell Ediff to skip regions where at least one
     variant matches its regular expression.)

     `#f' does dual job: it focuses on regions that match the
     corresponding regular expressions.  All other regions will be
     skipped over.  *Note Selective Browsing::, for more.







reply via email to

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