From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 11099431E84 for ; Tue, 24 Jan 2012 16:43:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 ShnBAcyeAioa for ; Tue, 24 Jan 2012 16:43:46 -0800 (PST) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4A4A4431FB6 for ; Tue, 24 Jan 2012 16:43:46 -0800 (PST) Received: by wgbdt11 with SMTP id dt11so918486wgb.2 for ; Tue, 24 Jan 2012 16:43:43 -0800 (PST) Received: by 10.180.109.198 with SMTP id hu6mr7582226wib.16.1327452223594; Tue, 24 Jan 2012 16:43:43 -0800 (PST) Received: from localhost ([109.131.95.182]) by mx.google.com with ESMTPS id ex2sm57942961wib.1.2012.01.24.16.43.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 16:43:42 -0800 (PST) From: Pieter Praet To: Mark Walters , Mark Anderson , Aaron Ecay , David Edmondson , Jameson Graef Rollins , Austin Clements Subject: Re: [PATCH v4 2/3] emacs: `notmuch-show-buttonize-links' only `notmuch-show's a message if it exists In-Reply-To: <87pqecdmd1.fsf@qmul.ac.uk> References: <871uqsku4h.fsf@praet.org> <1327222469-29487-2-git-send-email-pieter@praet.org> <87pqecdmd1.fsf@qmul.ac.uk> User-Agent: Notmuch/0.11+113~g5a6e67e (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Wed, 25 Jan 2012 01:41:47 +0100 Message-ID: <87k44gsjec.fsf@praet.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnMDya9YCy+wvsa/lWIaqb+JkPP6VjcTQsxAA5jjXPosohN22ZRGR8Pn6tA/HnIt9QyM26t Content-Type: text/plain; charset=us-ascii Cc: Notmuch Mail 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: Wed, 25 Jan 2012 00:43:47 -0000 On Sun, 22 Jan 2012 11:10:02 +0000, Mark Walters wrote: > > > * emacs/notmuch-show.el (notmuch-show-if-found): new function that only shows > > a message/thread if present in the database and otherwise returns an error. > > I like this in principle but it interacts awkwardly with the automatic tag > exclusion. If the id: matches a message with an excluded tag > then notmuch-show-if-found will not let you view it, but if you typed the > same search in a search field it would show you the message. > > Note notmuch show currently does not currently respect excluded tags (see > id:"871uqvgrnm.fsf@qmul.ac.uk"), and this is not completely trivial to > fix since it is not clear quite what its behaviour should be in some > corner cases. > > Perhaps we could have an option like "--include-all" to notmuch > search/count to tell it not to apply the exclusions. On the other hand > that might also be useful as something the user can type in a search box > so a special search term (eg include:all) might be better. > Hmm, interesting... Sorry I haven't taken the time to have a look at your patch series yet. (I probably wouldn't have anything useful to contribute anyway...) I'll be taking a stab at fixing this when the exclusion-dust settles. Thanks for pointing it out! > Best wishes > > Mark > > Peace -- Pieter