From: Johannes Schindelin Date: Fri, 09 Jan 2009 11:18:37 GMT Subject: Re: [RFC PATCH] make diff --color-words customizable Message-ID: In-Reply-To: <20090109095300.GA4099@coredump.intra.peff.net> Hi, On Fri, 9 Jan 2009, Jeff King wrote: > On Fri, Jan 09, 2009 at 01:05:05AM +0100, Thomas Rast wrote: > > > Apart from possible bugs, the main issue is: where should I put the > > configuration for this? > > It's a per-file thing, so probably in the diff driver that is triggered > via attributes. See userdiff.[ch]; you'll need to add an entry to the > userdiff_driver struct. You can look at the funcname pattern stuff as a > template, as this is very similar. I am not sure I would want that in the config or the attributes. For me, it always has been a question of "oh, that LaTeX diff looks ugly, let's see what words actually changed". Only rarely did I wish for a different word boundary detection algorithm. So I'd rather have an alias than a config/attribute setting. Ciao, Dscho