[PATCH 0/6] emacs: customization for tag changes on archive
authorJani Nikula <jani@nikula.org>
Sun, 2 Sep 2012 19:57:59 +0000 (22:57 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:18 +0000 (09:49 -0800)
a7/73a9fc9884ddab6229119bc79b6d5ce26817b4 [new file with mode: 0644]

diff --git a/a7/73a9fc9884ddab6229119bc79b6d5ce26817b4 b/a7/73a9fc9884ddab6229119bc79b6d5ce26817b4
new file mode 100644 (file)
index 0000000..bbe194c
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 48CF0431FB6\r
+       for <notmuch@notmuchmail.org>; Sun,  2 Sep 2012 12:58:13 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id P-FSbIMye3Uo for <notmuch@notmuchmail.org>;\r
+       Sun,  2 Sep 2012 12:58:12 -0700 (PDT)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 96CED431FAF\r
+       for <notmuch@notmuchmail.org>; Sun,  2 Sep 2012 12:58:12 -0700 (PDT)\r
+Received: by lbbgk1 with SMTP id gk1so2402453lbb.26\r
+       for <notmuch@notmuchmail.org>; Sun, 02 Sep 2012 12:58:09 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+       bh=pwDUzsYfONBU9FPMlxAPemFHxkrPgfOPo6hAUtD/H6Q=;\r
+       b=ThUtwjekpPhUebQy1IwJvyzW1/etUl9+b3/B/jDcGeTDkrmG9yEeZjngi+J2gblkdh\r
+       43bmfBTJsEn7IYQ8GuJR+qPCq/ghch43FWdoIMmCSxSzLbyKJ0xf//6VcDm/lC+mjo7u\r
+       Vm+qF0jJTIY6lrFdGY8Poxl2Ph9zR0QPRasA7SvBDcSU/e/Y5XQiFoUODzewMd/tohNo\r
+       fBCldW7raFt+K9ymEZi1cOHS76il38qBy5GfvvRVkac3Y1opT6yyZgJ1U/XFLZ2J99le\r
+       I2wiVe2Kg6Dfrutxm0MBeFNTiBEvW0ZxqR2hb4/fvASE021+l3aFzfN9qKVQwA0gGfFM\r
+       7KJg==\r
+Received: by 10.152.123.140 with SMTP id ma12mr12081785lab.22.1346615889727;\r
+       Sun, 02 Sep 2012 12:58:09 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+       [80.223.81.27]) by mx.google.com with ESMTPS id\r
+       lr17sm11352845lab.12.2012.09.02.12.58.07\r
+       (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 12:58:08 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/6] emacs: customization for tag changes on archive\r
+Date: Sun,  2 Sep 2012 22:57:59 +0300\r
+Message-Id: <cover.1346614915.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.9.5\r
+X-Gm-Message-State:\r
+ ALoCoQl7Tgiy3o6gui5ubyrX1yAVAepiIUmQsV3eyuVzto2ueq4ehIrDfSjch4cuPkF5kau0a6Zj\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 02 Sep 2012 19:58:13 -0000\r
+\r
+Hi all, Michal Nazarewicz added customization for tag changes on marking\r
+messages as read (commit 1f30f7d2). This series does the same for\r
+archiving, with some cleanups and minor refactoring. As the tag changes\r
+may now be more complicated than simple "-inbox" or "-unread", add\r
+support for "unarchiving" and "unreading" as well.\r
+\r
+After this, all the tags recognized and treated special by the emacs\r
+interface can be customized.\r
+\r
+An interesting by-product is that you can filter your mail into multiple\r
+different inboxes, each with their own inbox tag, and (after you setup\r
+`notmuch-archive-tags') you can read and archive each inbox separately\r
+with built-in archiving functions.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (6):\r
+  emacs: add helper for tag change list manipulation\r
+  emacs: fix notmuch-message-replied-tags defcustom type\r
+  emacs: use new tag change helper to mark messages as replied\r
+  emacs: add support for custom tag changes on message/thread archive\r
+  emacs: add support for reversing notmuch-search-archive-thread tag\r
+    changes\r
+  emacs: add support for reversing notmuch-show-mark-read tag changes\r
+\r
+ emacs/notmuch-lib.el     |   14 ++++++++++++\r
+ emacs/notmuch-message.el |   26 ++++++++++------------\r
+ emacs/notmuch-show.el    |   54 +++++++++++++++++++++++++++++++---------------\r
+ emacs/notmuch-tag.el     |   17 +++++++++++++++\r
+ emacs/notmuch.el         |   16 ++++++++++----\r
+ 5 files changed, 91 insertions(+), 36 deletions(-)\r
+\r
+-- \r
+1.7.9.5\r
+\r