Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tobias Brink <tobias.brinkNO.SPAM@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Separate signature files for email and groups
Date: Fri, 15 Feb 2008 20:49:06 +0100	[thread overview]
Message-ID: <87abm2uhjh.fsf@tobe.homeunix.org> (raw)
In-Reply-To: <mailman.7456.1203103088.18990.info-gnus-english@gnu.org>

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

-- 
NEWS

  parent reply	other threads:[~2008-02-15 19:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15  3:25 Sam Peterson
2008-02-15  4:03 ` Allan
2008-02-15  7:58 ` Tassilo Horn
     [not found] ` <mailman.7431.1203062304.18990.info-gnus-english@gnu.org>
2008-02-15 10:03   ` Sam Peterson
2008-02-15 14:04   ` Sam Peterson
2008-02-15 19:04     ` Tassilo Horn
2008-02-15 15:59 ` Tobias Brink
2008-02-15 19:17   ` Tassilo Horn
2008-02-16  0:55     ` Reiner Steib
     [not found]   ` <mailman.7456.1203103088.18990.info-gnus-english@gnu.org>
2008-02-15 19:49     ` Tobias Brink [this message]
2008-02-15 21:01       ` Tassilo Horn
2008-02-15 22:24       ` Sam Peterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abm2uhjh.fsf@tobe.homeunix.org \
    --to=tobias.brinkno.spam@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).