[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing signature depending on From: header
From: |
Richard G Riley |
Subject: |
Re: Changing signature depending on From: header |
Date: |
Thu, 05 Jun 2008 11:59:36 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Hasse Hagen Johansen <hhj@musikcheck.dk> writes:
>>>>>> "Michal" == Michal Nazarewicz <mina86@tlen.pl> writes:
>
> Michal> Hasse Hagen Johansen <hhj@remove-musikcheck.dk> writes:
> >> I would like to change signature depending on which From: I am
> >> using. Gnus posting styles doesn't seem to solve that problem?
>
> Michal> It does for me:
>
> Michal> #v+ (setq gnus-posting-styles '((".*" (signature-file
> Michal> (concat sig-dir "/english")) (x-url "http://mina86.com/"))
> Michal> ("^pl\\.\\|^alt\\.pl\\.\\|pw\\." (signature-file (concat
> Michal> sig-dir "/polish"))))) #v-
>
> Are you sure about that? because to me it looks like that it switches
> signatures depending on which group you are in? or maybe I am wrong?
>
> Regards
> Hasse
In my settings I set the from and the signature based on what group I
am in e.g
(
,(rx(or "DevelopmentEmail" "emacs" "python" "ecb" "exim4" "gdb"
"gnus" "hardware" "html" "muse" "mysql" "networking" "opengl" "pgp" "php"
"plan" "readers" "security" "test"))
(name "Richard G Riley")
(address "rileyrgdev@googlemail.com")
(from "Richard G Riley <rileyrgdev@gmail.com>")
(eval(setq gnushush-user-agent-header (quote real)))
(eval (setq pgg-gpg-user-id "*"))
)
Would this not work for you?