From: David S Goldberg <david.goldberg6@verizon.net>
Subject: Re: Add another "nndraft" type ?
Date: Thu, 03 Jun 2004 16:16:31 -0400 [thread overview]
Message-ID: <u8z8yf42y8w.fsf@mm117419-pc.MITRE.ORG> (raw)
In-Reply-To: <plop87u0xsmoz8.fsf@gnu-rox.org> (Xavier Maillard's message of "Thu, 03 Jun 2004 21:16:27 +0200")
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
next prev parent reply other threads:[~2004-06-03 20:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 21:02 Xavier Maillard
2004-06-03 16:33 ` Kai Grossjohann
2004-06-03 17:15 ` David S Goldberg
2004-06-03 19:16 ` Xavier Maillard
2004-06-03 20:16 ` David S Goldberg [this message]
2004-06-04 6:13 ` Kai Grossjohann
2004-06-03 17:40 ` Xavier Maillard
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=u8z8yf42y8w.fsf@mm117419-pc.MITRE.ORG \
--to=david.goldberg6@verizon.net \
/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).