Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d5 / 16d7b03ba85ec37c79a840a1c4fc1d0e917e5f
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 09F766DE0355\r
6  for <notmuch@notmuchmail.org>; Mon, 11 Apr 2016 00:19:35 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.259\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.259 tagged_above=-999 required=5 tests=[AWL=0.311,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
14  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id 1U1oytyDsIJr for <notmuch@notmuchmail.org>;\r
19  Mon, 11 Apr 2016 00:19:27 -0700 (PDT)\r
20 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com\r
21  [74.125.82.68]) by arlo.cworth.org (Postfix) with ESMTPS id F0D6D6DE0352 for\r
22  <notmuch@notmuchmail.org>; Mon, 11 Apr 2016 00:19:26 -0700 (PDT)\r
23 Received: by mail-wm0-f68.google.com with SMTP id l6so19047097wml.3\r
24  for <notmuch@notmuchmail.org>; Mon, 11 Apr 2016 00:19:26 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26  h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27  :mime-version; bh=TkE0nN9o9HX00hEHs+OCpwd3CFwNcF/fKvSE9NGPzyE=;\r
28  b=zjcwd8PL/9Ls3XlsgpEooIUbNt/vAEh4Sa4nailUM0Pvj3fjfU9dqPMXscNmYfmR+e\r
29  nAX9tYsz93aWFbZC58HRpIYUKAtXyFIM1to3uHwZ+z5SkBFe9wi2cn+f4IoYeWR14UDZ\r
30  tyPlKSu5w64nPDuI7yC71dyt9hrNmnIUCx6vJ4MfV0IeKEjY4NDQOg1YQy7t4IYxcaQB\r
31  kvOa4jiZyQsoWp7S4myhCPJTZFn+0aQhSvywG5NlSV5X6MFfpPLRazbt8Mxn7/EnjBdT\r
32  yMK41Ahn6lElp3aIFN60S6DXfRIAdqfHSxQcauqBllKnTUjoL16aEXRYT0zVpLwX0/5x\r
33  RoAg==\r
34 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
35  d=1e100.net; s=20130820;\r
36  h=x-gm-message-state:from:to:subject:in-reply-to:references\r
37  :user-agent:date:message-id:mime-version;\r
38  bh=TkE0nN9o9HX00hEHs+OCpwd3CFwNcF/fKvSE9NGPzyE=;\r
39  b=OLZyoFYanmCaHe9BO5FTQ4njEVt54+Qi/2R3hdvGlWlwsTJ+PpBbYOOwthSe2aste8\r
40  M2IaL4xGaNMzwEENeL0qdpF+d6MDD8i3mZf6OQJcrxNNPDZb8rITxNVeitXowZtHMRcW\r
41  6DtvlFwab/mJwF0zC8JZOGNsdaYq1LdV0spr2E180WmF3l9BLw4QFB9B0XIDX6c154ft\r
42  xpSTJKdhiXdD5BefuCsgVZCblk5SghJzbcYYZ+yGhydJdUn2PDFsPYc6pixPFr8l3Xe8\r
43  S0immO3kjWty9u2Zee/1cgsS+sdgGMsB9fXLXfDdKowVUcCNJLbKFS5ET85Diw8G6RoH\r
44  sy9g==\r
45 X-Gm-Message-State:\r
46  AD7BkJKAMoJwbGwvzLOfhCqfN8eSzXFwiCNPbikPq4ozQ6b6bzQvRPzbnmaVIfacw5BmHA==\r
47 X-Received: by 10.194.3.45 with SMTP id 13mr22149953wjz.145.1460359165022;\r
48  Mon, 11 Apr 2016 00:19:25 -0700 (PDT)\r
49 Received: from localhost ([92.54.140.178])\r
50  by smtp.gmail.com with ESMTPSA id 7sm15795041wmn.7.2016.04.11.00.19.24\r
51  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
52  Mon, 11 Apr 2016 00:19:24 -0700 (PDT)\r
53 From: Mark Walters <markwalters1009@gmail.com>\r
54 To: David Bremner <david@tethera.net>,\r
55  Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
56  David Mazieres expires 2016-07-03 PDT\r
57  <mazieres-297ctmng4fhr6h6ad8yffa64yi@temporary-address.scs.stanford.edu>,\r
58  notmuch@notmuchmail.org\r
59 Subject: Re: Breaking a really long thread\r
60 In-Reply-To: <87oa9g7vd6.fsf@zancas.localnet>\r
61 References: <c10e501c2baee471cbeeb42aad89a1e966407234-NM@bruno.deptj.eu>\r
62  <87k2kd8r6d.fsf@qmul.ac.uk> <87wpoc7hf8.fsf@ta.scs.stanford.edu>\r
63  <8760vrm3jk.fsf@alice.fifthhorseman.net> <87fuuu3938.fsf@zancas.localnet>\r
64  <87bn5ijthh.fsf@qmul.ac.uk> <87oa9g7vd6.fsf@zancas.localnet>\r
65 User-Agent: Notmuch/0.21+17~g6d0b613 (http://notmuchmail.org) Emacs/24.4.1\r
66  (x86_64-pc-linux-gnu)\r
67 Date: Mon, 11 Apr 2016 08:19:23 +0100\r
68 Message-ID: <87y48kipdw.fsf@qmul.ac.uk>\r
69 MIME-Version: 1.0\r
70 Content-Type: text/plain\r
71 X-BeenThere: notmuch@notmuchmail.org\r
72 X-Mailman-Version: 2.1.20\r
73 Precedence: list\r
74 List-Id: "Use and development of the notmuch mail system."\r
75  <notmuch.notmuchmail.org>\r
76 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
77  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
78 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
79 List-Post: <mailto:notmuch@notmuchmail.org>\r
80 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
81 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
82  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
83 X-List-Received-Date: Mon, 11 Apr 2016 07:19:35 -0000\r
84 \r
85 \r
86 On Mon, 11 Apr 2016, David Bremner <david@tethera.net> wrote:\r
87 > Mark Walters <markwalters1009@gmail.com> writes:\r
88 >\r
89 >> I think we already have this, except it is called\r
90 >> notmuch-mua-hidden-headers. It defaults to '("^User-Agent:").\r
91 >>\r
92 >> I think it would be reasonable to add In-Reply-To to this list.\r
93 >>\r
94 >> However, if I read the code correctly, currently we are changing\r
95 >> message-hidden-headers globally which doesn't feel the right thing to\r
96 >> do. Probably we should do something more like you suggest, and do the\r
97 >> overriding just in notmuch-message-mode.\r
98 >>\r
99 >\r
100 > Summarizing, I see 3 related changes here\r
101 >\r
102 > - fixing the code to let-bind message-hidden-headers instead of globally\r
103 >   modify it\r
104 \r
105 I have a patch doing this, but there is one problem that i don't see how\r
106 to solve neatly. At the moment we set hidden-headers to the union of\r
107 message-hidden-headers and notmuch-mua-hidden-headers. This means that\r
108 if the user wants to show a header that is normally one of\r
109 message-hidden-headers they have to set message-hidden-headers (ie they\r
110 can't just change notmuch-mua-hidden headers).\r
111 \r
112 If we want it that people can show such a header just by changing a\r
113 notmuch variable then I don't see how to do it neatly without breaking\r
114 some existing setups.\r
115 \r
116 Any suggestions?\r
117 \r
118 Best wishes\r
119 \r
120 Mark\r
121 \r
122 >\r
123 > - adding in-reply-to notmuch-mua\r
124 >\r
125 > - providing a keybinding to toggle visibility of hidden headers that\r
126 >   works better than the current use of widen\r
127 >\r
128 > d\r