Hasse Hagen Johansen <[EMAIL PROTECTED]> writes:

>>>>>> "Michal" == Michal Nazarewicz <[EMAIL PROTECTED]> writes:
>
>     Michal> Hasse Hagen Johansen <[EMAIL PROTECTED]> 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 "[EMAIL PROTECTED]")
           (from "Richard G Riley <[EMAIL PROTECTED]>")
           (eval(setq gnushush-user-agent-header (quote real)))
           (eval (setq pgg-gpg-user-id "*"))
           )

Would this not work for you?
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to