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 203DF429E3E for ; Sun, 3 Nov 2013 12:10:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 XnGLvWltl+Ve for ; Sun, 3 Nov 2013 12:10:38 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4F7F7429E38 for ; Sun, 3 Nov 2013 12:10:38 -0800 (PST) Received: by mail-lb0-f181.google.com with SMTP id x18so4793635lbi.40 for ; Sun, 03 Nov 2013 12:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NgtdF29Eg4XM6ylby9bZZm3VWFYJfPGbU31VD03U11Y=; b=rItyyX8ThBS5O/WpPPD7rDHXmfsBk5hJcZ8/g603D46UyoCMEPlDoIMlnNneS4svbf 0heUSPmJF/3Cz3FegWzxvpbCrbWKxfvtq3NjBecrA82CXD5XzSHufm2yjAUmn3Jaa5d/ cs1Z70Ov8p4jCkZ72fcdmYeGcblZFv3tvFU4lvqQojZDlofR8rQriK3Y+g4O+KwrtzQh T2jcip+tktMKMHS4pgctbGcXOhbI0QfLDD4pCuwqSFrTEwZJBWkAh/vEmmcIK44ToMNZ 4EohZjPuS5xihnwRELOZdMntAdFfTlyESxu8WCkY3L5w4UfO82/VYw0c7Ur04yQzRU8w FkFg== MIME-Version: 1.0 X-Received: by 10.112.29.147 with SMTP id k19mr8955295lbh.9.1383509434106; Sun, 03 Nov 2013 12:10:34 -0800 (PST) Received: by 10.114.201.69 with HTTP; Sun, 3 Nov 2013 12:10:33 -0800 (PST) In-Reply-To: <87wqkqono3.fsf@nikula.org> References: <5274f93e254b5_6de7f51e7849@nysa.notmuch> <87zjpmoqtz.fsf@nikula.org> <87wqkqono3.fsf@nikula.org> Date: Sun, 3 Nov 2013 14:10:33 -0600 Message-ID: Subject: Re: Getting the right root mail of the thread From: Felipe Contreras To: Jani Nikula Content-Type: text/plain; charset=UTF-8 Cc: "notmuch@notmuchmail.org" 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, 03 Nov 2013 20:10:46 -0000 On Sat, Nov 2, 2013 at 8:58 AM, Jani Nikula wrote: > On Sat, 02 Nov 2013, Felipe Contreras wrote: >> On Sat, Nov 2, 2013 at 7:50 AM, Jani Nikula wrote: >>> On Sat, 02 Nov 2013, Felipe Contreras wrote: >> >>>> I think there should be a way to get the root mail of a thread, >>>> irrespective of the search order. >>> >>> Largely agreed. It's just that nobody's gotten around to doing this >>> yet. At the cli level I think the consensus is that the structured >>> (sexp/json) output format should contain multiple (or all) subjects. >> >> What about the default? (--format=text). What about user-interfaces >> that must display a summary of a thread? > > To be honest, we haven't had much interest in adding new content or > features to the text output formats. It's just much easier to do this in > a backwards compatible way in the structured output formats, for which > we also have the format versioning. The emacs ui uses the sexp format > for the thread summaries. How is this any better? (:thread "000000000000826a" :timestamp 1383396519 :date_relative "Yest. 06:48" :matched 45 :total 45 :authors "Felipe Contreras" :subject "[PATCH/TEST 44/44] request-pull: rewrite to C" :tags ("sent" "to-me")) -- Felipe Contreras