From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33224: `message-simplify-subject' simplification (and extensibility) Date: Mon, 13 May 2019 16:36:21 -0400 Message-ID: <87woiuqegq.fsf@mouse.gnus.org> References: <87zhutmi7a.fsf@portable.galex-713.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="38901"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33224@debbugs.gnu.org To: "Garreau\, Alexandre" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 22:37:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQHh9-0009xF-Qu for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 22:37:11 +0200 Original-Received: from localhost ([127.0.0.1]:34721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQHh8-00008I-MZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 16:37:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQHh2-00007x-30 for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQHh0-0004mq-Qa for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:37:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQHh0-0004mm-My for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQHh0-0006gd-Hf; Mon, 13 May 2019 16:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 13 May 2019 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33224 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 33224-submit@debbugs.gnu.org id=B33224.155777979025652 (code B ref 33224); Mon, 13 May 2019 20:37:02 +0000 Original-Received: (at 33224) by debbugs.gnu.org; 13 May 2019 20:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:46431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQHgU-0006ff-DI for submit@debbugs.gnu.org; Mon, 13 May 2019 16:36:30 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:45850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQHgQ-0006fS-1G for 33224@debbugs.gnu.org; Mon, 13 May 2019 16:36:28 -0400 Original-Received: from [12.41.144.226] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hQHgM-0001Pz-Rb; Mon, 13 May 2019 22:36:25 +0200 In-Reply-To: <87zhutmi7a.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Thu, 01 Nov 2018 07:21:13 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159215 Archived-At: "Garreau, Alexandre" writes: > Hi, here a patch simplyfing `message-simplify-subject' to make it > extensible (users can now add their own tailor-made one-arg function to > `message-simplify-subject-functions'), by removing all the explicit > checks and funcall, and just calling all the functions (implicit check > for `message-strip-list-identifiers' is moved to its body, and one for > `message-strip-subject-re' is removed based on previous patch from > ). I have no idea why that function was written in that strange way, and I've applied your patch. > This is my second patch, please tell-me if there=E2=80=99s a problem anyw= here. > Not sure if I know how to make patch properly, nor to report bugs > properly. Everything seems to work for me when testing. As your total added lines was less than ten, no FSF copyright assignment paperwork is needed, but if you intend on contributing further, it might be nice to start that process now. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no