--- /dev/null
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3B3DA6DEBFE9\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Aug 2016 10:54:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.071\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.071 tagged_above=-999 required=5 tests=[AWL=0.641, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
+ FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id gOuuKSZG7mL3 for <notmuch@notmuchmail.org>;\r
+ Mon, 15 Aug 2016 10:53:57 -0700 (PDT)\r
+Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com\r
+ [74.125.82.50]) by arlo.cworth.org (Postfix) with ESMTPS id A76946DEB7B3 for\r
+ <notmuch@notmuchmail.org>; Mon, 15 Aug 2016 10:43:14 -0700 (PDT)\r
+Received: by mail-wm0-f50.google.com with SMTP id q128so101459383wma.1\r
+ for <notmuch@notmuchmail.org>; Mon, 15 Aug 2016 10:43:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version; bh=VWg0vVVfPcv6IDI3lrAUqWfJj/nY9KmGnk3MhmV9+gY=;\r
+ b=SAN8IweM1USJ8RODy9cc9mognnk0LiVW5aWZVBi7jwSNl4ZFhWQCdM3lCJVgOsZtte\r
+ 0xARPTkf6HEqnJraklzfEcq2spb2kpUOpeghFrfGnbJcjCxjk/fLchtmE+jkxryL2I5T\r
+ 0FqO4z7QMA1RIx3YZXQ0yYVtX8nehZ4Iw6xCyslaMTC1PRTrxzcNrFAQVWn0LF1QAN/w\r
+ bIDGa30karWlkMy+Zudh/POA5TSH5fMtnh0S9gvh3/UocQjL7jYbWpP6JBLtXh/lyRe3\r
+ wjLtKfUM2pobaSp6gY6iw9hlcKVzIFCNVDI5gatHoMHsSdiD7Fa2VE5Y1fauNdexWM5m\r
+ W8qw==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version;\r
+ bh=VWg0vVVfPcv6IDI3lrAUqWfJj/nY9KmGnk3MhmV9+gY=;\r
+ b=FLSHCPWa7PHyTSohVVDQ4qQ1r74k18YZlF73ztTS8s7UsCBjnD++3dKxSJg4Nnd9pi\r
+ j78YBNzXBBNEdCFtK3az2B3jiqLhDDWMNSI3y6CmOIPtPT0Uma+mD+CZuZ6sqOuLK/pA\r
+ p7wrJkWB5OzBr2wnSY4Wnh6mLyk+0QeDI3SQSrqU/uCNpi1W8nR51b1/CSvpMlaXbRnA\r
+ Ngnl0jlEn/otSBpaych5Rm76nb49sIzCcC+p9wvhWeHsFvB5WE2axUFcCt9vIl59hGWw\r
+ d3YmZTG2St0G7rBc8XDWpF1mLIDH6WTh/N0aZ2WZl3ZHCfqazELKAP/qB1n93+lI+6Nr\r
+ K+Uw==\r
+X-Gm-Message-State:\r
+ AEkoous5xXR56a1GplV4mbOfV47c3W1g56CcHXfWSA0+R9Jk9cCkSoQG049eRn1hpkm0uQ==\r
+X-Received: by 10.194.242.71 with SMTP id wo7mr31540568wjc.179.1471282967258; \r
+ Mon, 15 Aug 2016 10:42:47 -0700 (PDT)\r
+Received: from localhost (188.28.1.18.threembb.co.uk. [188.28.1.18])\r
+ by smtp.gmail.com with ESMTPSA id d80sm17597912wmd.14.2016.08.15.10.42.46\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 15 Aug 2016 10:42:46 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: David Bremner <david@tethera.net>,\r
+ "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>, notmuch@notmuchmail.org\r
+Subject: Re: notmuch-search-toggle-order and notmuch-tree\r
+In-Reply-To: <878tvy8ciw.fsf@zancas.localnet>\r
+References: <87zioj17bj.fsf@skywalker.in.ibm.com>\r
+ <878tvy8ciw.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.18.1+485~gca076ce (https://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 15 Aug 2016 18:42:43 +0100\r
+Message-ID: <87oa4u2ajw.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 15 Aug 2016 17:54:06 -0000\r
+\r
+\r
+Hi\r
+\r
+It is the expected behaviour, but not the desired behaviour. I posted a\r
+series making it possible to sort oldest first in tree view at\r
+\r
+id:1435359035-6767-1-git-send-email-markwalters1009@gmail.com\r
+\r
+which David very kindly reviewed but then I got sidetracked and haven't\r
+updated it. It is on my todo list, but I haven't got to it yet.\r
+\r
+The series may well still apply: I don't know.\r
+\r
+Note that it doesn't change the order of messages inside a thread, just\r
+the order of the threads.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+On Mon, 15 Aug 2016, David Bremner <david@tethera.net> wrote:\r
+> "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:\r
+>\r
+>> I was expecting notmuch-tree to also follow the search\r
+>> order(oldest-first or not). But with latest notmuch\r
+>> even after i change the search order using notmuch-serach-toggle-order a\r
+>> tree view always list with the default search order. Is that expected ?\r
+>\r
+> Maybe Mark can give a more informed comment but I would say that it's\r
+> expected from a code point of view, as the tree code does not reference\r
+> the variable notmuch-search-oldest-first. This lack of control over the\r
+> display order of threads (as opposed to within the threads) does seem\r
+> like a missing feature.\r
+>\r
+> d\r