From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10086 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: letting message-signature-file be a function Date: 05 Mar 1997 08:59:04 +0100 Sender: sb@norne.metis.no Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150013 22316 80.91.224.250 (20 Oct 2002 21:40:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:40:13 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id FAA14235 for ; Wed, 5 Mar 1997 05:09:31 -0800 Original-Received: from gw.metis.no (abel.metis.no [193.90.64.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 5 Mar 1997 08:59:44 +0100 Original-Received: by gw.metis.no (8.8.4/8.8.4) with ESMTP id IAA02254; Wed, 5 Mar 1997 08:59:10 +0100 (MET) Original-Received: by mailhub.metis.no (8.8.4/8.8.4) with ESMTP id IAA05719; Wed, 5 Mar 1997 08:59:05 +0100 (MET) Original-Received: by norne.metis.no (8.8.4/8.8.4) id IAA19754; Wed, 5 Mar 1997 08:59:05 +0100 (MET) Original-To: ding@ifi.uio.no Original-Lines: 22 X-Mailer: Gnus v5.4.16/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:10086 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10086 It would be nice if the content of message-signature-file could be a function that could evaluate to the signature file name. Right now I do this, by using message-signature, but then I have to have an additional function, like eg. (defun signature-get-body (sig-file-name) "Return the contents of sig-file-name, as a string." (save-excursion (set-buffer (get-buffer-create "*mumblefrotz*")) (insert-file-contents-literally sig-file-name) (prog1 (buffer-string) (kill-buffer nil)))) to get the body text of the signature. - Steinar -- ====================================== Steinar Bang, NCR Norge AS, METIS ED&D, P.O.Box 1094, N-3194 Horten, Norway Email: sb@metis.no, Phone: +47 33 03 57 16, Fax: +47 33 03 57 01