From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84020 Path: news.gmane.org!not-for-mail From: Daniel Dehennin Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Re: Group splitting on list headers Date: Sun, 29 Dec 2013 01:25:05 +0100 Message-ID: <87k3eomrku.fsf@hati.baby-gnu.org> References: <87iouruzzr.fsf@hati.baby-gnu.org> <87ioubhaw6.fsf@building.gnus.org> <87a9fnft1y.fsf@hati.baby-gnu.org> <87ioubeefd.fsf@building.gnus.org> <8738leffqx.fsf_-_@hati.baby-gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1388276777 6411 80.91.229.3 (29 Dec 2013 00:26:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2013 00:26:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32272@lists.math.uh.edu Sun Dec 29 01:26:23 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vx4D0-0007Tw-Tx for ding-account@gmane.org; Sun, 29 Dec 2013 01:26:23 +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 1Vx4Bw-0004xi-LG; Sat, 28 Dec 2013 18:25:16 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Vx4Bt-0004xV-TX for ding@lists.math.uh.edu; Sat, 28 Dec 2013 18:25:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vx4Bo-0005m4-Qe for ding@lists.math.uh.edu; Sat, 28 Dec 2013 18:25:13 -0600 Original-Received: from zion.baby-gnu.net ([82.225.168.180] helo=zion.baby-gnu.org) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vx4Bn-0006lz-8v for ding@gnus.org; Sun, 29 Dec 2013 01:25:07 +0100 Original-Received: from hati.asgardr.info ([192.168.1.2] helo=hati.baby-gnu.org) by zion.baby-gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1Vx4Bm-0002Do-AW for ding@gnus.org; Sun, 29 Dec 2013 01:25:06 +0100 Organisation: Dark Church of Emacs Mail-Followup-To: ding@gnus.org In-Reply-To: <8738leffqx.fsf_-_@hati.baby-gnu.org> (Daniel Dehennin's message of "Fri, 27 Dec 2013 16:57:58 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84020 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Daniel Dehennin writes: > Lars Ingebrigtsen writes: > >> Uhm... perhaps `match-list'? > > Shortest is best ;-) > > You can review my proposal patch on my gitweb[1] or with the following > pull request. Matching =E2=80=9Cextra-aliases=E2=80=9D against list headers is not very u= seful in my use-case as I set it =E2=80=9Cadmin-address=E2=80=9D to group management ma= ils in the same group as the mailing-list. It looks to be more useful by generating a split like the following: #+begin_src emacs-lisp (| (list (regexp-opt (list to-address to-list)) group) (any (regexp-opt (if (listp extra-aliases) extra-aliases (list extra-aliases))) group)) #+end_src I think we could use the =E2=80=9Cmatch-list=E2=80=9D with several values: =2D nil: match =E2=80=9Cto-address=E2=80=9D, =E2=80=9Cto-list=E2=80=9D and = =E2=80=9Cextra-aliases=E2=80=9D against 'any abbreviation =20=20 =2D t: match =E2=80=9Cto-address=E2=80=9D and =E2=80=9Cto-list=E2=80=9D aga= inst 'list abbreviation and =E2=80=9Cextra-aliases=E2=80=9D against 'any =2D 'with-extra-aliases: match =E2=80=9Cto-address=E2=80=9D, =E2=80=9Cto-li= st=E2=80=9D and =E2=80=9Cextra-aliases=E2=80=9D against 'list abbreviation To reduce complexity in =E2=80=9Cgnus-group-split-fancy=E2=80=9D a new help= er to build the SPLIT should be added. Any comment? Regards. =2D-=20 Daniel Dehennin R=C3=A9cup=C3=A9rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREKAAYFAlK/a+IACgkQFrLRMcygGkuDFwD/c75DpTYcrcHH6nxUdGP88xVO oKk2Yak0nQet78cA1BsA+wWOJGPnVEpYG5fE7BJhmurIl0BeZmO8dIGsR7JF8X/i =Qjyp -----END PGP SIGNATURE----- --=-=-=--