unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Add support for specifying tags during "notmuch new"
@ 2014-05-02  8:15 David Edmondson
  2014-05-02  8:15 ` [PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same David Edmondson
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: David Edmondson @ 2014-05-02  8:15 UTC (permalink / raw)
  To: notmuch

This patch set allows a user to specify a list of tags to be
added/removed to messages discovered during "notmuch new".

Two use-cases are envisaged:
    1) A chunk of messages was just dumped into the configured
       directory by hand, and the user doesn't want the 'inbox' tag
       applied to them. Run 'notmuch new -inbox'.
    2) A periodic mail processing script wants to add new messages to
       the database, then process those newly added messages to add
       convenience tags, etc. without worrying about the user or other
       instances of the script manipulating tags at the same time. Use
       this approach:
         KEY=$RANDOM
	 notmuch new +$KEY
	 notmuch tag +notmuch tag:$KEY and to:notmuch@notmuchmail.org
	 notmuch tag +gnus tag:$KEY and to:ding@gnus.org
	 ...
	 notmuch tag -$KEY tag:$KEY

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

end of thread, other threads:[~2014-07-13 11:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-02  8:15 Add support for specifying tags during "notmuch new" David Edmondson
2014-05-02  8:15 ` [PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same David Edmondson
2014-05-02  8:15 ` [PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated David Edmondson
2014-05-02  8:15 ` [PATCH 3/5] notmuch-new: Manual: Add command line tags David Edmondson
2014-05-02  8:15 ` [PATCH 4/5] NEWS: Add information about "notmuch new" " David Edmondson
2014-05-02  8:15 ` [PATCH 5/5] Test: Add tests for " David Edmondson
2014-05-02 12:11 ` [PATCH v2 0/5] Add support for specifying tags during "notmuch new" David Edmondson
2014-05-02 12:14   ` [PATCH 1/5] notmuch-new: Use tag_op_list_apply() rather than hand-coding the same David Edmondson
2014-05-02 12:14   ` [PATCH 2/5] notmuch-new: Allow the tags of new messages to be manipulated David Edmondson
2014-05-02 12:14   ` [PATCH 3/5] notmuch-new: Manual: Add command line tags David Edmondson
2014-05-02 12:14   ` [PATCH 4/5] NEWS: Add information about "notmuch new" " David Edmondson
2014-05-02 12:14   ` [PATCH 5/5] Test: Add tests for " David Edmondson
2014-05-02 14:07   ` [PATCH v2 0/5] Add support for specifying tags during "notmuch new" Mark Walters
2014-05-02 15:18 ` Austin Clements
2014-05-02 15:32   ` David Edmondson
2014-07-12 19:08   ` David Bremner
2014-07-13  3:40     ` Austin Clements
2014-07-13 11:58       ` David Bremner

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