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 A0BE9431FB6 for ; Mon, 10 Dec 2012 08:05:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.401 X-Spam-Level: * X-Spam-Status: No, score=1.401 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 pK9Py4VZVCoG for ; Mon, 10 Dec 2012 08:05:33 -0800 (PST) Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DBAAA431FAF for ; Mon, 10 Dec 2012 08:05:32 -0800 (PST) Received: from smtp.qmul.ac.uk ([138.37.6.40]) by mail2.qmul.ac.uk with esmtp (Exim 4.71) (envelope-from ) id 1Ti5r7-0006ln-Oj; Mon, 10 Dec 2012 16:05:29 +0000 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Ti5r7-0000NV-As; Mon, 10 Dec 2012 16:05:21 +0000 From: Mark Walters To: Damien Cassou , notmuch@notmuchmail.org Subject: Re: [PATCH v3] emacs: display tags in notmuch-show with links In-Reply-To: <1355149964-27905-1-git-send-email-damien.cassou@gmail.com> References: <1355149964-27905-1-git-send-email-damien.cassou@gmail.com> User-Agent: Notmuch/0.14+155~g7edfdc3 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Mon, 10 Dec 2012 16:05:23 +0000 Message-ID: <87boe1yjss.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender-Host-Address: 93.97.24.31 X-QM-SPAM-Info: Sender has good ham record. :) X-QM-Body-MD5: 0878f369ea640389694f568bba45616d (of first 20000 bytes) X-SpamAssassin-Score: -1.2 X-SpamAssassin-SpamBar: - X-SpamAssassin-Report: The QM spam filters have analysed this message to determine if it is spam. We require at least 5.0 points to mark a message as spam. This message scored -1.2 points. Summary of the scoring: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [138.37.6.40 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (markwalters1009[at]gmail.com) * 1.0 FREEMAIL_REPLY From and body contain different freemails * 0.1 AWL AWL: From: address is in the auto white-list X-QM-Scan-Virus: ClamAV says the message is clean 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: Mon, 10 Dec 2012 16:05:33 -0000 On Mon, 10 Dec 2012, Damien Cassou wrote: > This patch obsoletes: > id:1353266322-20318-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 > > 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 Hi I like this series but there are two (related) problems that I missed on earlier review. The first is that the headerline tags are not updated when the user tags a message, and the second is that the tags for the message itself (ie in the emacs buffer not the headerline) are updated but cease to be buttons. I think the function notmuch-show-update-tags is the one that does the updating of the display. (Incidentally that seems to break if the user likes tags containing brackets). This is probably the place to link to as there are lots of ways messages get tagged. Best wishes (and sorry for not catching this before) Mark > > With respect to v2, I took care of the comments you made: > - moved notmuch-tagger-separate-elems to notmuch-lib > - renamed a few methods > - changed some comments to better reflect the method behavior > - changed links in the body so that TAB won't stop at them > - changed miscellaneous small things > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch