Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: different signatures
Date: 22 Aug 1996 17:40:21 +0200	[thread overview]
Message-ID: <x620gzpguy.fsf@eyesore.no> (raw)
In-Reply-To: Peter Svaar's message of Wed, 21 Aug 1996 16:51:21 +0200

Peter Svaar <peter@svaar.no> writes:

> does anyone have a piece of code for using different signatures in different
> newsgroups? and possibly in mail as well, or at least a different signature
> i mail from the one you use for news.

Howzabout:

(setq message-signature
      (lambda ()
	(cond
	 ((null gnus-newsgroup-name)
	  "Lala")
	 ((string-match "^nnml:" gnus-newsgroup-name)
	  "This is my mail group signature")
	 (t
	  "This is my standard signature"))))

Embellish as needed.

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


  parent reply	other threads:[~1996-08-22 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-21 14:51 Peter Svaar
1996-08-22 13:54 ` Jack Vinson
1996-08-22 15:40 ` Lars Magne Ingebrigtsen [this message]
1996-08-22 17:18 ` Michael Harnois

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=x620gzpguy.fsf@eyesore.no \
    --to=larsi@ifi.uio.no \
    /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).