From: Damien Cassou Date: Sun, 18 Nov 2012 19:18:38 +0000 (+0100) Subject: [PATCH v2] emacs: display tags in notmuch-show with links X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=52668793c0085b870a63fd68b5e5470efc8fbc0a;p=notmuch-archives.git [PATCH v2] emacs: display tags in notmuch-show with links --- diff --git a/a2/e0c7b7bfb9b57caa2145be5abdf9d63d77ff4a b/a2/e0c7b7bfb9b57caa2145be5abdf9d63d77ff4a new file mode 100644 index 000000000..ac220f9b2 --- /dev/null +++ b/a2/e0c7b7bfb9b57caa2145be5abdf9d63d77ff4a @@ -0,0 +1,88 @@ +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 C8656431FBD + for ; Sun, 18 Nov 2012 11:19:02 -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 N3expZNIVcZ0 for ; + Sun, 18 Nov 2012 11:19:02 -0800 (PST) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 155E8431FB6 + for ; Sun, 18 Nov 2012 11:19:01 -0800 (PST) +Received: by mail-wi0-f173.google.com with SMTP id hm2so5335598wib.2 + for ; Sun, 18 Nov 2012 11:19:00 -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=0R6Ur3kaZ4/yjybt7s7jxztm5il0Hx0nAQr5JLcDNhk=; + b=tLCn49TebTL1TUvtFw+aKkQImLeeqmLT3whUUBFIn6vEJsml84UUqqvaCpVf/aq6WS + rOyUJVhbtsLL+yuYh65npN4xPzzdi1yDsqx2f/qgtqs8Lvq+ypy1VE2xn5AVCGbvEVRd + jThstLeCDWVc8ILOxfG6up68sh7446c5eQqL1K2DOZf4fFhZCTnGGesjvjBJ8PfFzvr6 + XinG16Dx0no8fOOjKI64yz1KvGDW9qSRm4APpA8oqJJ/b5VKTXi7OUHU/C9v0ABkU4zf + unXq2JLlX3XDyGVxNTvqLCMqk9eu7z352YsWSDLL53cb58dcXITYWAiHMBbQdBtm7Qu7 + 4xWQ== +Received: by 10.180.93.136 with SMTP id cu8mr6030591wib.7.1353266340548; + Sun, 18 Nov 2012 11:19:00 -0800 (PST) +Received: from localhost.localdomain (ble59-4-82-228-190-150.fbx.proxad.net. + [82.228.190.150]) + by mx.google.com with ESMTPS id i2sm10290063wiw.3.2012.11.18.11.18.58 + (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 18 Nov 2012 11:18:59 -0800 (PST) +From: Damien Cassou +To: notmuch mailing list +Subject: [PATCH v2] emacs: display tags in notmuch-show with links +Date: Sun, 18 Nov 2012 20:18:38 +0100 +Message-Id: <1353266322-20318-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: Sun, 18 Nov 2012 19:19:02 -0000 + +This patch obsoletes +id:1352565719-12397-1-git-send-email-damien.cassou@gmail.com + +[PATCH 1/4] emacs: Add a thread's tags to emacs header-line +[PATCH 2/4] emacs: Make tags in header-line clickable +[PATCH 3/4] emacs: Make tags that appear in `notmuch-show' clickable +[PATCH 4/4] emacs: Add unit-tests for clickable tags in notmuch-show + +This patch makes 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). + +This patch is the first one 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 v2, I took care of the comments you made: +- The header-button library is not attached to the patch anymore. The + tags in the header-line are always displayed but made clickable only + if the library is loaded or loadable. +- The large patch is separated into a series of 4 smaller patches. + +You can follow this patch series on +https://github.com/DamienCassou/notmuch/tree/labeler-integration-slow