Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@metis.no>
Subject: Re: letting message-signature-file be a function
Date: 05 Mar 1997 14:40:35 +0100	[thread overview]
Message-ID: <whlo82cv8s.fsf@norne.metis.no> (raw)
In-Reply-To: Steinar Bang's message of 05 Mar 1997 08:59:04 +0100

>>>>> Steinar Bang <sb@metis.no>:

> 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.


-- 
===================<URL:http://www.metis.no/private/sb/>===================
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


  reply	other threads:[~1997-03-05 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-05  7:59 Steinar Bang
1997-03-05 13:40 ` Steinar Bang [this message]
1997-03-06  3:52 ` Lars Magne Ingebrigtsen
1997-03-05 14:40 St. Suika Roberts
1997-03-06  3:53 ` Lars Magne Ingebrigtsen

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=whlo82cv8s.fsf@norne.metis.no \
    --to=sb@metis.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).