Hi,
On Sun, Oct 07 2012, coldnew wrote:
> Hello:
>
> I use mu4e to read mailing-list, is there a elegant way to fontify
> those [PATCH] mail ?
>
> following is my code, but it can not work when I enter the
> mu4e-view-mode, I must use it manually
<snip>
Ah, cool idea! I think it'd be nice if mu4e had some way to deal with
patches (and hopefully let ediff-mode deal with the fontification), and
there may be more inline-text things that would be nice to handle
specially, I'll have to think about how to handle that.
For now, the reason your function doesn't work is that the buffer is set
to mu4e-view-mode before the message text is insert -- so your hook is
called to early. I'll try if I can move the mode-activation until after
the contents are there. If it works, should appear in git in the next
days...
Best wishes,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C