Re: notmuch.el: controlling what does and doesn't get expanded in searches
[notmuch-archives.git] / db / 395bd213ae85fb7f21c6b9c8b89f691d849cfb
1 Return-Path: <bremner@unb.ca>\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 04207431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 11:03:57 -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.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id Dqen26eW77Z1 for <notmuch@notmuchmail.org>;\r
16         Wed, 18 Jan 2012 11:03:56 -0800 (PST)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 77C4D431FAF\r
21         for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 11:03:56 -0800 (PST)\r
22 Received: from rocinante.cs.unb.ca ([131.202.153.155]) (authenticated bits=0)\r
23         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id q0IJ3qma023782\r
24         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
25         Wed, 18 Jan 2012 15:03:52 -0400\r
26 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.77)\r
27         (envelope-from <bremner@unb.ca>)\r
28         id 1RnanY-0003aH-7U; Wed, 18 Jan 2012 15:03:52 -0400\r
29 From: David Bremner <david@tethera.net>\r
30 To: Austin Clements <amdragon@MIT.EDU>\r
31 Subject: Re: RFC: tag macros\r
32 In-Reply-To: <20120118183304.GC16740@mit.edu>\r
33 References: <874nvtvzm5.fsf@convex-new.cs.unb.ca>\r
34         <20120118183304.GC16740@mit.edu>\r
35 User-Agent: Notmuch/0.10.2 (http://notmuchmail.org) Emacs/23.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Wed, 18 Jan 2012 15:03:52 -0400\r
38 Message-ID: <87wr8o7rzb.fsf@rocinante.cs.unb.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Wed, 18 Jan 2012 19:03:57 -0000\r
55 \r
56 On Wed, 18 Jan 2012 13:33:04 -0500, Austin Clements <amdragon@MIT.EDU> wrote:\r
57 > Quoth David Bremner on Jan 18 at 10:45 am:\r
58 \r
59 > What about simply providing an API that takes a bunch of tag\r
60 > operations and applies them to the current thread/message/region?\r
61 \r
62 My main motivation here is (as you can probably see from the example)\r
63 dealing with patches, and in that setting, tagging the whole thread is\r
64 is almost never what you want.\r
65 \r
66 That aside, thread tagging is already there in search view, and I guess\r
67 could be done by selecting the whole thread and tagging that region.\r
68 \r
69 I haven't really looked at how to apply tags to regions in\r
70 notmuch-show-mode. Is there code around that does that? Or more\r
71 generally iterate over messages in a region?\r
72 \r
73 d\r