]> git.notmuchmail.org Git - notmuch/blob - test/corpus/21
test: Add a corpus of email messages to be used in testing.
[notmuch] / test / corpus / 21
1 From: "Alex Botero-Lowry" <alex.boterolowry@gmail.com>
2 To: notmuch@notmuchmail.org
3 Date: Tue, 17 Nov 2009 16:23:53 -0800
4 Subject: [notmuch] [PATCH] Error out if no query is supplied to search
5         instead of going into an infinite loop
6 Message-ID: <cf0c4d610911171623q3e27a0adx802e47039b57604b@mail.gmail.com>
7
8 In this case error out when no query is supplied. There seems to be an
9 infinite-loop casued by i think notmuch_query_search_threads having
10 an exception:
11
12 A Xapian exception occurred: Syntax: <expression> AND <expression>
13 A Xapian exception occurred: Syntax: <expression> AND <expression>
14 A Xapian exception occurred: Syntax: <expression> AND <expression>
15 A Xapian exception occurred: Syntax: <expression> AND <expression>
16 A Xapian exception occurred: Syntax: <expression> AND <expression>
17 A Xapian exception occurred: Syntax: <expression> AND <expression>
18 A Xapian exception occurred: Syntax: <expression> AND <expression>
19 A Xapian exception occurred: Syntax: <expression> AND <expression>
20 A Xapian exception occurred: Syntax: <expression> AND <expression>
21 A Xapian exception occurred: Syntax: <expression> AND <expression>
22 A Xapian exception occurred: Syntax: <expression> AND <expression>
23 A Xapian exception occurred: Syntax: <expression> AND <expression>
24 A Xapian exception occurred: Syntax: <expression> AND <expression>
25 A Xapian exception occurred: Syntax: <expression> AND <expression>
26 A Xapian exception occurred: Syntax: <expression> AND <expression>
27
28 I'll look into that bug specifically a bit later.
29
30 It might be better to do a usage instead of just throwing an error here?
31
32 alex
33 -------------- next part --------------
34 An HTML attachment was scrubbed...
35 URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091117/b95e96cd/attachment.htm>
36 -------------- next part --------------
37 A non-text attachment was scrubbed...
38 Name: 0001-Error-out-if-no-query-is-supplied-to-search-instead-.patch
39 Type: application/octet-stream
40 Size: 793 bytes
41 Desc: not available
42 URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091117/b95e96cd/attachment.obj>
43