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 C0F77431FAF for ; Thu, 19 Jan 2012 14:46:28 -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 HV7C4+STu+ww for ; Thu, 19 Jan 2012 14:46:28 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3DAC9431FAE for ; Thu, 19 Jan 2012 14:46:28 -0800 (PST) Received: by wgbdt12 with SMTP id dt12so460240wgb.2 for ; Thu, 19 Jan 2012 14:46:27 -0800 (PST) Received: by 10.180.91.201 with SMTP id cg9mr47689862wib.15.1327013187149; Thu, 19 Jan 2012 14:46:27 -0800 (PST) Received: from localhost ([109.131.97.13]) by mx.google.com with ESMTPS id eb2sm30514269wib.0.2012.01.19.14.46.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 14:46:26 -0800 (PST) From: Pieter Praet To: Mark Walters , Austin Clements Subject: Re: [PATCH v3 2/2] search: Support automatic tag exclusions In-Reply-To: <874nvric7c.fsf@qmul.ac.uk> References: <1326586654-16840-3-git-send-email-amdragon@mit.edu> <1327000744-25463-1-git-send-email-pieter@praet.org> <20120119193647.GN16740@mit.edu> <87pqef4fuk.fsf@qmul.ac.uk> <87zkdjmofb.fsf@qmul.ac.uk> <20120119202839.GQ16740@mit.edu> <874nvric7c.fsf@qmul.ac.uk> User-Agent: Notmuch/0.11+99~gab86e73 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Thu, 19 Jan 2012 23:44:36 +0100 Message-ID: <87ty3ruxbf.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Notmuch Mail , Aaron Ecay 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: Thu, 19 Jan 2012 22:46:28 -0000 On Thu, 19 Jan 2012 22:01:27 +0000, Mark Walters wrote: > > > > I am happy with them appearing as a non matching message, but currently > > > they appear as a full open message. (The patch to achieve this is > > > trivial: essentially transpose part of Austin's patch of > > > notmuch-search.c into notmuch-show.c) > > > > This definitely sounds like the right thing to do. We can argue about > > more sophisticated UIs, but it should do this at a minimum. > > I will post the trivial patch in a moment (trivial but I could easily > have done something stupid). > > I haven't written a test yet: should it have one, [...] That would be preferrable, yes. > [...] and if so, could > someone point me to the appropriate place to put it? > In "test/emacs", right after "Hiding message with visible citation in notmuch-show view" would be perfect IMO. As you can see, that test uses `test-visible-output', which should provide the functionality you need. > Best wishes > > Mark Thanks! Peace -- Pieter