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 18:56:57 -0500	[thread overview]
Message-ID: <m3g0h5gdgg.fsf@multivac.student.cwru.edu> (raw)
In-Reply-To: <2n66i1j86z.fsf@tiger.jia.vnet> (ShengHuo ZHU's message of "23 Feb 2001 18:22:44 -0500")

ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> prj@po.cwru.edu (Paul Jarc) writes:
> > 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?
> 
> NAGY Andras means that regexp scheme was not able to configure group
> variables. In this sense, gnus-parameters can do this.

I don't think I understand.

> Unfortunately, we can not implement [storing parameters in backends]
> for some backends without some extra helps (e.g. local files).  It
> could also be a problem for shared or readonly groups.

It would indeed require more work from backends, but it could be done.
I'm implementing read-only groups for nnmaildir, but marks will still
be stored in the backend; only the messages themselves are read-only,
and only the messages themselves need to be.

> > 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.
> 
> You don't have to. mapconcat and regexp-quote are your friends.

That seems rather more like a workaround than a solution.

> It is difficult to avoid loop links in your parameter-parents scheme.

Difficult for the code to detect tham, maybe, but not so difficult for
humans to prevent them, I think.  Must the more capable users be
hindered by a feature designed to prevent mistakes by novices?


paul



  reply	other threads:[~2001-02-23 23:56 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
2001-02-23 23:22                 ` ShengHuo ZHU
2001-02-23 23:56                   ` Paul Jarc [this message]
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=m3g0h5gdgg.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).