Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 22 / 48251d72cd6ea7fffaab2fe12aa950edfd5c6f
1 Return-Path: <jani@nikula.org>\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 D56B56DE02B5\r
6  for <notmuch@notmuchmail.org>; Thu,  4 Aug 2016 09:35:31 -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.373\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.373 tagged_above=-999 required=5 tests=[AWL=1.093, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id kdyrvWVw9L0l for <notmuch@notmuchmail.org>;\r
17  Thu,  4 Aug 2016 09:35:24 -0700 (PDT)\r
18 Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com\r
19  [74.125.82.54]) by arlo.cworth.org (Postfix) with ESMTPS id CB0C66DE02B0 for\r
20  <notmuch@notmuchmail.org>; Thu,  4 Aug 2016 09:35:23 -0700 (PDT)\r
21 Received: by mail-wm0-f54.google.com with SMTP id i5so560218wmg.0\r
22  for <notmuch@notmuchmail.org>; Thu, 04 Aug 2016 09:35:23 -0700 (PDT)\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
24  d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
25  h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
26  :mime-version; bh=SU1E5dGDodGY+BgaW31/f5+loQQiojKoA0VlpwHzmYs=;\r
27  b=Yz8+/5tauZYgA1tstg+TDvrqIlSxAOFj7QB7MuuGVUuchr6TLDUnfMzO5LhdSwDDe+\r
28  1l/FgHavPBqonq/Cu11Qarq4yjAIcckNvseBByLIEfGq/kn9pOPzmzRwokg8lD/L1oGl\r
29  nbH59xr/c5buKCRTlbp5JjYF5mEMN+AjFSex3mA9TiA4x9Ibtjn5jLuPKfIMJnFF8HNr\r
30  //tdy8zRZTZVLtK5LV9oEL5If6MHsIBXsQ/CgkVbO826ysTjQd9h6AYEzjfj9mWaWFK7\r
31  cBw6shGIL0KPzwThb6DbqceVKW9kZz0YwcV6yjHSZHCzm/1HTWZmivSkL8oViZhp+EYD\r
32  +ATA==\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
34  d=1e100.net; s=20130820;\r
35  h=x-gm-message-state:from:to:subject:in-reply-to:references\r
36  :user-agent:date:message-id:mime-version;\r
37  bh=SU1E5dGDodGY+BgaW31/f5+loQQiojKoA0VlpwHzmYs=;\r
38  b=kk1cxei8nv8SHrahqv8O1eNxtNyySFmAPE86PNzpu9miGd6nZ3qDd0bUMaTzLSjbAJ\r
39  sN9Vsq3ibswsytbG9wB8e/DBiqM8vd79+gtmaW4a9jkZEZY0138u1WnjFXEJ9AMMj28S\r
40  8G3TD2wT8sjwRwKTfj4SqrVs/p99JuncUmr9QU89MWYSkJrIu5lYSlk9Ak5z34fjZFUO\r
41  Buv1lmwaZ7QVU/Q85hYr1RhKQNMkJLlqX2d6/nYSevrz1HfWTHIlzNjUV8ygjzLw/IKI\r
42  m/BcX7ZSIi63X1qH2Bnu+IAmagVaBFfN8Fi1dBPk0AUnuY7vSLO8L4qMumDvGryMaQvp\r
43  P6gQ==\r
44 X-Gm-Message-State:\r
45  AEkoousi+zlTqHeMBH82NQHsMSzuR/tVZs9smdxgVNJZsOTD23KpncHIYKugSlMiSYqGqA==\r
46 X-Received: by 10.28.174.11 with SMTP id x11mr3354864wme.41.1470328522350;\r
47  Thu, 04 Aug 2016 09:35:22 -0700 (PDT)\r
48 Received: from localhost (dsl-hkibrasgw2-58c368-70.dhcp.inet.fi.\r
49  [88.195.104.70])\r
50  by smtp.gmail.com with ESMTPSA id k3sm13631142wjf.7.2016.08.04.09.35.21\r
51  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
52  Thu, 04 Aug 2016 09:35:21 -0700 (PDT)\r
53 From: Jani Nikula <jani@nikula.org>\r
54 To: Yuri D'Elia <wavexx@thregr.org>, notmuch@notmuchmail.org\r
55 Subject: Re: Flat search and threaded views\r
56 In-Reply-To: <87k2fwbl24.fsf@wavexx.thregr.org>\r
57 References: <87k2fwbl24.fsf@wavexx.thregr.org>\r
58 User-Agent: Notmuch/0.22+35~g6a833a6 (https://notmuchmail.org) Emacs/24.4.1\r
59  (x86_64-pc-linux-gnu)\r
60 Date: Thu, 04 Aug 2016 19:33:58 +0300\r
61 Message-ID: <877fbwv6h5.fsf@nikula.org>\r
62 MIME-Version: 1.0\r
63 Content-Type: text/plain\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.20\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68  <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
70  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
75  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Thu, 04 Aug 2016 16:35:31 -0000\r
77 \r
78 On Thu, 04 Aug 2016, Yuri D'Elia <wavexx@thregr.org> wrote:\r
79 > Hi everyone, I'm experimenting with notmuch-emacs.el (straight from\r
80 > git), and I have a few questions after a few days of testing.\r
81 >\r
82 > The search buffer packs messages in threads by default. Is there a way\r
83 > to have a flat list of strictly matching messages when needed?\r
84 \r
85 Just the command-line interface, AFAIK.\r
86 \r
87 > For example, for a query like "tag:unread AND date:24h..now", I'm shown\r
88 > all threads containing unread messages within the last day, which is\r
89 > perfect. But when I select a thread (with RET), I'm shown the thread\r
90 > from the start.\r
91 >\r
92 > I'd like to jump directly to the first unread message (and in detail, to\r
93 > the first message that actually matches the query!). It's really not\r
94 > great to have to find what message matched the query, especially for\r
95 > long-running threads.\r
96 \r
97 For me, hitting RET in search does show the first matching message in\r
98 the thread.\r
99 \r
100 > Another odd behavior I get as a result is that you obviously need to\r
101 > select the unread message explicitly to remove the unread tag.\r
102 \r
103 The idea is that the unread tag gets dropped when the cursor visits the\r
104 region of an expanded message, in an approximation of when the user has\r
105 actually read the message. We spent quite a bit of time on this, and at\r
106 least I like this behaviour very much, especially with the red\r
107 overstrike on the unread tag in the buffer.\r
108 \r
109 If you want to remove unread tags without actually reading the messages\r
110 (why would you want to do that?), you should probably tag the messages\r
111 some other way.\r
112 \r
113 > Applying tags to _individual_ messages is similarly weird, as you\r
114 > cannot do that from the search view (they would apply to the entire\r
115 > thread). Maybe I'm missing a better way here.\r
116 \r
117 I suppose we could use a feature to tag matching messages from the\r
118 search view and expanded messages from the show view. You can of course\r
119 do this on the command-line.\r
120 \r
121 > Tree view is only marginally better in both scenarios.\r
122 >\r
123 > You can start a tree search with 'z', but is there a way to make\r
124 > searches from the notmuch-hello box into tree by default?\r
125 \r
126 Click [edit] on the saved searches, customize Search Type for each query\r
127 you want to use non-default search for. You can also hit 'Z' in both the\r
128 search buffer and the show buffer to display them in the tree view.\r
129 \r
130 In general, '?' will display nice help in almost all notmuch buffers.\r
131 \r
132 > Is there a way to sort the search (either tree/search) by subject or\r
133 > by author? Rarely useful, but it doesn't seem possible.\r
134 \r
135 I don't think so.\r
136 \r
137 \r
138 BR,\r
139 Jani.\r