Re: cli: add --include-html option to notmuch show
[notmuch-archives.git] / 43 / 481591a6be819fe6deac2921eb86790ccb7ebb
1 Return-Path: <tomi.ollila@iki.fi>\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 15EA7431FAF\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 23:45:50 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 atTaoekv4Ewg for <notmuch@notmuchmail.org>;\r
16         Mon, 26 Mar 2012 23:45:49 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 10EE8431FAE\r
19         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 23:45:49 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 9DBF368055; Tue, 27 Mar 2012 09:45:47 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH 0/2] Escape message ID queries in Emacs\r
25 In-Reply-To: <1332812236-20387-1-git-send-email-amdragon@mit.edu>\r
26 References: <1332812236-20387-1-git-send-email-amdragon@mit.edu>User-Agent:\r
27  Notmuch/0.12+70~gce7ecf1       (http://notmuchmail.org) Emacs/23.3.1\r
28  (x86_64-unknown-linux-gnu)\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
30         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
31         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
32 Date: Tue, 27 Mar 2012 09:45:47 +0300\r
33 Message-ID: <m2sjgutuck.fsf@guru.guru-group.fi>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Tue, 27 Mar 2012 06:45:50 -0000\r
49 \r
50 On Tue, Mar 27 2012, Austin Clements wrote:\r
51 \r
52 > Currently, Emacs does not escape message ID queries and is\r
53 > inconsistent about quoting them.  This patch centralizes this in one\r
54 > function that always produces a properly quoted and escaped message ID\r
55 > query.\r
56 >\r
57 > With this, Emacs no longer gets confused by Tomi's crazy message,\r
58 >   id:"id:""1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi"""\r
59 \r
60 LGTM. Things work!\r
61 \r
62 \r
63 One observation, though:\r
64 \r
65 In search bar the following queries return one match:\r
66 \r
67 id:id:"1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi"\r
68 id:"id:""1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi"""\r
69 \r
70 but\r
71 \r
72 id:"id:"1332281811-24710-2b-git-send-email-tomi.ollila@iki.fi""\r
73 \r
74 return 0 matches.\r
75 \r
76 It looks like the (above) search strings goes verbatim to command line\r
77 \r
78 i.e. 'notmuch' 'search' '--sort=oldest-first' 'id:...'\r
79 \r
80 can be used to compare... so that would be CLI issue if there\r
81 is ever need to do do anything with it.\r
82 \r
83 +1\r
84 \r
85 Thanks for fixing this.\r
86 \r
87 Tomi\r