Re: [WIP PATCH] emacs: query: completion for from: in searches
[notmuch-archives.git] / 4a / 363b030439857b921fd8702ca825af88ca6fc1
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 04B9B6DE0C51\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:20 -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.863\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.863 tagged_above=-999 required=5 tests=[AWL=0.433, \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,\r
14  FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
15  RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 iOyiFIZQx7Po for <notmuch@notmuchmail.org>;\r
19  Sat, 13 Jun 2015 01:08:18 -0700 (PDT)\r
20 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com\r
21  [209.85.212.176])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id D72986DE0350\r
23  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:17 -0700 (PDT)\r
24 Received: by wibut5 with SMTP id ut5so34351155wib.1\r
25  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:16 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=from:to:cc:subject:date:message-id;\r
28  bh=AuK/HWZCAdf9DUcVTLpVUE1kdzlu90Bcv4StKPfwLTo=;\r
29  b=WkwTZQKm2LbLp4kcvN/FLQy1R++Y3s8eJWEq+/H+yaZ96AxAfzMSRIm4PUAl7lZsZ/\r
30  eyVPYveOqAssWssPni5M78+ri/23c6Muyutef3CkqXHYEUppmvNK4a5Z4hKBar0fQRRS\r
31  omyzCHWDEdvp4ju20NqZR+e72G8k91oaHqtNyEg2BCekYeLDrZ8PESQ8Z4MrCW/wSDSL\r
32  JYzpSjlVzLGtnzMBtIg7q8kol9NkySizXV9UAnJpkDfXLS2y7BJk5IXe6TEvg3gw5wne\r
33  Sg+wnVL5XYMLvbKA+IEKMHkZrRrCkrnyiOIxtyxV/KiAVf7i2BsdTuTsPAYuTYEyYGxW\r
34  4w4w==\r
35 X-Received: by 10.180.87.201 with SMTP id ba9mr13679377wib.73.1434182896216;\r
36  Sat, 13 Jun 2015 01:08:16 -0700 (PDT)\r
37 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
38  by mx.google.com with ESMTPSA id qq1sm4624473wjc.0.2015.06.13.01.08.15\r
39  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
40  Sat, 13 Jun 2015 01:08:15 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v5 0/3] Add filter to emacs show mode\r
44 Date: Sat, 13 Jun 2015 09:08:07 +0100\r
45 Message-Id: <1434182890-8047-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 2.1.4\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.18\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51  <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sat, 13 Jun 2015 08:08:20 -0000\r
60 \r
61 The previous version of this patch was over 3 years ago at\r
62 id:1335658006-20161-1-git-send-email-markwalters1009@gmail.com\r
63 \r
64 The reason the patch stopped was that it marked messages read (removed\r
65 the unread tag) spuriously (see Austin's review\r
66 id:20120429005736.GK2704@mit.edu) and this was difficult to\r
67 fix. However, now the unread handling has been updated this is no\r
68 longer a problem. (More precisely, since the unread handling is done\r
69 in the command loop hook the unread tag only gets updated after\r
70 notmuch has displayed the final result.)\r
71 \r
72 There are two small questions with this version that I would\r
73 appreciate views on. First it binds the filter/limit to l since f is\r
74 already bound to forward in show mode. It changes the binding in\r
75 search mode to match but that may annoy a lot of people who have got f\r
76 for filter into muscle memory. If we prefer to leave the keybinding in\r
77 search mode as it is then we can just drop the final patch.\r
78 \r
79 Secondly what should the behaviour be if the user just gives and empty\r
80 filter query? This patch just opens all messages in the thread (ie it\r
81 treats the query as matching everything). Alternatively, it could just\r
82 exit without refreshing the buffer in that case.\r
83 \r
84 Best wishes\r
85 \r
86 Mark\r
87 \r
88 \r
89 Mark Walters (3):\r
90   emacs: split notmuch-show-apply-state\r
91   emacs: add a filter option to show\r
92   emacs: Bind filter in search to 'l'\r
93 \r
94  emacs/notmuch-show.el | 30 +++++++++++++++++++++++-------\r
95  emacs/notmuch.el      |  4 ++--\r
96  2 files changed, 25 insertions(+), 9 deletions(-)\r
97 \r
98 -- \r
99 2.1.4\r
100 \r