From cc0a1690ecbce77fd8ee2ca7fd968e07e4f299c1 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 13 Dec 2012 14:09:23 +0100 Subject: [PATCH] [PATCH v5] emacs: display tags in notmuch-show with links --- 18/1ce36f93db8e211bbb463666d10f05f2fa4476 | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 18/1ce36f93db8e211bbb463666d10f05f2fa4476 diff --git a/18/1ce36f93db8e211bbb463666d10f05f2fa4476 b/18/1ce36f93db8e211bbb463666d10f05f2fa4476 new file mode 100644 index 000000000..e1c14f5f0 --- /dev/null +++ b/18/1ce36f93db8e211bbb463666d10f05f2fa4476 @@ -0,0 +1,83 @@ +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 019EF431FBC + for ; Thu, 13 Dec 2012 05:09:38 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.7 +X-Spam-Level: * +X-Spam-Status: No, score=1.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, 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 63J8f23e9gFw for ; + Thu, 13 Dec 2012 05:09:37 -0800 (PST) +Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com + [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 4E874431FB6 + for ; Thu, 13 Dec 2012 05:09:37 -0800 (PST) +Received: by mail-wi0-f175.google.com with SMTP id hm11so3877843wib.2 + for ; Thu, 13 Dec 2012 05:09:36 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:date:message-id:x-mailer; + bh=umhcH6xrrKx8ad772LnFA1LzWTGZlhh6VaMzE1Brzew=; + b=qO7MfyTchPHu/UpXM/WrAk9lsQQgvXe7HzBQHxAOVQC9Z2cthyCmkY086ollFl2ef5 + 2mGiHtL4/Dto3WGpWPu6l3X0vsl7Y4ZBe4JMlnKLgQoqg3U97uDGiQMBmsbbEYFRC0AI + lHnI430xwqi58O/TlToImntDqKOA6G6hQ/k6tiAS45Yyt51MiKNWj2K6v03fqy+NMDHj + heyQYM/G46D0OfuOfyIEIS0TkmvBQh+bltvgyEnxndPM2pxBOf/+r1psSSp/czidNLXw + aPHkGkkJC2VwlgbdlH3kz2eSZ4teQQsWJ7c1/dNP0waXJ5vVAkhX+lILuQ9K18ajW6Vu + 7wYA== +Received: by 10.180.78.161 with SMTP id c1mr3285858wix.4.1355404175878; + Thu, 13 Dec 2012 05:09:35 -0800 (PST) +Received: from luz3.lille.inria.fr ([193.51.236.232]) + by mx.google.com with ESMTPS id bz12sm2504214wib.5.2012.12.13.05.09.34 + (version=TLSv1/SSLv3 cipher=OTHER); + Thu, 13 Dec 2012 05:09:34 -0800 (PST) +From: Damien Cassou +To: notmuch@notmuchmail.org +Subject: [PATCH v5] emacs: display tags in notmuch-show with links +Date: Thu, 13 Dec 2012 14:09:23 +0100 +Message-Id: <1355404167-31750-1-git-send-email-damien.cassou@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +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: Thu, 13 Dec 2012 13:09:38 -0000 + +This patch obsoletes: +id:1355216437-21109-1-git-send-email-damien.cassou@gmail.com + +[PATCH 1/4] emacs: Add a thread's tags to notmuch-show header-line +[PATCH 2/4] emacs: Make tags in notmuch-show header-line clickable +[PATCH 3/4] emacs: Make all tags in `notmuch-show' clickable +[PATCH 4/4] emacs: Add unit-tests for clickable tags + +These patches make clickable all tags that appear in notmuch-show +buffers. Each tag is a link to open a new notmuch-search buffer for +this tag. Additionally, the buffer's header-line now shows the +thread's tags (clickable only if the `header-button' library is loaded +or loadable). + +These patches are the first of an upcoming series whose goal is to +integrate notmuch-labeler into notmuch. See the following for more +details: https://github.com/DamienCassou/notmuch-labeler + +With respect to v4, I took care of the comments you made: + +- integration of Mark Walters' patch to avoid duplicate update of the + header-line tags +- implementation of Mark Walters' comment on sorting header-line tags -- 2.26.2