From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75709 Path: news.gmane.org!not-for-mail From: Nicolas Martyanoff Newsgroups: gmane.emacs.gnus.general Subject: Display fontification Date: Wed, 19 Jan 2011 13:42:00 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295446300 334 80.91.229.12 (19 Jan 2011 14:11:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2011 14:11:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24060@lists.math.uh.edu Wed Jan 19 15:11:36 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfYl3-0003nC-5u for ding-account@gmane.org; Wed, 19 Jan 2011 15:11:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PfYjm-0006Iu-A2; Wed, 19 Jan 2011 08:10:14 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PfXMb-0005zV-9s for ding@lists.math.uh.edu; Wed, 19 Jan 2011 06:42:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PfXMY-0008Hc-Pv for ding@lists.math.uh.edu; Wed, 19 Jan 2011 06:42:12 -0600 Original-Received: from mail-ww0-f48.google.com ([74.125.82.48]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PfXMY-0000zg-10 for ding@gnus.org; Wed, 19 Jan 2011 13:42:10 +0100 Original-Received: by wwd20 with SMTP id 20so821240wwd.5 for ; Wed, 19 Jan 2011 04:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=sOjdYMgCQPOnfdz6XGfTfy3H8XoNcZVaF/Y4CqOSnQk=; b=Kycw/ziR8hb0s9ScxQZtYnoaVYOl8cDUJZfNdOYczC1P+z5nAiXJUBuEf37aNZ/+0n PYFu4LWMFL2m58la+YGlu0Lz7F1uwo3SpRrOAuIzVdEl/dYPxhC2ZXo/jn6Gu+amov8C 588jgfb6D3bA/A9ouVnmk+oOgs3Re1vB5O9NU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=wFh+wnnJbI5xdxjKpw4fO2JtHcDgB5IDYnA1GPVJ6YvD4dzdvh4HG/84UILccEvdq3 470cr4ZzXAFFax4Og+2f/zvzD0EbsJBZepSnHvfuvVpPjs1L2LBBNW3V27ossVbEfPeM nRqjJVg4ltXryL3/DC61b6epDGtgvNXLvSw54= Original-Received: by 10.216.177.211 with SMTP id d61mr2396144wem.76.1295440924482; Wed, 19 Jan 2011 04:42:04 -0800 (PST) Original-Received: from boukha.corp ([94.228.180.170]) by mx.google.com with ESMTPS id o33sm3633467wej.37.2011.01.19.04.42.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 04:42:03 -0800 (PST) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75709 Archived-At: 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