unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: francois@avalenn.eu
To: Baptiste <public-bateast-EHH8LxVIriIiq3RsQ1AnAw@plane.gmane.org>
Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org
Subject: Re: Add /renew/ tag to moved/renamed/reflagged messages
Date: Thu, 5 Mar 2015 09:43:07 +0100	[thread overview]
Message-ID: <20150305084307.GA2983@fjo-extia-HPdeb.nsn-net.net> (raw)
In-Reply-To: <87ioegq5ca.fsf@vm_arch_64.bat.fr.eu.org>





On Wed, Mar 04, 2015 at 02:07:01PM +0100, Baptiste wrote:
> new messages are given a default (configurable) tag, typically /new/ …
> This is handy for automatic tagging.
> 
> What about another automatic tag to re-add to an existing mail when
> =notmuch new= detect a moved, renamed or reflagged message … This
> would allow something like tag synchro through an =IMAP= mailbox, or
> at least keep folder and tag organization coherent while a message
> is moved …

I would really like this too. An other use case is for mailing lists,
my messages are tagged with new when they appear in my outbox but I
would like to complete tags when receiving them via the mailing list.





> 
> my usecase is :
> - On PC A
>   - message /1/ is received from =IMAP= in default mail folder, given tag /new/
>   - message /1/ is automatically tagged /inbox/ (see /afew/)
> - On PC B
>   - message /1/ is received from =IMAP= in default mail folder, given tag /new/
>   - message /1/ is automatically tagged /inbox/ (see /afew/)
>   - manual tagging into mail client as /archive/
>   - mail is moved (see /afew/) to /Archives/ folder due to /archive/ tag
>   - message /1/ no more in default but /Archives/ folder is synchronized back to =IMAP= server
> - On PC A (not possible today)
>   - message /1/ is re-received from =IMAP= in /Archives/ folder, and removed from default mail folder, added tag /renew/
>     - (today, =notmuch new= just detect the moved file, and thanksfully keep existing tags)
>   - message /1/ is automatically tagged /archive/ due to presence in /Archives/ folder (and /renew/ tag)
> 
> Thank you,
> 
> -- 
> ~~^v^~~ Baptiste

      parent reply	other threads:[~2015-03-05  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 13:07 Add /renew/ tag to moved/renamed/reflagged messages Baptiste
2015-03-04 14:31 ` [PATCH] " Baptiste
2015-04-10 23:56   ` David Bremner
2015-04-11  9:12     ` Gaute Hope
2015-10-24  0:23   ` David Bremner
2015-03-05  8:43 ` francois [this message]

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=20150305084307.GA2983@fjo-extia-HPdeb.nsn-net.net \
    --to=francois@avalenn.eu \
    --cc=public-bateast-EHH8LxVIriIiq3RsQ1AnAw@plane.gmane.org \
    --cc=public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.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.
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).