[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-posting-styles matching
From: |
Richard Riley |
Subject: |
Re: gnus-posting-styles matching |
Date: |
Sat, 24 Apr 2010 19:52:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Gary <help-gnu-emacs@garydjones.name> writes:
> pocmatos@gmail.com (Paulo J. Matos) writes:
>
>
> Have you tried them the other way around? +csr first, then the one with
> the *? My guess is that gnus looks at the first one, matches it, and so
> just use that (doesn't ".*" mean some number of any character?), never
> getting to your more precise pattern.
The gmail is being used because the other one does not match I
guess. The first "all match" is the fall back. The others are still
checked.
See (gnus) Posting Styles in the gnus info file.
I use rx to simplify the regexps e.g :-
,----
| (add-to-list `gnus-posting-styles `( ,(rx(or "INBOX.mail.rgr" "root"))
| (from "Richard Riley
<rgr@richardriley.net>")
| (name "Richard Riley"))t)
`----
I'm not sure of the address parts as I only set the from field in my
settings!