Tobias Brink <[EMAIL PROTECTED]> on Fri, 15 Feb 2008
20:49:06 +0100 didst step forth and proclaim thus:

> Tassilo Horn <[EMAIL PROTECTED]> writes:
>
>> Tobias Brink <[EMAIL PROTECTED]> writes:
>>
>> Hi Tobias,
>>
>>> How about the following?
>>>
>>> (setq gnus-posting-styles
>>>   '(((message-news-p)
>>>      (signature "This is my news sig")
>>>      )
>>>
>>>     ((message-mail-p)
>>>      (signature "This is my mail sig")
>>>      )))
>>
>> That won't work.  The regexps of posting styles are matched against
>> group names.  But you could use those functions to add a signature, too.
>
> I tested it and it worked.  As soon as I started a new e-mail it
> attached the signature for mail.  For news see the sig in this post,
> it was automatically created.  I'm using Gnus v5.11 with GNU Emacs
> 22.1.1 if this makes any difference.
>
> Did I misunderstand the requirements of the OP?
>
> HTH, nonetheless,
> Tobias

Thanks!  This worked nicely.

-- 
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to