From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16818 Path: main.gmane.org!not-for-mail From: Kees de Bruin Newsgroups: gmane.emacs.gnus.general Subject: Re: fortune on the end of .signature Date: Wed, 9 Sep 1998 07:42:36 +0200 (MEST) Organization: Tasking Software BV, Amersfoort, The Netherlands Sender: owner-ding@hpc.uh.edu Message-ID: <13814.5452.142176.492314@kouvola.tasking.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035155627 30043 80.91.224.250 (20 Oct 2002 23:13:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:13:47 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA17100 for ; Wed, 9 Sep 1998 01:41:41 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id AAF30866; Wed, 9 Sep 1998 00:12:44 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Sep 1998 00:41:29 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id AAA17519 for ; Wed, 9 Sep 1998 00:41:16 -0500 (CDT) Original-Received: from ns.tasking.nl (ns.tasking.nl [195.193.207.2]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA17087 for ; Wed, 9 Sep 1998 01:41:02 -0400 (EDT) Original-Received: (from root@localhost) by ns.tasking.nl (8.8.4/8.6.12) id HAA01042; Wed, 9 Sep 1998 07:40:18 +0200 (MET DST) Original-Received: by ns.tasking.nl via smap (V1.3) id sma000672; Wed, 9 Sep 98 07:38:48 +0200 Original-Received: from kouvola.tasking.nl by empoli.tasking.nl; (5.65v3.2/1.1.8.2/23Dec97-1135AM) id AA22555; Wed, 9 Sep 1998 07:42:36 +0200 Original-Received: (from bruin@localhost) by kouvola.tasking.nl (8.8.7/8.6.9) id HAA08734; Wed, 9 Sep 1998 07:42:36 +0200 X-Authentication-Warning: kouvola.tasking.nl: bruin set sender to kees_de_bruin@tasking.com using -f Original-To: Phil Humpherys In-Reply-To: X-Mailer: VM 6.61 under Emacs 20.3.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16818 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16818 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 ]---