From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Highlighting word diffs Date: Sat, 18 Apr 2015 09:51:26 +0200 Message-ID: <20150418075126.GW14328@chitra.no-ip.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1429343511 20573 80.91.229.3 (18 Apr 2015 07:51:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 07:51:51 +0000 (UTC) To: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 18 09:51:46 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 1YjNXW-0004xg-6T for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 09:51:46 +0200 Original-Received: from localhost ([::1]:44830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjNXV-0003Za-1E for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Apr 2015 03:51:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjNXL-0003ZV-Qt for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 03:51:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjNXH-0006zw-Qp for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 03:51:35 -0400 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:34918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjNXH-0006zp-JY for help-gnu-emacs@gnu.org; Sat, 18 Apr 2015 03:51:31 -0400 Original-Received: by wgyo15 with SMTP id o15so133244151wgy.2 for ; Sat, 18 Apr 2015 00:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=iL3kYQGQIfTcpWe3mJAzR6bn9N+ZuouHq4BJdOkpcIg=; b=XNJGKtTVTeTVhMe9SwgmPUXierB7C/Hg25RP54OMJRycku9Ic+ii9wY9xXhN9H72yK Sea6ob70TmWai7eyDNxn2LCNXkPwiv0xSnNjCpbJX64qk9mauwgFAnE1TYqCYmN1gqjA kTFDWCool9bj6uYoyZccflsnUuvPBYqvu3J583nW4MzwHx1aGmb9IA4+D0kyZNmIX4Qf tvqrvIQtVvpYc+kz2fm/HfgSBqE30premHOr4wL0fvelM9fP0HUREmfjVr3xV3fuoDNs 03G1UjNW8zyiyG9Sed1RAzmYvH8Fm6HkwS/o7ajDk/pQkDg7HbTO+enqODp1QvjlRwaI tlWA== X-Received: by 10.180.107.38 with SMTP id gz6mr7682215wib.63.1429343489824; Sat, 18 Apr 2015 00:51:29 -0700 (PDT) Original-Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id e2sm5839772wix.15.2015.04.18.00.51.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Apr 2015 00:51:28 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 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:103809 Archived-At: Hi, I wanted to use word diffs for text-modes (i.e. Org, TeX, plain text, etc). So I change diff-switches in text-mode-hook, and the output looks as expected. However the highlighting in diff-mode does not seem to work. I guess there is probably a switch, or maybe I need to change a regex; I can't seem to find it though. Any pointers? Cheers, -- Suvayu Open source is the future. It sets us free.