From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: proper hook for message body transform?
Date: Fri, 09 Sep 2011 21:07:10 +0800 [thread overview]
Message-ID: <87d3f96f0h.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m1sjo6j5ud.fsf@gmail.com>
On Fri, Sep 09 2011, Leo wrote:
> On 2011-09-09 19:35 +0800, Eric Abrahamsen wrote:
>> I hope someone can give me a little advice on a project I'm working on.
>> I'm trying to put tags into a message body that will "do things"
>
> Put a new header name (e.g. X-Org-Tags) in message-default-headers. Add
> a message-send-hook that does whatever you want to do.
Yes! I had the same idea, but it seemed conceptually wrong -- this
information is never leaving my local machine, and no mail servers or
mail recipients would ever know what to do with such a header. In that
case a removable tag in the message body seemed like the better choice.
I'll settle on message-send-hook as the one to use, but I guess I'll
have to experiment with both the tag and header routes before making a
decision.
Thanks!
next prev parent reply other threads:[~2011-09-09 13:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-09 11:35 Eric Abrahamsen
2011-09-09 11:46 ` Leo
2011-09-09 13:07 ` Eric Abrahamsen [this message]
2011-09-12 6:56 ` Reiner Steib
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=87d3f96f0h.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).