From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39666 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: new Mail-Followup-To patch...please take a look... Date: Tue, 23 Oct 2001 20:34:37 -0400 Organization: Mind your own business, you silly arthur king! Sender: owner-ding@hpc.uh.edu Message-ID: <87adyheuzm.fsf@mclinux.com> References: <87wv1m9y6j.fsf@mclinux.com> <87g08a9u14.fsf@mclinux.com> <87elnuxk3y.fsf@squeaker.lickey.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175341 29186 80.91.224.250 (21 Oct 2002 04:42:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:42:21 +0000 (UTC) Return-Path: Original-Received: (qmail 14293 invoked from network); 24 Oct 2001 00:35:46 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 24 Oct 2001 00:35:46 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15wBzx-0003HP-00; Tue, 23 Oct 2001 19:34:21 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Oct 2001 19:33:59 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA09678 for ; Tue, 23 Oct 2001 19:33:46 -0500 (CDT) Original-Received: (qmail 14279 invoked by alias); 24 Oct 2001 00:34:03 -0000 Original-Received: (qmail 14274 invoked from network); 24 Oct 2001 00:34:02 -0000 Original-Received: from quimby.gnus.org (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 24 Oct 2001 00:34:02 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 15wC5g-00084n-00 for ; Wed, 24 Oct 2001 02:40:16 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 32 Original-NNTP-Posting-Host: h000094c5efff.ne.mediaone.net Original-X-Trace: quimby2.netfonds.no 1003884016 31039 65.96.250.128 (24 Oct 2001 00:40:16 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 24 Oct 2001 00:40:16 GMT X-Go-Away: or I shall taunt you a second time! X-PGP-KeyID: 6B21489A X-PGP-CertKey: 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A X-Request-PGP: finger:huber@db.debian.org Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39666 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39666 prj@po.cwru.edu (Paul Jarc) writes: > Here's another idea: have a gnus function which can be an entry in > message-subscribed-address-functions. This function collects > to-list and to-address parameters and, for speed, caches them in an > internal (i.e., not for users to mess with, but still global) > variable. Now we change the default for > message-subscribed-address-functions: (defvar > message-subscribed-address-functions '(ignore)) Gnus adds its > function to m-s-a-f at startup, but only if the existing value is > this default. If the user wants to disable the Gnus function, they > set m-s-a-f to (the more intuitive) nil. I really do like this idea -- the only downside (it's not really a downside for me, but...) is that it's no longer available in customize. It's probably enough to have the -addresses and -regexps versions in customize, since if you're screwing with the function hooks you probably know what's going on, right? :) So, I just was thinking of how to do this, and it's not too hard, but where should this code go? are we going to need to put something in the gnus startup code (gnus-1 ?) and where should these internal cache variables get defined...how about a good location for gnus-find-subscribed-addresses? ttyl, -- Josh Huber