info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Separate signature files for email and groups


From: Sam Peterson
Subject: Re: Separate signature files for email and groups
Date: Fri, 15 Feb 2008 14:24:37 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Tobias Brink <tobias.brinkNO.SPAM@gmail.com> on Fri, 15 Feb 2008
20:49:06 +0100 didst step forth and proclaim thus:

> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> Tobias Brink <tobias.brinkNO.SPAM@gmail.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]