Threading of forwarded messages
David Edmondson
dme at dme.org
Thu Jan 24 02:08:17 PST 2019
On Wednesday, 2019-01-23 at 23:46:24 +02, Tomi Ollila wrote:
> On Tue, Jan 22 2019, Örjan Ekeberg wrote:
>> Adding to the wishlist; it would be nice if forwarded messages could
>> also be tagged as "forwarded", much like how replied messages are tagged
>> "replied". I guess this could be done via some sort of forward-hook,
>> but I can not find anything like this.
>
> replied is added in notmuch-message-mark-replied called via
> message-send-hook -- and notmuch-message-mark-replied looks for In-Reply-To
> header and some other stuff (did not look deeply enough) to determine
> whether to add notmuch-message-replied-tags... and it looks this hook
> is run to all messages to be send...
>
> ...cannot say directly whether some other message processing could be used
> to do to add "forwarded-tags" -- or alternatively making notmuch-send-hook
> buffer-local to the message buffer created by
> notmuch-mua-new-forward-messages and then just add-hook'ing code to
> do the tagging operation at send time.
>
> Marked the replied message with notmuch::wishlist in
> https://nmbug.notmuchmail.org/status/
Having a standard hook that adds tags when the message is sent based on
a (typically buffer local) variable would be a convenient and generally
useful approach.
dme.
--
Ah, oh your hair is beautiful.
More information about the notmuch
mailing list