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