From: Francis Moreau <francis.moro@gmail.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: ding@gnus.org
Subject: Re: how gnus-parameter works when several regexps match
Date: Thu, 10 Feb 2011 23:09:08 +0100 [thread overview]
Message-ID: <m27hd7pmnv.fsf@gmail.com> (raw)
In-Reply-To: <877hd8ujiq.fsf@member.fsf.org> (Tassilo Horn's message of "Thu, 10 Feb 2011 14:05:49 +0100")
Tassilo Horn <tassilo@member.fsf.org> writes:
[...]
>
> It should have all parameters of "mail\\..*" with the gnus-use-scoring
> value of "mail\\.me", which overrides the value specified in the former.
>
> I have this, and it works that way:
>
>
> --8<---------------cut here---------------start------------->8---
> (setq gnus-parameters
> `(
> (,(rx (or "emacs" "gnus"))
> (gnus-button-emacs-level 10))
> (,(rx "nnimap+")
> (gnus-use-scoring nil)
> (gcc-self . t))
> (,(rx "nnimap+Uni:ml/")
> (gcc-self . "nnimap+Uni:Sent"))
> (,(rx "nnimap+Fastmail:INBOX.mailinglists.")
> (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")
> (gnus-use-scoring t))))
> --8<---------------cut here---------------end--------------->8---
>
> For example, I don't use scoring in all my nnimap groups, except for the
> groups below nnimap+Fastmail:INBOX.mailinglists, where scoring is turned
> on.
Ok, that's what I'd like to get.
But, it doesn't work for me (trademark. It's a long story between Gnus
and me, you know).
For example doing this:
(setq gnus-parameters '(
("nnimap\\+foo:INBOX"
(gcc-self . t)
(posting-style
(name "toto")
(address "titi@foo.com")))
("nnimap\\+foo"
(display . [not expire])
(gnus-large-newsgroup 1000))))
In this case I expect to have name set to 'toto' and adress set to
'titi@foo.com' in my INBOX group. However they are not. I think they are
set to user-full-name and user-mail-address values.
They are set to the expected values only if I comment the second rule
like the following:
(setq gnus-parameters '(
("nnimap\\+foo:INBOX"
(gcc-self . t)
(posting-style
(name "toto")
(address "titi@foo.com")))))
; ("nnimap\\+foo"
; (display . [not expire])
; (gnus-large-newsgroup 1000))))
;
Do you have any idea why I get this behaviour ?
Thanks
--
Francis
next prev parent reply other threads:[~2011-02-10 22:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 12:04 Francis Moreau
2011-02-10 13:05 ` Tassilo Horn
2011-02-10 22:09 ` Francis Moreau [this message]
2011-02-11 8:26 ` Tassilo Horn
2011-02-11 10:45 ` Francis Moreau
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=m27hd7pmnv.fsf@gmail.com \
--to=francis.moro@gmail.com \
--cc=ding@gnus.org \
--cc=tassilo@member.fsf.org \
/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).