Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Colouring diff-part of an email
Date: Wed, 06 Mar 2013 10:58:53 +0100	[thread overview]
Message-ID: <87lia04zoi.fsf@topper.koldfront.dk> (raw)

  Hi.

I am on a couple of mailing lists at work that receive an email per
commit in a source code repository.

Each email starts with some information about the commit - author, date,
revision, commit log message, and then the diff follows.

Has anyone written something that will colour an inline diff in an
email?

If I jump to the *Article* buffer and turn on diff-mode, the whole
buffer is coloured - which is a little much, headers become dull grey
etc.

I guess I just need some kind of washing, but I don't know quite where
to start, so I thought I'd ask if anyone already has solved the problem
:-)

I could change the email to be more MIMEish (inlining the diff-part),
but I think those of my colleagues who do not use Gnus would be annoyed
when their mail clients start to show the diff as an attachment.

  Best regards,

    Adam

-- 
 "Set out on a laughless day                                  Adam Sjøgren
  Like a troupe of clowns"                               asjo@koldfront.dk

             reply	other threads:[~2013-03-06  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06  9:58 Adam Sjøgren [this message]
2013-03-06 13:40 ` Tassilo Horn
2013-03-06 14:53   ` Adam Sjøgren
2013-03-06 17:41   ` Sivaram Neelakantan
     [not found] <mailman.21536.1362563949.855.info-gnus-english@gnu.org>
2013-03-06 17:58 ` Frank Terbeck
2013-03-13 20:08   ` Adam Sjøgren

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=87lia04zoi.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@gnu.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).