From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57825 Path: main.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Add another "nndraft" type ? Date: Thu, 03 Jun 2004 16:16:31 -0400 Organization: I Yam What I Yam Sender: ding-owner@lists.math.uh.edu Message-ID: References: <86n03kha99.fsf@rumba.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086293858 9634 80.91.224.253 (3 Jun 2004 20:17:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2004 20:17:38 +0000 (UTC) Original-X-From: ding-owner+M6366@lists.math.uh.edu Thu Jun 03 22:17:23 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVyeR-0007ti-00 for ; Thu, 03 Jun 2004 22:17:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BVyds-0001uT-00; Thu, 03 Jun 2004 15:16:48 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BVydk-0001uL-00 for ding@lists.math.uh.edu; Thu, 03 Jun 2004 15:16:40 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BVydj-00024x-Tu for ding@lists.math.uh.edu; Thu, 03 Jun 2004 15:16:39 -0500 Original-Received: from smtp-bedford.mitre.org (smtp-bedford-x.mitre.org [192.160.51.76]) by justine.libertine.org (Postfix) with ESMTP id 0649F3A003C for ; Thu, 3 Jun 2004 15:16:39 -0500 (CDT) Original-Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i53KGbd27340 for ; Thu, 3 Jun 2004 16:16:38 -0400 Original-Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i53KGa327316 for ; Thu, 3 Jun 2004 16:16:36 -0400 Original-Received: from blackbird.mitre.org (129.83.3.57) by mailhub2.mitre.org with SMTP id 3055233; Thu, 03 Jun 2004 16:16:28 -0400 Original-To: ding@gnus.org X-Face: GUaHTH@nS>[7,ME@-gYZ4#Wl{z"99k@[[Y8AcP0x1paqu.,z9,XSV1WI>{q3f6^e5(zrit <4fV&VHhmE`uidRqtmG27;si9&r;#KSF~E#$%W8w(xdp)H4tW=\2XOk~3=@oGqqpj;m4xf Ow;y26396&,34@9#~4;@*S;E0cq"LM9N(us4P%F(Nxis'Vvfm9?KufH;:Q$dMa-QWGLR&K d0`LJZE8xb*>^yN>b]_NcU:E=Zn\1=#/(OS2 In-Reply-To: (Xavier Maillard's message of "Thu, 03 Jun 2004 21:16:27 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Portable Code, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57825 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57825 I've stripped this down horribly but I think it gives the right idea (and it works as is). After setting up a template like this you just M-x tempo-template-outage-notice And it prompts for the elements it needs, fills them in and inserts the whole thing at point. The doc string for tempo-define-template describes the different format possibilities in detail. I haven't tried any but what's here. (tempo-define-template "outage-notice" '((P "date: " outdate) (P "time: " outtime) (P "machine:" outsubj) " NOTICE: On " (s outdate) " at " (s outtime) ", " (s outsubj) " will be taken off line for maintenance. Send email to the help center if you have questions.")) -- Dave Goldberg david.goldberg6@verizon.net