From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: toggling diff-auto-refine Date: Sat, 29 Dec 2007 15:03:21 +0100 Message-ID: <87prwpr42e.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198937158 26405 80.91.229.12 (29 Dec 2007 14:05:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 14:05:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 15:06:12 2007 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.50) id 1J8cK5-0002wX-EQ for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 15:05:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8cJk-0003MD-4m for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 09:05:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8cJg-0003K4-P7 for emacs-devel@gnu.org; Sat, 29 Dec 2007 09:05:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8cJe-0003Gi-TX for emacs-devel@gnu.org; Sat, 29 Dec 2007 09:05:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8cJe-0003GS-P9 for emacs-devel@gnu.org; Sat, 29 Dec 2007 09:05:30 -0500 Original-Received: from ppp-64-39.21-151.libero.it ([151.21.39.64] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J8cJe-0007rc-At for emacs-devel@gnu.org; Sat, 29 Dec 2007 09:05:30 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1J8cHZ-0005iJ-Iz for emacs-devel@gnu.org; Sat, 29 Dec 2007 15:03:21 +0100 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:85608 Archived-At: how about replacing the `(defcustom diff-auto-refine ...)' with: (define-minor-mode diff-auto-refine "Automatically highlight changes in detail as the user visits hunks." :group 'diff-mode :init-value nil :lighter " Auto-Refine" (when diff-auto-refine (condition-case-no-debug nil (diff-refine-hunk) (error nil)))) i find this useful for cruising around unwieldy diffs where there is a mix of quickly refined hunks and slowly refined hunks. thi