From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: Refining ediff's idea of a difference? Date: Tue, 3 Feb 2015 15:49:27 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9892BC0E9F@DAKIYA1.pegasus.local> References: <155DEC68569B714B86C2C7075F5EDA9892BC08A0@DAKIYA1.pegasus.local> <83a90zl8q1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422978594 18651 80.91.229.3 (3 Feb 2015 15:49:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 15:49:54 +0000 (UTC) To: Eli Zaretskii , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 16:49:53 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIfjc-0006s7-IA for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 16:49:52 +0100 Original-Received: from localhost ([::1]:60193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIfjc-0000Jd-27 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 10:49:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIfjL-0000JX-H6 for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 10:49:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIfjE-0005qK-44 for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 10:49:35 -0500 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:60046 helo=livemail.shubertorg.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIfjE-0005po-0V for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 10:49:28 -0500 Original-Received: from dakiya1.pegasus.local ([172.16.208.201]) by DAKIYA1.pegasus.local ([172.16.208.201]) with mapi id 14.03.0123.003; Tue, 3 Feb 2015 10:49:28 -0500 Thread-Topic: Refining ediff's idea of a difference? Thread-Index: AdA84hsjGiShNh+wR5aa4tjLaI1rtAAbc4wAAJ4nktA= In-Reply-To: <83a90zl8q1.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102455 Archived-At: ELi, You wrote: > The relevant defcustom is ediff-diff-options. I'll play with different values and see what happens. Thanks. --=20 ,Doug Douglas Lewan Shubert Ticketing (201) 489-8600 ext 224 or ext 4335 The human brain is the most complex thing known to man, according to the hu= man brain. > -----Original Message----- > From: dougl=3Dshubertticketing.com > On Behalf Of Eli Zaretskii > Subject: Re: Refining ediff's idea of a difference? >=20 > > From: Doug Lewan > > Date: Fri, 30 Jan 2015 23:11:41 +0000 > > > > Using ediff I find that very often one difference one difference > seems inappropriately large and might obscure a small difference. > > > > In the example at hand I have the two following diffs: > > > > <<<< A > > -clrobj server_info_blk -fid server_info_begin_time -val 2015- > 01-29 15:28:47 > > >>>> B > > -clrobj server_info_blk -fid server_info_begin_time -val 2015- > 01-29 15:27:28 > > -fid server_info_reply_que -val > > -fid server_info_tran_msg_type -val > > -fid server_info_tran_id -val > > -fid server_info_seq_msg_type -val > > -fid server_info_seq_id -val > > ... > > > > The lines following diff A are these > > <<<< A > > -fid server_info_reply_que -val > > -fid server_info_tran_msg_type -val > > -fid server_info_tran_id -val > > -fid server_info_seq_msg_type -val > > -fid server_info_seq_id -val > > which look, to my eye, identical to those flagged as different in > diff B. > > > > I'd rather those lines are recognized as identical, so the diff is > minimal. Is there a conventional way to do that? >=20 > Ediff just obeys here what the Diff utility outputs. So try playing > with Diff switches, like -d, -b, -B, -w, --horizon-lines. >=20 > > I haven't found anything obvious in ediff customization. Browsing the > code didn't reveal much more than the fact that ediff seems to use diff > with no options. It clearly does more with that information. >=20 > The relevant defcustom is ediff-diff-options.