From 5b111f85a244a71cd6c02f46166437f542ae01f7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 23 Oct 2019 10:34:28 +0200 Subject: [PATCH] Make Gnus recognise "git am" diffs in all groups * lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Recognise diffs in all groups (bug#32730). --- etc/NEWS | 4 ++++ lisp/gnus/mm-uu.el | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index c13d879f1a7..43411b7d4f1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1142,6 +1142,10 @@ Of course it will still find it if you have it in "~/.ecompleterc". ** Gnus +--- +*** 'mm-uu-diff-groups-regexp' now defaults to matching all groups, +which means that "git am" diffs are recognised everywhere. + +++ *** Two new Gnus summary mode navigation commands have been added, bound to the '[' and ']' keys: 'gnus-summary-prev-unseen-article' and diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el index fec3986dedd..39cad57212d 100644 --- a/lisp/gnus/mm-uu.el +++ b/lisp/gnus/mm-uu.el @@ -77,10 +77,9 @@ This can be either \"inline\" or \"attachment\".") :type 'regexp :group 'gnus-article-mime) -(defcustom mm-uu-diff-groups-regexp - "\\(gmane\\|gnu\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|devel\\)" +(defcustom mm-uu-diff-groups-regexp "." "Regexp matching diff groups." - :version "22.1" + :version "27.1" :type 'regexp :group 'gnus-article-mime) -- 2.39.2