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 0FFA2429E21 for ; Wed, 16 Nov 2011 03:08:25 -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 YJuOSRW949ps for ; Wed, 16 Nov 2011 03:08:24 -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 D3BC9431FB6 for ; Wed, 16 Nov 2011 03:08:23 -0800 (PST) Received: by wwf10 with SMTP id 10so374600wwf.2 for ; Wed, 16 Nov 2011 03:08:21 -0800 (PST) Received: by 10.216.229.27 with SMTP id g27mr453732weq.67.1321441701248; Wed, 16 Nov 2011 03:08:21 -0800 (PST) Received: from localhost ([109.131.148.49]) by mx.google.com with ESMTPS id fy13sm32345923wbb.18.2011.11.16.03.08.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 03:08:20 -0800 (PST) From: Pieter Praet To: Jani Nikula , David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] add `tag:' prefix to `--output=tags' results In-Reply-To: <87k474cdo4.fsf@nikula.org> References: <877hbiep5g.fsf@SSpaeth.de> <1309422029-22924-1-git-send-email-pieter@praet.org> <87k475mktx.fsf@rocinante.cs.unb.ca> <87k474cdo4.fsf@nikula.org> User-Agent: Notmuch/0.9+76~g2fd88e6 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Wed, 16 Nov 2011 12:07:22 +0100 Message-ID: <87hb24fhqt.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, 16 Nov 2011 11:08:25 -0000 On Sun, 13 Nov 2011 16:14:35 +0200, Jani Nikula wrote: > On Sat, 12 Nov 2011 10:17:30 -0500, David Bremner wrote: > > On Thu, 30 Jun 2011 10:20:29 +0200, Pieter Praet wrote: > > > Alter `do_search_tags()' to prepend each result with `tag:', > > > and update affected test. > > > > > > This makes its output consistent with `do_search_threads()' and > > > `do_search_messages()'. > > > > What do people think about this change? Personally I will have change > > some scripts to not add "tag:", but it isn't that big of a deal. > > I'm curious why this change is needed in the first place. What is gained > from this in addition to consistency? It seems I don't have enough list > history to find the referenced discussion. > Here's the original thread: http://comments.gmane.org/gmane.mail.notmuch.general/3562 > The command line interface is an API, and this change causes regressions > in all scripts and programs using it, including the emacs ui. [...] Indeed. There's something to be said for consistency, but a change like this is likely to cause more problems than it will solve. > [...] (And that > should probably be fixed with something other than "...a quick'n'dirty > patch, thus probably not fit for consumption.") > Couldn't agree more. I wrongly assumed that the test suite would sufficiently cover such fundamental functionality, and upon realizing that it didn't, I quickly submitted some half-baked fixes for the most glaringly obvious breakage, right before abandoning the whole deal. > BR, > Jani. Peace -- Pieter