From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7702 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: different signatures Date: 22 Aug 1996 17:40:21 +0200 Message-ID: References: <199608211451.QAA03648@cray.svaar.no> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147980 8262 80.91.224.250 (20 Oct 2002 21:06:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:06:20 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id JAA23681 for ; Thu, 22 Aug 1996 09:35:49 -0700 Original-Received: from ylfing.ifi.uio.no (ylfing.ifi.uio.no [129.240.94.25]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 22 Aug 1996 17:59:10 +0200 Original-Received: (from larsi@localhost) by ylfing.ifi.uio.no ; Thu, 22 Aug 1996 17:59:09 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Peter Svaar's message of Wed, 21 Aug 1996 16:51:21 +0200 X-Mailer: Red Gnus v0.14/Emacs 19.29 Original-Lines: 23 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ 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."