From: David Edmondson <dme@dme.org>
To: "Tomi Ollila" <tomi.ollila@iki.fi>,
"Örjan Ekeberg" <ekeberg@kth.se>,
notmuch@notmuchmail.org
Subject: Re: Threading of forwarded messages
Date: Thu, 24 Jan 2019 10:08:17 +0000 [thread overview]
Message-ID: <m236pinzam.fsf@dme.org> (raw)
In-Reply-To: <m28szbhwsv.fsf@guru.guru-group.fi>
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.
next prev parent reply other threads:[~2019-01-24 10:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-22 22:15 Threading of forwarded messages Örjan Ekeberg
2019-01-23 21:46 ` Tomi Ollila
2019-01-23 23:28 ` Örjan Ekeberg
2019-01-24 21:20 ` [RFC PATCH] forward: Add References header to " Örjan Ekeberg
2019-01-24 10:08 ` David Edmondson [this message]
2019-09-03 10:17 ` Threading of " David Bremner
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m236pinzam.fsf@dme.org \
--to=dme@dme.org \
--cc=ekeberg@kth.se \
--cc=notmuch@notmuchmail.org \
--cc=tomi.ollila@iki.fi \
/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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).