From: Jack Vinson <jvinson@cheux.ecs.umass.edu>
Subject: Re: different signatures
Date: 22 Aug 1996 09:54:52 -0400 [thread overview]
Message-ID: <wod90j5xsj.fsf@cheux.ecs.umass.edu> (raw)
In-Reply-To: Peter Svaar's message of Wed, 21 Aug 1996 16:51:21 +0200
>>>>> "PS" == Peter Svaar <peter@svaar.no> writes:
PS> does anyone have a piece of code for using different signatures in
PS> different newsgroups? and possibly in mail as well, or at least a
PS> different signature i mail from the one you use for news.
Something like this should work. Basically, just check the
gnus-newsgroup-name against some regular expression and set the
message-signature-file appropriately. I have not tried this code recently,
though it has worked in the past.
;; Set the signature file depending on group
(defun jmv-set-signature-file ()
(cond ((string-match "comp.sys.ibm.pc.games" gnus-newsgroup-name)
(setq message-signature-file "~/.signature-comp.sys.ibm.pc.games"))
(t
(setq message-signature-file "~/.signature"))
))
(add-hooks message-mode-hook 'jmv-set-signature-file)
--
Jack Vinson jvinson@cheux.ecs.umass.edu
"I Spit on Your Grave" -- double feature at the drive-in as seen
"I Thumb Through Your Magazines" from the Qwik-E mart
next prev parent reply other threads:[~1996-08-22 13:54 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 [this message]
1996-08-22 15:40 ` Lars Magne Ingebrigtsen
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=wod90j5xsj.fsf@cheux.ecs.umass.edu \
--to=jvinson@cheux.ecs.umass.edu \
/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).