From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Diff could also show the changes within lines Date: Fri, 21 Mar 2014 12:46:04 +0100 Message-ID: <87wqfnepvn.fsf@web.de> References: <86y51mx3x2.fsf@somewhere.org> <867g930xoz.fsf@somewhere.org> <86r45x6lo3.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395402409 23079 80.91.229.3 (21 Mar 2014 11:46:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2014 11:46:49 +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 Mar 21 12:46:58 2014 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 1WQxub-0005Mg-D0 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2014 12:46:57 +0100 Original-Received: from localhost ([::1]:52156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxub-0002Af-2G for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2014 07:46:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxuC-0001zW-C8 for help-gnu-emacs@gnu.org; Fri, 21 Mar 2014 07:46:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQxu6-0005mu-76 for help-gnu-emacs@gnu.org; Fri, 21 Mar 2014 07:46:32 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQxu6-0005mj-0B for help-gnu-emacs@gnu.org; Fri, 21 Mar 2014 07:46:26 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WQxty-0004Uo-SB for help-gnu-emacs@gnu.org; Fri, 21 Mar 2014 12:46:18 +0100 Original-Received: from ip-90-187-194-214.web.vodafone.de ([90.187.194.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 12:46:18 +0100 Original-Received: from michael_heerdegen by ip-90-187-194-214.web.vodafone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2014 12:46:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-90-187-194-214.web.vodafone.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:0zU9nE22RgoAya8wkdyj4pH14VE= 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:96673 Archived-At: Sebastien Vauban writes: > (defadvice vc-diff (after leuven-vc-diff activate) > "Push the auto-refine function after `vc-diff'." > (my--diff-make-fine-diffs-if-necessary))) > > ... which does not work. No, that's a correct rewrite with defadvice. Dunno why it doesn't work, probably diff.el is different in your older version. You can just try to find a better place to execute your function, e.g. by stepping through the code with a debugger. I could do nothing else, because I don't use this functionality and don't know the code. Can't you use ediff, btw? Michael.