Re: [PATCH v2 4/5] Make boundary characters for --color-words configurable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 11, 2008, 16:27 UTC
- Message-ID
- <7vod7c6c24.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <46dff0320805110616s6df19657r1e4c80634267fd81@mail.gmail.com>
"Ping Yin" <pkufranky@gmail.com> writes:
Show 9 quoted lines
> With following patch, the diff output becomes (i don't know which one is better)
>
> OpenOffice.org has {+a }user setting for defining the minimum length for
> words to be hyphenated. By default the word length is counted from the
> whole word - even for compound words. For example the {compound +}word
> 'elokuvalippu' is {+considered }12 characters long. The word will be hyphenated like
> 'elo-ku-va-lip-pu' in all cases when the minimum word length is set to
> 12 or less. If the minimum length is set to 13 or more the word is not
> hyphenated at all.Yeah, after playing with it a bit, I realize that my original stated goal of not playing games with "newline suppression" goes very against what color-words, which is a word oriented diff, tries to achieve. It appears that it is necessary to reintroduce suppressed_newline.