From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83990 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: general-purpose Gnus-style matching in a list function? Date: Thu, 26 Dec 2013 17:17:50 +0100 Message-ID: <87ppojfuxd.fsf@building.gnus.org> References: <87zjocvvd9.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388075065 31582 80.91.229.3 (26 Dec 2013 16:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2013 16:24:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32242@lists.math.uh.edu Thu Dec 26 17:24:31 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 1VwDjN-0006oU-Fd for ding-account@gmane.org; Thu, 26 Dec 2013 17:24:17 +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 1VwDjA-00067v-Vj; Thu, 26 Dec 2013 10:24:05 -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 1VwDj9-00067h-7w for ding@lists.math.uh.edu; Thu, 26 Dec 2013 10:24:03 -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 1VwDj8-0006C7-7f for ding@lists.math.uh.edu; Thu, 26 Dec 2013 10:24:03 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VwDj6-00013J-Tg for ding@gnus.org; Thu, 26 Dec 2013 17:24:00 +0100 Original-Received: from 2.148.235.122.tmi.telenormobil.no ([2.148.235.122] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VwDit-0003ik-S9 for ding@gnus.org; Thu, 26 Dec 2013 17:23:48 +0100 In-Reply-To: <87zjocvvd9.fsf@flea.lifelogs.com> (Ted Zlatanov's message of "Sat, 07 Dec 2013 23:07:14 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1VwDit-0003ik-S9 MailScanner-NULL-Check: 1388679828.19872@5tWYPQ2m+eUikaup7gk6fw X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83990 Archived-At: Ted Zlatanov writes: > `gnus-posting-styles' is a good example of a very flexible defcustom > that gets special treatment so the keys and the values can be almost > anything: functions, regexps, strings, etc. > > It's processed in a special way by `gnus-configure-posting-styles' and I > was wondering if Gnus has a general-purpose function to do this. If > not, it should... I would shadow it in the Emacs core actually, it's a > very common usage pattern. I don't think there's anything like that in Emacs code. The number of things that can be in `gnus-posting-styles' is so large that it is perhaps a bit bewildering... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/