unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Add /renew/ tag to moved/renamed/reflagged messages
@ 2015-03-04 13:07 Baptiste
  2015-03-04 14:31 ` [PATCH] " Baptiste
  2015-03-05  8:43 ` francois
  0 siblings, 2 replies; 6+ messages in thread
From: Baptiste @ 2015-03-04 13:07 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

Hi,

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 …

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

[-- Attachment #2.1: Type: text/html, Size: 2158 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-24  0:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).