Gnus development mailing list
 help / color / mirror / Atom feed
From: "Matt Armstrong" <matt@lickey.com>
Subject: Re: new Mail-Followup-To patch...please take a look...
Date: Tue, 23 Oct 2001 12:54:41 -0600	[thread overview]
Message-ID: <87elnuxk3y.fsf@squeaker.lickey.com> (raw)
In-Reply-To: <m37ktmjlmg.fsf@multivac.cwru.edu> (prj@po.cwru.edu's message of "Tue, 23 Oct 2001 13:45:21 -0400")

prj@po.cwru.edu (Paul Jarc) writes:

> Josh Huber <huber@alum.wpi.edu> wrote:
>> prj@po.cwru.edu (Paul Jarc) writes:
>>> I had hoped that MFT would be enabled by default: existing
>>> configurations would automatically get MFT when sending to any
>>> to-address or to-list address.  [...]  But if that's not going to
>>> be the case, then this chunk might as well be a hook function.
>>> It'll just be one extra line needed in .gnus to enable MFT.
>> 
>> Well, that's what I suggested.
>> 
>> I think something like:
>> 
>> (setq message-subscribed-addresses
>>       (gnus-find-subscrbied-addresses))
>> 
>> in the .gnus file would be an ok thing to have users do, wouldn't it?
> 
> The distance between n and n+1 is at a maximum when n=0.  If we have
> to add anything at all to our individual .gnus files to enable MFT,
> then I don't think it matters much if we have to add a little more
> instead of a little less.  Since it's possible to do it as a hook,
> it seems cleaner to do it that way, assuming we've given up on
> getting it completely for free.

I haven't given up on getting MFT for free (on by default).  Per's
example of using to-address and to-list for non-list addresses are an
example of a power user config.  I think providing a 'not-subscribed
parameter just for Per is okay.  ;-)

In other words, I think it is okay to assume that all to-list and
to-address parameters are "subscribed," but provide a way out for the
Gnus power users.


>> The problem with this is, this search function appears to be
>> expensive enough that I wouldn't want it as a default...
> 
> If it only happens once per Gnus session, that shouldn't be a
> problem, I think.

Caching the result is fine.

It'd be nice if changing group parameters would magically cause the
list to be regenerated.  Setting a "dirty" flag when group params have
been edited is probably easy enough.  And we could save a copy of
'gnus-parameters' and make sure the saved copy is equal to the current
value.


> message.el shouldn't explicitly use a gnus- function, and gnus*.el
> would have a hard time deciding when and whether to populate
> message-subscribed-addresses with the to-list and to-address
> parameters.  If not for that, I think we could get MFT completely
> for free.

message.el can't call into gnus or use a gnus variable, but surely
gnus could set a variable on behalf of message.el?

E.g. there'd be message-subscribed-addresses, and
message-subscribed-addresses-from-mua.  The former is a user setting,
the latter is set by the mua (perhaps buffer local).


-- 
matt



  reply	other threads:[~2001-10-23 18:54 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 15:24 Josh Huber
2001-10-23 15:42 ` Josh Huber
2001-10-23 16:32 ` Paul Jarc
2001-10-23 16:54   ` Josh Huber
2001-10-23 17:45     ` Paul Jarc
2001-10-23 18:54       ` Matt Armstrong [this message]
2001-10-23 19:53         ` Paul Jarc
2001-10-24  0:34           ` Josh Huber
2001-10-24 11:35         ` Per Abrahamsen
2001-10-24 12:48           ` Josh Huber
2001-10-24 16:31           ` Paul Jarc
2001-10-24 17:08             ` Per Abrahamsen
2001-10-24 17:18               ` Paul Jarc
2001-10-26  6:24           ` Kai Großjohann
2001-10-27 23:23           ` Florian Weimer
2001-10-23 16:56   ` Josh Huber
2001-10-23 17:32     ` Per Abrahamsen
2001-10-23 23:53       ` Josh Huber
2001-10-23 22:40   ` Davide G. M. Salvetti
2001-10-24  1:40     ` Paul Jarc
2001-10-24 12:45       ` Davide G. M. Salvetti
2001-10-24 13:44         ` Samuel Padgett
2001-10-24 15:23           ` Paul Jarc
2001-10-24 15:42             ` Per Abrahamsen
2001-10-24 15:51             ` Samuel Padgett
2001-10-26  6:28     ` Kai Großjohann
2001-10-27  1:19       ` Barry Fishman
2001-10-29 14:49         ` Kai Großjohann
2001-10-27 22:27     ` Florian Weimer
2001-10-24  1:59 ` Josh Huber
2001-10-24 15:02   ` Per Abrahamsen
2001-10-24 16:48     ` Paul Jarc
2001-10-24 17:13       ` Per Abrahamsen
2001-10-25  1:52     ` Josh Huber
2001-10-24 16:13   ` Paul Jarc
2001-10-24 17:19     ` Per Abrahamsen
2001-10-24 17:28       ` Paul Jarc
2001-10-24 17:38         ` Per Abrahamsen
2001-10-25  1:45           ` Josh Huber
2001-10-25 18:48           ` Josh Huber
2001-10-29 21:58             ` Matt Armstrong
2001-10-29 22:19               ` Josh Huber
2001-10-29 22:31                 ` Paul Jarc
2001-10-30  2:47                   ` Josh Huber
2001-10-30  3:11                     ` Paul Jarc
2001-10-30  3:49                   ` Matt Armstrong
2001-10-30 12:55             ` Per Abrahamsen
2001-10-30 15:31               ` Josh Huber
2001-10-31 13:44             ` ShengHuo ZHU
2001-10-31 17:28               ` Matt Armstrong
2001-10-31 17:51                 ` Josh Huber
2001-10-31 18:22                 ` ShengHuo ZHU
2001-10-26  6:34         ` Kai Großjohann
2001-10-26  9:07           ` Per Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87elnuxk3y.fsf@squeaker.lickey.com \
    --to=matt@lickey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).