From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16819 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: fortune on the end of .signature Date: 09 Sep 1998 09:44:38 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: 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 1035155628 30051 80.91.224.250 (20 Oct 2002 23:13:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:13:48 +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 DAA18870 for ; Wed, 9 Sep 1998 03:45:48 -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 CAF31183; Wed, 9 Sep 1998 02:16:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Sep 1998 02:45:39 -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 CAA18978 for ; Wed, 9 Sep 1998 02:45:08 -0500 (CDT) Original-Received: from waldorf.informatik.uni-dortmund.de (waldorf.informatik.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA18861 for ; Wed, 9 Sep 1998 03:44:48 -0400 (EDT) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.informatik.uni-dortmund.de [129.217.20.180]) by waldorf.informatik.uni-dortmund.de with SMTP id JAA24812; Wed, 9 Sep 1998 09:44:39 +0200 (MES) Original-Received: by ramses.informatik.uni-dortmund.de id JAA13444; Wed, 9 Sep 1998 09:44:38 +0200 Original-To: Phil Humpherys In-Reply-To: Phil Humpherys's message of "08 Sep 1998 22:59:55 -0600" Original-Lines: 18 X-Mailer: Pterodactyl Gnus v0.22/Emacs 20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16819 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16819 >>>>> On 08 Sep 1998, Phil Humpherys said: Phil> What's the lisp that I would use to have gnus append an Phil> invocation of the fortune program on the end of each article Phil> or email I send out? Untested: (defun my-message-do-fortune () (save-excursion (message-goto-signature) (forward-line 3) ; change this according to length of sig! (call-process "/usr/bin/fortune" nil t nil))) (add-hook 'message-setup-hook 'my-message-do-fortune) kai -- OOP: object oriented programming; OOPS: object oriented mistakes