* signature + fortune + from ??
@ 2006-06-01 14:08 francois.lagarde
0 siblings, 0 replies; only message in thread
From: francois.lagarde @ 2006-06-01 14:08 UTC (permalink / raw)
Hello,
I use different mail boxes. For each mail box i have a special
signature-file. So in my gnus configuration i have something like that:
(setq gnus-posting-styles
...
("^gmane\..*\\|^alt\..*"
(address "firstname.name<at>gmail.com")
(eval
(setq sc-preferred-header-style 3)
)
(signature-file "~/documents/signature/news"))
...
)
up to now everything is fine.
Now I want to add some fortune decorations.
The solution that I found is to create a script, which concats the
usual signature file name, and the fortune (I don't really understand
the lisp)
It looks like:
(signature
(shell-command-to-string
"~/documents/signature/fortuneSignature my-file-name-signature")
)
)
up to now it also not so bad.
Now I want to customize my fortune signature according to the from
field, I use:
(header "From" ".*aaa.*\\|.*.eee.*\\|.*ttt.*"
(signature
(shell-command-to-string
"~/documents/signature/fortuneSignatureHumor my-file-name-signature")
)
)
the matter is that if use this method it would overwrite the fact that
I write my mail from a specific mail box. That is to say, the
my-file-name-signature (ex work, home, news ) is fixed.
So my question is how to get a «my-file-name-signature» bound to my
post style preference.
Sorry if i am not clear enough, my english is poor...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-01 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-01 14:08 signature + fortune + from ?? francois.lagarde
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).