From: Didier Verna <didier@xemacs.org>
To: ding@gnus.org
Subject: Re: using templates to write articles (email)
Date: Fri, 10 Jun 2011 21:32:56 +0200 [thread overview]
Message-ID: <m2ei318ot3.fsf@xemacs.org> (raw)
In-Reply-To: <87fwnhd0mx.fsf@yun.yagibdah.de> (lee@yun.yagibdah.de's message of "Fri, 10 Jun 2011 20:03:50 +0200")
lee <lee@yun.yagibdah.de> wrote:
> is there some sort of support built into gnus for writing articles
> (email) from templates? Such templates would contain either headers or
> a body, or a combination of both.
Personally, I do already a lot of templating based on a combination of
topic/group parameters and posting styles (e.g. headers, addresses,
signatures, even language for spell checking etc).
So I guess you could go down this road. You can add any variable to a
topic/group parameter, for example a skeleton text. Then, what you can
do is write a message-setup-hook function that looks in there and fill
your message with the appropriate contents.
All of this provided that group-based templating is what you have in
mind of course.
--
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
next prev parent reply other threads:[~2011-06-10 19:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 18:03 lee
2011-06-10 18:53 ` Eric Abrahamsen
2011-06-10 20:41 ` lee
2011-06-10 19:32 ` Didier Verna [this message]
2011-06-10 20:46 ` lee
2011-06-11 17:22 ` Dan Christensen
2011-06-13 0:33 ` solved: " lee
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=m2ei318ot3.fsf@xemacs.org \
--to=didier@xemacs.org \
--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).