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 79276431FAF for ; Tue, 11 Dec 2012 01:00:47 -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 uYUN8AN1bBSv for ; Tue, 11 Dec 2012 01:00:47 -0800 (PST) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E1269431FAE for ; Tue, 11 Dec 2012 01:00:46 -0800 (PST) Received: by mail-wg0-f47.google.com with SMTP id dq11so1975483wgb.2 for ; Tue, 11 Dec 2012 01:00:44 -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=ylM8fHM1H1nJuLWiboHHrtVMqBHBuVdRRWXEw0QL6/0=; b=Qo5VeqyqKotw6xk/R3ZzoOPF/4gK08wTW/9QShDPsr1STkOfmeDNDZv7ypa9pk/fl9 LDOyi1es7R/Z52NwmjPny/crdtgHvshiWDhBBfqQVBED2uQu5tRBBksh9ZF9NnofHlLI efoH1bkKA1WhOX4Ni2F7I1/9QL8nj8A3Lbz9/k9YOFLzxiDCiwFxlaL+UGm4/dN0pqXv 4TNZkcYzgjdWUj+MGmRXB5cLjvuRb22wbvV44vLg8CP7gB2npjLlF7puLrw8ZSo8iYb5 6kHOB2Im0E6Uh5ZakgS2hn/N1p4sSpSKf6WnPOzUBO1C+2PpCqOH/rL9FJJw0PHfkgjC dapw== Received: by 10.216.227.99 with SMTP id c77mr371244weq.55.1355216444088; Tue, 11 Dec 2012 01:00:44 -0800 (PST) Received: from luz3.lille.inria.fr ([193.51.236.232]) by mx.google.com with ESMTPS id b1sm15376748wix.11.2012.12.11.01.00.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 01:00:42 -0800 (PST) From: Damien Cassou To: notmuch@notmuchmail.org Subject: Date: Tue, 11 Dec 2012 10:00:33 +0100 Message-Id: <1355216437-21109-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: Tue, 11 Dec 2012 09:00:47 -0000 From: Damien Cassou Subject: [PATCH v4] emacs: display tags in notmuch-show with links In-Reply-To: This patch obsoletes: id:1355149964-27905-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 v3, I took care of the comments you made: - the header-line now updates when tags are changed - the tags in the body stays clickable when tags are changed Additionally, I added two unit tests to cover the above two comments and fixed some others unit tests of mine.