Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 14 / f58e93dcea1c99e1ca2ea2389f57bccdc19725
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 olra.theworths.org (Postfix) with ESMTP id 96112431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 30 Nov 2012 00:23:18 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id v2Uq5cT9PeQY for <notmuch@notmuchmail.org>;\r
18         Fri, 30 Nov 2012 00:23:18 -0800 (PST)\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
20         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id F4038431FAF\r
23         for <notmuch@notmuchmail.org>; Fri, 30 Nov 2012 00:23:17 -0800 (PST)\r
24 Received: by mail-we0-f181.google.com with SMTP id t11so77850wey.26\r
25         for <notmuch@notmuchmail.org>; Fri, 30 Nov 2012 00:23:15 -0800 (PST)\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:x-mailer;\r
28         bh=71VN7hjCim4P1dYPNDWY6YWGiRiSOlQc1A1jfQSjZrE=;\r
29         b=zysjz7DxcT5vxHOB3DqFSCD0rR12eFgQBs6W9oArbNBDDy3jzoGnc/hdyfyItDbfbv\r
30         yVGNwmVGRJTsZ6/ANU4qg70LyJyqJdfCuix4ovKeo+nwIHCtPsV8lgnwoRF++UJxh5AR\r
31         ol3ZkFP2d/3KHmwS3pwF5pqndm0v8zDSc8QCEndz8hiV2kRr95ljdSCvjvM2Md8L/hsy\r
32         lWE4eBiSvj62uuuxTtjdpSULMaFRTVyjUhL0Eg6ObLj1K4DT4H34aJZArB9xfbX0mAf1\r
33         EPJmvB2T/HCtQuAh1vmVHR+6EmB432WsoW5f4wquwCH98FQmF3RIgmLkV1PZ7RUp8zl6\r
34         TtWA==\r
35 Received: by 10.216.28.8 with SMTP id f8mr151196wea.162.1354263795462;\r
36         Fri, 30 Nov 2012 00:23:15 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPS id d9sm14727234wiw.0.2012.11.30.00.23.13\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Fri, 30 Nov 2012 00:23:14 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/5] emacs: make tab completion use visible tags\r
44 Date: Fri, 30 Nov 2012 08:21:26 +0000\r
45 Message-Id: <1354263691-19715-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\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: Fri, 30 Nov 2012 08:23:18 -0000\r
60 \r
61 Currently when doing tab completion emacs queries the database and\r
62 completes to any tag when adding but only completes to tags that are\r
63 present in the message/thread/region when removing. However, since it\r
64 queries the database it does this based on the current tags in the\r
65 database not the current tags shown in the search view.\r
66 \r
67 This means that tag completion is not predictable and this seems\r
68 undesirable. This series modifies it so that the tag caller can\r
69 specify the possible completions (typically based on the tags that it\r
70 believes are present). This means that the user know that -un<tab>\r
71 will complete to -unread if he can see unread in the messages\r
72 tags. (unread is a common stale tag as when you quit from a show\r
73 buffer back to the search buffer the unread has often been removed).\r
74 \r
75 One side effect is that it solves the `large search' problem when\r
76 doing tag completion on the very large queries that will be generated\r
77 by the move to tagging by message-id rather than thread-id.\r
78 id:1353763256-32336-1-git-send-email-markwalters1009@gmail.com\r
79 (The tagging can use the batch tagging when that goes in).\r
80 \r
81 I think this makes the user interface more predictable/consistent but\r
82 whether it is worth the change is less clear.\r
83 \r
84 Best wishes\r
85 \r
86 Mark\r
87 \r
88 markwalters1009 (5):\r
89   emacs: move tag.el utility functions from lists to strings\r
90   emacs: allow the tag caller to specify possible completions.\r
91   emacs: notmuch.el remove duplicate tags from get-tags-region\r
92   emacs: make search tag completion use the tags it believes are there\r
93   emacs: show tag completion\r
94 \r
95  emacs/notmuch-show.el |   32 +++++++++++++++++++++++++-------\r
96  emacs/notmuch-tag.el  |   38 +++++++++++++++++++++++++++-----------\r
97  emacs/notmuch.el      |   10 ++++++----\r
98  3 files changed, 58 insertions(+), 22 deletions(-)\r
99 \r
100 -- \r
101 1.7.9.1\r
102 \r