From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 09F766DE0355 for ; Mon, 11 Apr 2016 00:19:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.259 X-Spam-Level: X-Spam-Status: No, score=-0.259 tagged_above=-999 required=5 tests=[AWL=0.311, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1U1oytyDsIJr for ; Mon, 11 Apr 2016 00:19:27 -0700 (PDT) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by arlo.cworth.org (Postfix) with ESMTPS id F0D6D6DE0352 for ; Mon, 11 Apr 2016 00:19:26 -0700 (PDT) Received: by mail-wm0-f68.google.com with SMTP id l6so19047097wml.3 for ; Mon, 11 Apr 2016 00:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version; bh=TkE0nN9o9HX00hEHs+OCpwd3CFwNcF/fKvSE9NGPzyE=; b=zjcwd8PL/9Ls3XlsgpEooIUbNt/vAEh4Sa4nailUM0Pvj3fjfU9dqPMXscNmYfmR+e nAX9tYsz93aWFbZC58HRpIYUKAtXyFIM1to3uHwZ+z5SkBFe9wi2cn+f4IoYeWR14UDZ tyPlKSu5w64nPDuI7yC71dyt9hrNmnIUCx6vJ4MfV0IeKEjY4NDQOg1YQy7t4IYxcaQB kvOa4jiZyQsoWp7S4myhCPJTZFn+0aQhSvywG5NlSV5X6MFfpPLRazbt8Mxn7/EnjBdT yMK41Ahn6lElp3aIFN60S6DXfRIAdqfHSxQcauqBllKnTUjoL16aEXRYT0zVpLwX0/5x RoAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=TkE0nN9o9HX00hEHs+OCpwd3CFwNcF/fKvSE9NGPzyE=; b=OLZyoFYanmCaHe9BO5FTQ4njEVt54+Qi/2R3hdvGlWlwsTJ+PpBbYOOwthSe2aste8 M2IaL4xGaNMzwEENeL0qdpF+d6MDD8i3mZf6OQJcrxNNPDZb8rITxNVeitXowZtHMRcW 6DtvlFwab/mJwF0zC8JZOGNsdaYq1LdV0spr2E180WmF3l9BLw4QFB9B0XIDX6c154ft xpSTJKdhiXdD5BefuCsgVZCblk5SghJzbcYYZ+yGhydJdUn2PDFsPYc6pixPFr8l3Xe8 S0immO3kjWty9u2Zee/1cgsS+sdgGMsB9fXLXfDdKowVUcCNJLbKFS5ET85Diw8G6RoH sy9g== X-Gm-Message-State: AD7BkJKAMoJwbGwvzLOfhCqfN8eSzXFwiCNPbikPq4ozQ6b6bzQvRPzbnmaVIfacw5BmHA== X-Received: by 10.194.3.45 with SMTP id 13mr22149953wjz.145.1460359165022; Mon, 11 Apr 2016 00:19:25 -0700 (PDT) Received: from localhost ([92.54.140.178]) by smtp.gmail.com with ESMTPSA id 7sm15795041wmn.7.2016.04.11.00.19.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Apr 2016 00:19:24 -0700 (PDT) From: Mark Walters To: David Bremner , Daniel Kahn Gillmor , David Mazieres expires 2016-07-03 PDT , notmuch@notmuchmail.org Subject: Re: Breaking a really long thread In-Reply-To: <87oa9g7vd6.fsf@zancas.localnet> References: <87k2kd8r6d.fsf@qmul.ac.uk> <87wpoc7hf8.fsf@ta.scs.stanford.edu> <8760vrm3jk.fsf@alice.fifthhorseman.net> <87fuuu3938.fsf@zancas.localnet> <87bn5ijthh.fsf@qmul.ac.uk> <87oa9g7vd6.fsf@zancas.localnet> User-Agent: Notmuch/0.21+17~g6d0b613 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Mon, 11 Apr 2016 08:19:23 +0100 Message-ID: <87y48kipdw.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Mon, 11 Apr 2016 07:19:35 -0000 On Mon, 11 Apr 2016, David Bremner wrote: > Mark Walters writes: > >> I think we already have this, except it is called >> notmuch-mua-hidden-headers. It defaults to '("^User-Agent:"). >> >> I think it would be reasonable to add In-Reply-To to this list. >> >> However, if I read the code correctly, currently we are changing >> message-hidden-headers globally which doesn't feel the right thing to >> do. Probably we should do something more like you suggest, and do the >> overriding just in notmuch-message-mode. >> > > Summarizing, I see 3 related changes here > > - fixing the code to let-bind message-hidden-headers instead of globally > modify it I have a patch doing this, but there is one problem that i don't see how to solve neatly. At the moment we set hidden-headers to the union of message-hidden-headers and notmuch-mua-hidden-headers. This means that if the user wants to show a header that is normally one of message-hidden-headers they have to set message-hidden-headers (ie they can't just change notmuch-mua-hidden headers). If we want it that people can show such a header just by changing a notmuch variable then I don't see how to do it neatly without breaking some existing setups. Any suggestions? Best wishes Mark > > - adding in-reply-to notmuch-mua > > - providing a keybinding to toggle visibility of hidden headers that > works better than the current use of widen > > d