Sam Peterson <[EMAIL PROTECTED]> writes:

Hi Sam,

> Hello, I know about gnus-posting-styles, but I'm at a bit of a loss as
> to how to customize this variable so that it uses a different
> signature for email messages and newsgroup messages.  I've looked
> around but haven't had any luck finding a solution.  All advice is
> greatly appreciated.

You can use something like that:

(setq gnus-posting-styles
      `((".*"
         (signature-file "~/.my-mail-sig.txt"))
        ("^nntp"
         (signature "Foo Bar Baz"))))

This will use the text of the file ~/.my-mail-sig.txt for every posting,
except it's in a group starting with nntp (= newsgroup).  There it will
use the string "Foo Bar Baz" as signature.

Bye,
Tassilo



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to