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 9CFB8429E40 for ; Sun, 2 Jun 2013 05:35:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 wXKQciBocMht for ; Sun, 2 Jun 2013 05:35:49 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 84071429E25 for ; Sun, 2 Jun 2013 05:35:49 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 4F934100030; Sun, 2 Jun 2013 15:35:46 +0300 (EEST) From: Tomi Ollila To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread In-Reply-To: <1370123352-13806-1-git-send-email-markwalters1009@gmail.com> References: <1370123352-13806-1-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.15.2+115~g12cf6af (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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 Jun 2013 12:35:57 -0000 On Sun, Jun 02 2013, Mark Walters wrote: > Previously pick removed the unread tag from its tag display: since the > tag change is now customisable use the customised variable. > > This only affected the tags displayed, not the tags in the database as > notmuch-show (in the view pane) did the actual tag changes. > --- > > Thanks to Tomi for pointing this out in > id:m2r4mecofa.fsf@guru.guru-group.fi LGTM :D Tomi > > Best wishes > > Mark > > contrib/notmuch-pick/notmuch-pick.el | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el > index 128fabf..9079acf 100644 > --- a/contrib/notmuch-pick/notmuch-pick.el > +++ b/contrib/notmuch-pick/notmuch-pick.el > @@ -384,7 +384,8 @@ Does NOT change the database." > (with-current-buffer buffer > (setq notmuch-pick-message-window window) > (add-hook 'kill-buffer-hook 'notmuch-pick-message-window-kill-hook))) > - (notmuch-pick-tag-update-display (list "-unread")) > + (when notmuch-show-mark-read-tags > + (notmuch-pick-tag-update-display notmuch-show-mark-read-tags)) > (setq notmuch-pick-message-buffer buffer)))) > > (defun notmuch-pick-show-message-out () > -- > 1.7.9.1 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch