[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff-function face
From: |
Nick Roberts |
Subject: |
Re: diff-function face |
Date: |
Mon, 20 Mar 2006 19:28:29 +1200 |
Stefan Monnier writes:
> > Currently diff-function face inherits from diff-context and looks like
> > its part of the diff hunk. I presume this is a mistake as its really
> > part of the header. In any case I find a diff is a lot easier to view
> > if diff-function inherits from diff-header.
>
> I don't have much preference here, but just to give some context (pun
> intended): I decided to inherit from diff-context because the function-info
> is really just that: context. Also, in many cases this info is useless
> (because the naive heuristic used to find the function name works OK for
> C but not for much else), so I'd rather have it be discrete.
(discreet?)
Yes, thats a good reason for not using a face other than diff-context
or diff-header.
--
Nick http://www.inet.net.nz/~nickrob