From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10087 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: letting message-signature-file be a function Date: 05 Mar 1997 14:40:35 +0100 Sender: sb@norne.metis.no Message-ID: References: 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 1035150014 22317 80.91.224.250 (20 Oct 2002 21:40:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:40:14 +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 GAA14357 for ; Wed, 5 Mar 1997 06:12:35 -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 14:41:12 +0100 Original-Received: by gw.metis.no (8.8.4/8.8.4) with ESMTP id OAA02941; Wed, 5 Mar 1997 14:40:40 +0100 (MET) Original-Received: by mailhub.metis.no (8.8.4/8.8.4) with ESMTP id OAA12601; Wed, 5 Mar 1997 14:40:35 +0100 (MET) Original-Received: by norne.metis.no (8.8.4/8.8.4) id OAA19979; Wed, 5 Mar 1997 14:40:36 +0100 (MET) Original-To: ding@ifi.uio.no In-Reply-To: Steinar Bang's message of 05 Mar 1997 08:59:04 +0100 Original-Lines: 24 X-Mailer: Gnus v5.4.16/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:10087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10087 >>>>> Steinar Bang : > 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. BTW this is a proposal for the TODO list of qgnus. -- ====================================== 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