From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.help Subject: Re: question about ediff-mode in emacs. Date: Tue, 14 Jun 2005 10:23:19 +0000 (UTC) Message-ID: References: <20050614092543.56013.qmail@web26103.mail.ukl.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118747862 1988 80.91.229.2 (14 Jun 2005 11:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 11:17:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 13:17:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Di9QH-0003qe-65 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2005 13:17:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Di9VG-0000Sc-AS for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2005 07:22:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Di9Om-0007el-Ln for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 07:16:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Di9Oj-0007e7-Ph for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 07:16:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Di9NX-0006UB-GE for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 07:14:48 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Di8gd-0003WO-Al for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 06:30:27 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Di8Zq-0005mg-DF for help-gnu-emacs@gnu.org; Tue, 14 Jun 2005 12:23:32 +0200 Original-Received: from vproxy01.bmwgroup.com ([192.109.190.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jun 2005 12:23:26 +0200 Original-Received: from eclig by vproxy01.bmwgroup.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jun 2005 12:23:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 192.109.190.88 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) 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:27462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27462 na frederic 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.