Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: gnus-parameters limitations
Date: Sun, 31 Oct 2004 21:31:09 +0100	[thread overview]
Message-ID: <v93bzubpf6.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m31xffoxep.fsf@doze.jochen-kuepper.de>

On Sun, Oct 31 2004, Jochen Küpper wrote:

> Apparently the parsing of gnus-parameters is performed so that the
> first matching entry is used. Wouldn't it be nice to allow for
> hierarchical settings as with posting styles, where all matching
> entries are used and later settings overwrite earlier ones?
>
> Assume the following setting
> ,----
> |      (setq gnus-parameters
> |            '(("mail\\..*"
> |               (gnus-show-threads nil)
> |               (gnus-use-scoring nil)
> |               (gcc-self . t)
> |               (display . all))
> |              ("mail\\.some\\.group"
> |               (gnus-use-scoring  t)
> |               (to-group . "\\1"))
> `----
> I would expect to have the following apply to mail.some.group:
> ,----
> |               (gnus-show-threads nil)
> |               (gcc-self . t)
> |               (display . all))
> |               (gnus-use-scoring  t)
> |               (to-group . "\\1"))
> `----

Are you sure that it doesn't work?  When I test it with...

(setq
 gnus-parameters
 '(("gnus"
    (gnus-use-scoring nil)
    (rs-gnus-temp-1 1))
   ("gmane.emacs.gnus.general"
    (gnus-use-scoring t)
    (rs-gnus-temp-1 2)
    (rs-gnus-temp-2 2))))

... and enter gmane.emacs.gnus.general, I get:

  gnus-use-scoring t
  rs-gnus-temp-1 2
  rs-gnus-temp-2 2
  rs-gnus-temp-3 3

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2004-10-31 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-31 13:00 Jochen Küpper
2004-10-31 20:31 ` Reiner Steib [this message]
     [not found]   ` <v93bzubpf6.fsf-WZbs9ZYJ0ya4nSHvGpykACzlmkwuQ7VwhC4ANOJQIlc@public.gmane.org>
2005-01-03 17:44     ` Jochen Küpper

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=v93bzubpf6.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).