In case this helps anyone else, I fixed the problem -- turning _off_
font-lock-mode in the magit-mode buffer fixed it. To make it stick, I
did:
(setq font-lock-global-modes '(not magit-mode w3m-mode))
Thanks for the help,
- Nelson
On Fri, Sep 11, 2009 at 04:38:46PM -0400, Nelson Elhage wrote:
> Oh, interesting. I hadn't realized those faces existed at all. And in
> fact, poking around my magit buffers, they're not getting set on the
> appropriate lines, so I'm not getting any diff colorization at all.
>
> Has anyone seen this, or have a guess what the cause might be, or how
> I can fix it?
>
> - Nelson
>
> On Fri, Sep 11, 2009 at 09:25:29PM +0100, Philip Jackson wrote:
> > At Fri, 11 Sep 2009 13:17:07 -0700 (PDT),
> > nelhage wrote:
> > >
> > >
> > > Are there any plans to support diff-mode or diff-mode-like coloring of
> > > diffs in magit-mode? I'm really loving the support magit-mode has for
> > > things like branching, pushing, pulling, rebasing, and so on, but I'm
> > > missing my colorful diffs, coming from other emacs git modes.
> > >
> >
> > I use:
> >
> > (set-face-attribute 'magit-diff-add nil
> > :foreground "Green")
> > (set-face-attribute 'magit-diff-del nil
> > :foreground "Red")
> >
> > You can always use :inherit to er... inherit the attributes from
> > diff-{added,removed}.
> >
> > Cheers,
> > Phil