emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 messages to emacs-diffs per each commit?


From: Johan Bockgård
Subject: Re: 2 messages to emacs-diffs per each commit?
Date: Tue, 25 Nov 2014 23:36:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Stephen Berman <address@hidden> writes:

> On Tue, 18 Nov 2014 03:02:45 -0500 Glenn Morris <address@hidden> wrote:
>
>> Also added branch to the subject.
>
> Thanks.  I'll try to follow up on the diff fontification issue when I
> have time.

Meanwhile, try this in your .gnus

    (require 'mm-uu)
    ;; Replace the default specification for git-format-patch which
    ;; doesn't seem so useful.
    (setcdr (assq 'git-format-patch mm-uu-type-alist)
            `("^diff --git " ""
               mm-uu-diff-extract
               ,(lambda ()
                  (re-search-forward "^--- " nil t)
                  (re-search-forward "^[^-+@ ]\\|\\'" nil t)
                  (forward-line -2))
               mm-uu-diff-test))
    (mm-uu-configure)

Adjust mm-uu-diff-groups-regexp if needed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]