Re: [PATCH] Make words boundary for --color-words configurable
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 2, 2008, 08:14 UTC
- Message-ID
- <20080502081408.GA11420@mithlond.arda.local>
- In-Reply-To
- <alpine.DEB.1.00.0805020839200.2691@eeepc-johanness>
Johannes Schindelin wrote (2008-05-02 08:45 +0100):
Show 11 quoted lines
> On Fri, 2 May 2008, Ping Yin wrote: > > > Previously --color-words only allow spaces as words boundary. > > However, just space is not enough. For example, when i rename > > a function from foo to bar, following example doesn't show as > > expected when using --color-words. > > Thanks for starting this. > > However, as Junio pointed out, it is easier to specify > word-characters, rather than non-word characters (think TAB), and...
Just a quick note from someone who is not so much a programmer but who uses Git to track text/LaTex/etc. files with human languages: Please don't make this kind of things too Ascii-specific and too much byte-is-interpreted-as-character type thing.
In general, my opinion is that with international text it's better to define word boundary characters than trying to maintain a _huge_ list of characters used within words in different human languages.