Gnus development mailing list
 help / color / mirror / Atom feed
From: Kees de Bruin <kees_de_bruin@tasking.com>
Cc: ding@gnus.org
Subject: Re: fortune on the end of .signature
Date: Wed, 9 Sep 1998 07:42:36 +0200 (MEST)	[thread overview]
Message-ID: <13814.5452.142176.492314@kouvola.tasking.nl> (raw)
In-Reply-To: <m367exq3sk.fsf@udp009900uds.iomega.com>

Phil Humpherys writes:

> What's the lisp that I would use to have gnus append an
> invocation of the fortune program on the end of each article or
> email I send out?

The quote within the square brackets at the end of my signature is randomly
generated from a file with quotes using the following setup:

(setq message-signature-file (expand-file-name "~/.signature")
      message-signature 'kdb/gnus-select-signature
      )

(defun kdb/gnus-select-signature ()
  (interactive)
  (kdb/generate-signature)
  t)

(defun kdb/generate-signature ()
  (interactive)
  ;; stuff to generate your signature is ~/.signature
  )

All you have to do is create the function `kdb/generate-signature' to
generate a proper ~/.signature file.

-- 
Kees de Bruin                                             Software Engineer
---------------------------------------------------------------------------
E-mail:  kees_de_bruin@tasking.com                      Tasking Software BV
Voice:   +31-33-455 85 84                               Plotterweg 31
Fax:     +31-33-455 00 03                               3821 BB  Amersfoort
WWW:     http://www.tasking.com                         The Netherlands
---[ A hen is only an egg's way of making another egg -- Samuel Butler ]---


  reply	other threads:[~1998-09-09  5:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-09  4:59 Phil Humpherys
1998-09-09  5:42 ` Kees de Bruin [this message]
1998-09-09  7:44 ` Kai Grossjohann
1998-09-09 12:44 ` Vladimir Volovich
1998-09-09 16:05 ` Manoj Srivastava

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=13814.5452.142176.492314@kouvola.tasking.nl \
    --to=kees_de_bruin@tasking.com \
    --cc=ding@gnus.org \
    /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).