Re: [PATCH] add has: query prefix to search for specific properties
[notmuch-archives.git] / 7b / e2b298d946832ec83171a42646e42bdb82ebc4
1 Return-Path: <gmn-notmuch@m.gmane.org>\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 3BCE2431FD5\r
6         for <notmuch@notmuchmail.org>; Fri, 12 Dec 2014 04:46:06 -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: 0.165\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.165 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_NUMERIC_HELO=0.865]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id AxP1P0+WebkA for <notmuch@notmuchmail.org>;\r
17         Fri, 12 Dec 2014 04:46:02 -0800 (PST)\r
18 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
19         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 39979431FBC\r
22         for <notmuch@notmuchmail.org>; Fri, 12 Dec 2014 04:46:02 -0800 (PST)\r
23 Received: from list by plane.gmane.org with local (Exim 4.69)\r
24         (envelope-from <gmn-notmuch@m.gmane.org>) id 1XzPbc-00024c-Hh\r
25         for notmuch@notmuchmail.org; Fri, 12 Dec 2014 13:46:00 +0100\r
26 Received: from 151.62.31.98 ([151.62.31.98])\r
27         by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
28         id 1AlnuQ-0007hv-00\r
29         for <notmuch@notmuchmail.org>; Fri, 12 Dec 2014 13:46:00 +0100\r
30 Received: from lele by 151.62.31.98 with local (Gmexim 0.1 (Debian))\r
31         id 1AlnuQ-0007hv-00\r
32         for <notmuch@notmuchmail.org>; Fri, 12 Dec 2014 13:46:00 +0100\r
33 X-Injected-Via-Gmane: http://gmane.org/\r
34 To: notmuch@notmuchmail.org\r
35 From: Lele Gaifax <lele@metapensiero.it>\r
36 Subject: Re: Address completion in Emacs\r
37 Date: Fri, 12 Dec 2014 13:45:47 +0100\r
38 Organization: Nautilus Entertainments\r
39 Lines: 31\r
40 Message-ID: <87vblh829w.fsf@nautilus.nautilus>\r
41 References: <87d27p9t0f.fsf@nautilus.nautilus>\r
42         <m24mt1hxoy.fsf@heart-of-gold.hh.sledj.net>\r
43 Mime-Version: 1.0\r
44 Content-Type: text/plain; charset=utf-8\r
45 Content-Transfer-Encoding: 8bit\r
46 X-Complaints-To: usenet@ger.gmane.org\r
47 X-Gmane-NNTP-Posting-Host: 151.62.31.98\r
48 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)\r
49 Cancel-Lock: sha1:M+qUkDsKo+eGtsKOP90Fwz2yvE4=\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 12 Dec 2014 12:46:06 -0000\r
63 \r
64 David Edmondson <dme@dme.org> writes:\r
65 \r
66 > On Fri, Dec 12 2014, Lele Gaifax wrote:\r
67 >> Wouldn't it be more "correct" to pass the unchanged `options' list and\r
68 >> the "real" `orig' text as `initial-input' to the customizable function\r
69 >> instead?\r
70 >\r
71 > Would I then have to press TAB twice to get the first result?\r
72 \r
73 No, why? The customizable `notmuch-address-selection-function' would be\r
74 free to pass (car options) as the initial-input of `completing-read', if\r
75 needed. When using `ido-completing-read', the first option is\r
76 pre-selected, so a RET confirms that.\r
77 \r
78 >> I understand that it may be undesiderable to break existing\r
79 >> configurations by rectifying the arguments in that way, and in such case\r
80 >> could we change the `initial-input' argument name to better reflect the\r
81 >> fact that it actually contains one possible candidate instead?\r
82 >\r
83 > From the perspective of `notmuch-address-selection-function', it _is_\r
84 > the `initial-input', as that is what is presented to the user.\r
85 \r
86 IMHO no, it's not: what it receives as `initial-input' is not what the\r
87 user actually wrote, but rather just the (somewhat arbitrary) first\r
88 candidate address found by `notmuch-address-command'.\r
89 \r
90 thanks&bye, lele.\r
91 -- \r
92 nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri\r
93 real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.\r
94 lele@metapensiero.it  |                 -- Fortunato Depero, 1929.\r
95 \r