Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: regexp-based group parameters
Date: 23 Feb 2001 17:55:27 -0500	[thread overview]
Message-ID: <m3wvahggay.fsf@multivac.student.cwru.edu> (raw)
In-Reply-To: <2nelwpja7z.fsf@tiger.jia.vnet> (ShengHuo ZHU's message of "23 Feb 2001 17:38:56 -0500")

ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> prj@po.cwru.edu (Paul Jarc) writes:
> > > * Group/topic parameters allow setting arbitrary variables, not only
> > > `strict' parameters.
> > 
> > I'm not sure this is a problem.  Your gnus-parameters doesn't seem to
> > address it, either.
> 
> As to group variables, it is.

How so?

> > I'd like it if parameters were (or could be) stored in backends.
> > Backends can already use -request-update-info to correct Gnus's
> > parameters, so we just need a way for Gnus to notify the backend when
> > the user modifies the parameters.  (Then once all backends do this,
> > Gnus could stop redundantly storing parameters in newsrc.eld.)
> 
> Using -request-update-info is another issue.

What do you mean?

> > Also, to provide for hierarchical inheritance, we could have a
> > parameter called, say, parameter-parent, whose value is a group. [...]
> 
> I don't like this idea. Regexp scheme is much clearer and easier to
> maintain.

But it also means that I can't deal with group names and parameters as
the separate entities they are.  If I want two groups to share a set
of parameters, I'm *forced* to either name them similarly, or else use
an ugly, *less* maintainable regexp to identify them.

> > Your suggestion (like mine) fails to cover the capability we have now
> > of putting a group into multiple topics, and using the parameters of
> > whichever topic the user entered through, but this seems like more
> > trouble than it's worth, especially in situations where there is no
> > "current" topic.
> 
> This is the weakness of topics implementation.

Right.  But parameter-parents would be an *ordered* list of parents,
and unrelated to topics, so there'd be no ambiguity.


paul



  reply	other threads:[~2001-02-23 22:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-22 16:54 Feature request: strip banners from all groups matching a regexp Christopher Splinter
2000-12-22 18:19 ` Jeff Senn
2000-12-22 20:41   ` Christopher Splinter
2000-12-22 18:27 ` Charles Sebold
2000-12-22 20:21   ` Christopher Splinter
2000-12-23 12:38     ` Kai Großjohann
2000-12-23 12:59       ` NAGY Andras
2000-12-23 13:11         ` Kai Großjohann
2001-02-23 16:41         ` regexp-based group parameters NAGY Andras
2001-02-23 18:57           ` Toby Speight
2001-02-23 20:54           ` Paul Jarc
2001-02-23 21:35             ` Kai Großjohann
2001-02-23 21:57               ` Paul Jarc
2001-02-23 22:29                 ` Kai Großjohann
2001-02-24 15:49               ` Randal L. Schwartz
2001-02-23 22:38             ` ShengHuo ZHU
2001-02-23 22:55               ` Paul Jarc [this message]
2001-02-23 23:22                 ` ShengHuo ZHU
2001-02-23 23:56                   ` Paul Jarc
2001-02-24 12:04                 ` Kai Großjohann
2001-02-24 17:34                   ` Paul Jarc
2001-02-24 21:45                     ` Kai Großjohann
2001-02-23 22:35           ` ShengHuo ZHU
2001-02-25  1:55             ` NAGY Andras
2001-02-25 15:07               ` ShengHuo ZHU
2000-12-23  2:08 ` Feature request: strip banners from all groups matching a regexp ShengHuo ZHU

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=m3wvahggay.fsf@multivac.student.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).