Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / f0 / 1ca72adc67b220c77d0edb7f6caba61f500c64
1 Return-Path: <prvs=jrosenthal=650410043@jhu.edu>\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 E74AE431FBD\r
6         for <notmuch@notmuchmail.org>; Wed, 10 Feb 2010 14:10:21 -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.918\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.918 tagged_above=-999 required=5 tests=[AWL=1.081,\r
12         BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4] autolearn=unavailable\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 AG93N3W9iYD7 for <notmuch@notmuchmail.org>;\r
16         Wed, 10 Feb 2010 14:10:20 -0800 (PST)\r
17 X-Greylist: delayed 3602 seconds by postgrey-1.32 at olra;\r
18         Wed, 10 Feb 2010 14:10:20 PST\r
19 Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151])\r
20         by olra.theworths.org (Postfix) with ESMTP id 09E63431FAE\r
21         for <notmuch@notmuchmail.org>; Wed, 10 Feb 2010 14:10:19 -0800 (PST)\r
22 X-IronPort-AV: E=Sophos;i="4.49,446,1262581200"; d="scan'208";a="302469174"\r
23 Received: from c-69-255-36-229.hsd1.md.comcast.net (HELO lucky)\r
24         ([69.255.36.229])\r
25         by ipex2.johnshopkins.edu with ESMTP/TLS/AES256-SHA;\r
26         10 Feb 2010 16:10:16 -0500\r
27 Received: from jkr by lucky with local (Exim 4.69)\r
28         (envelope-from <jrosenthal@jhu.edu>)\r
29         id 1NfJoy-0006fm-3O; Wed, 10 Feb 2010 16:10:04 -0500\r
30 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
31 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
32 In-Reply-To: <87vde4derz.fsf@yoom.home.cworth.org>\r
33 References: <87vde4derz.fsf@yoom.home.cworth.org>\r
34 Date: Wed, 10 Feb 2010 16:10:03 -0500\r
35 Message-ID: <87aavg6bmc.fsf@jhu.edu>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 Subject: Re: [notmuch] emacs: On getting support for inline images\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Wed, 10 Feb 2010 22:10:22 -0000\r
52 \r
53 On Wed, 10 Feb 2010 12:20:00 -0800, Carl Worth <cworth@cworth.org> wrote:\r
54 > Here are some ideas for possible (and independent) fixes:\r
55 > ....\r
56 > 3. We could move away from these various mm- functions for displaying\r
57 >    MIME parts and simply add functionality to the notmuch command line\r
58 >    for extracting individual MIME parts from messages, (which is\r
59 >    something that a non-emacs client will likely want anyway). Then we\r
60 >    can use the lower-level functions to display things directly. (For\r
61 >    example, displaying an image looks as simple as calling the\r
62 >    create-image and put-image functions).\r
63 \r
64 I really think that this (#3) is the way to go, going forward. First, it\r
65 frees us up from the various slownesses and eccentricities of the mm-\r
66 modes. Second, and more importantly, it makes it a *lot* easier for\r
67 other clients to play, for the remote use of the existing emacs client,\r
68 and for scripted command-line usage (e.g. put all the attached vcards in\r
69 your maildir into a directory).\r
70 \r
71 I've been playing around with this a bit, for my own purposes,\r
72 already. Unfortunately, my autodidact's c code is probably all sorts of\r
73 wrong, and I wouldn't want to subject anyone to it. But it does seem\r
74 like the way to go, and I'd be very happy to help out with any testing,\r
75 if anyone goes forwad with this.\r
76 \r
77 Best,\r
78 Jesse\r