From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: Re: Diff could also show the changes within lines Date: Fri, 5 Oct 2012 16:26:03 +0000 (UTC) Message-ID: References: <87txu9arc8.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349454393 28700 80.91.229.3 (5 Oct 2012 16:26:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 16:26:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 18:26:39 2012 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 1TKAjX-0002oO-9M for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 18:26:39 +0200 Original-Received: from localhost ([::1]:48991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKAjR-0005ya-F1 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 12:26:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKAjJ-0005yU-Td for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 12:26:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKAjE-0006cz-90 for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 12:26:25 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKAjE-0006cY-2E for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 12:26:20 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TKAjF-0002ei-EJ for help-gnu-emacs@gnu.org; Fri, 05 Oct 2012 18:26:21 +0200 Original-Received: from 94-21-242-229.pool.digikabel.hu ([94.21.242.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 18:26:21 +0200 Original-Received: from adatgyujto by 94-21-242-229.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 18:26:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.242.229 (Opera/9.80 (Windows NT 6.1; U; IBM EVV/3.0/EAK01AG9/LE; en) Presto/2.10.289 Version/12.02) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:87088 Archived-At: Tom gmail.com> writes: > > chandan r gmail.com> writes: > > > > Add the following to your Emacs init file: > > > > (add-hook 'diff-mode-hook > > (lambda () (diff-auto-refine-mode 1))) > > > > Wow, I'm impressed. Builtin Emacs features can still surprise me after > all these years. Thanks. > > Looks like it does not work with DVC diff, so it needs to be disabled for that: (unless (or (eq this-command 'dvc-diff) (eq this-command 'dvc-generic-refresh)) (diff-auto-refine-mode 1))