Gnus development mailing list
 help / color / mirror / Atom feed
From: Nicolas Martyanoff <khaelin@gmail.com>
To: ding@gnus.org
Subject: Display fontification
Date: Wed, 19 Jan 2011 13:42:00 +0100	[thread overview]
Message-ID: <fwnzkqx3w13.fsf@boukha.corp> (raw)


Hi,

I regularly receive mails generated by a git hook, each one containing
the diff of a commit. I'd like to display the diff with syntax
highlighting, but can't find how.

The manual tells about mm-inline-media-tests, but it seems to work only
for attachment. Here the diff is in the body of message. Ideally, I'd
like to be able to specify a user-provided function which analyze the
message, and tell gnus to use the diff faces to highlight the body.

Is there a way to do that ?

Thank you.

Regards,

-- 
Nicolas Martyanoff
   http://codemore.org
   khaelin@gmail.com



             reply	other threads:[~2011-01-19 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 12:42 Nicolas Martyanoff [this message]
2011-01-19 21:06 ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fwnzkqx3w13.fsf@boukha.corp \
    --to=khaelin@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).