Hi,
can someone tell me how to color diffs in a PATCH mail when viewing
the mail contents with mutt?
Is it even possible?
--
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer
Proudly sent with mutt.
Happily signed with gnupg.
signature.asc
Description: PGP signature
On 20.06.16 14:01, Matthias Beyer wrote:
> can someone tell me how to color diffs in a PATCH mail when viewing
> the mail contents with mutt?
>
> Is it even possible?
Dunno. Once a patch has been delivered, I figure we've left the email
world. But you could:
set editor=vi
Matthias Beyer wrote:
> can someone tell me how to color diffs in a PATCH mail when viewing
> the mail contents with mutt?
I use the following:
color body cyan black ^[+].*$
color body magenta black ^-.*$
It's not perfect and highlights some things unnecessarily,
but
Hi Matthias,
I use colordiff.
In my ~/.mailcap, I have
text/x-diff; cat %s | colordiff; copiousoutput
text/x-patch; cat %s | colordiff; copiousoutput
Best,
Steve
Hi Steve,
On 21-06-2016 13:17:59, steve wrote:
> I use colordiff.
>
> In my ~/.mailcap, I have
>
> text/x-diff; cat %s | colordiff; copiousoutput
> text/x-patch; cat %s | colordiff; copiousoutput
>
That sounds nice, though it does not work for example for the LKML...
(which isn't your fau
Matthias Beyer wrote:
> On 21-06-2016 13:17:59, steve wrote:
> > I use colordiff.
>
> It seems that there are no mime types set in the patch mails send to
> the LKML. Or do I have to install an additional tool for this to work
> (besides colordiff of course)?
Fwiw, my previous example works wi