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

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.

[...]

> 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.

> Also, to provide for hierarchical inheritance, we could have a
> parameter called, say, parameter-parent, whose value is a group.  Then
> when trying to find the value of parameter foo, if the group doesn't
> have a value for foo, you check the parent group, recursively,
> stopping when you find a group that has foo, or one that has no
> parent.  Dummy groups could be used to hold sets of parameters; real
> groups would use the dummy as their parent.

I don't like this idea. Regexp scheme is much clearer and easier to
maintain.

> 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.

ShengHuo



  parent reply	other threads:[~2001-02-23 22:38 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 [this message]
2001-02-23 22:55               ` Paul Jarc
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=2nelwpja7z.fsf@tiger.jia.vnet \
    --to=zsh@cs.rochester.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).