From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: ediff maximum line length? Date: Thu, 10 Feb 2011 20:18:11 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297397930 5415 80.91.229.12 (11 Feb 2011 04:18:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 04:18:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 05:18:46 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PnkSz-0003j4-M5 for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 05:18:45 +0100 Original-Received: from localhost ([127.0.0.1]:53789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnkSz-0005jB-5V for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2011 23:18:45 -0500 Original-Received: from [140.186.70.92] (port=50509 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnkSm-0005da-N1 for emacs-devel@gnu.org; Thu, 10 Feb 2011 23:18:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnkSl-0003SQ-Hi for emacs-devel@gnu.org; Thu, 10 Feb 2011 23:18:32 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:35646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnkSl-0003R7-3x for emacs-devel@gnu.org; Thu, 10 Feb 2011 23:18:31 -0500 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p1B4IBAm022094 Original-Received: from gkeramidas-glaptop.linux.gr (216-239-45-4.google.com [216.239.45.4]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p1B4IBAm022094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 11 Feb 2011 06:18:21 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 62.1.205.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135869 Archived-At: ediff-mode highlights nicely all fine diffs within lines, using a different face and this has proven *very* useful in many cases, but I've now bumped on a case (and it will be often the case with some of the stuff I'm lately doing) where ediff does not display fine diffs for *very* long lines... I did try setting up `ediff-auto-refine-limit' to a larger value, e.g.: (setq-default ediff-auto-refine-limit 16000) But then the entire line is marked as 'fine diff' when I try for example to diff the following files: perl -e 'print "x" x 15000 . "\n"' > file-a.txt perl -e 'print "x" x 8000 . "yyy" . "x" x 6977 . "\n"' > file-b.txt Is the behavior of highlighting the full line as fine diff bogus when I have configured `ediff-auto-refine-limit' to 16000? If this is not a bug, is there any way to really highlight only the "yyy" characters in the middle of such a huge line?