Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 69 / f4780a2ff15a8b91fa87d269e90f8a16b6722e
1 Return-Path: <david@tethera.net>\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 arlo.cworth.org (Postfix) with ESMTP id C533C6DE0298\r
6  for <notmuch@notmuchmail.org>; Wed,  8 Jul 2015 09:27:49 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.172\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.172 tagged_above=-999 required=5 tests=[AWL=0.172]\r
12  autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id HXLTf9zmayYR for <notmuch@notmuchmail.org>;\r
16  Wed,  8 Jul 2015 09:27:47 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18  [87.98.215.224])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 930906DE028A\r
20  for <notmuch@notmuchmail.org>; Wed,  8 Jul 2015 09:27:47 -0700 (PDT)\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
22  4.80) (envelope-from <david@tethera.net>)\r
23  id 1ZCsAt-0007jR-Cj; Wed, 08 Jul 2015 16:26:19 +0000\r
24 Received: (nullmailer pid 4037 invoked by uid 1000); Wed, 08 Jul 2015\r
25  16:03:45 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: yquintero <yeison.quintero@spanishconnector.com>, notmuch@notmuchmail.org\r
28 Subject: Re: Notmuch-mutt in RaspberryPi\r
29 In-Reply-To: <1436322928169-4033688.post@n3.nabble.com>\r
30 References: <1436322928169-4033688.post@n3.nabble.com>\r
31 User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.4.1\r
32  (x86_64-pc-linux-gnu)\r
33 Date: Wed, 08 Jul 2015 18:03:45 +0200\r
34 Message-ID: <87io9umyam.fsf@maritornes.cs.unb.ca>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.18\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41  <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Wed, 08 Jul 2015 16:27:49 -0000\r
50 \r
51 yquintero <yeison.quintero@spanishconnector.com> writes:\r
52 \r
53 > Good evenning.\r
54 >\r
55 > I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I have\r
56 > been searching the solution to the following code:\r
57 >\r
58 > Warning: failed to open directory /home/pi/mail: No such file or directory\r
59 > Found 0 total files (that's not much mail).\r
60 > Error: Cannot create database at /home/pi/mail: No such file or directory.\r
61 \r
62 Did you first run "notmuch setup" and then "notmuch new"?\r
63 \r
64 >\r
65 > Firstly I apply these steps before to run notmuch-mutt\r
66 >\r
67 > 1).- I add the macros:\r
68 >\r
69 > # 'L' performs a notmuch query, showing only the results\r
70 > macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p\r
71 > 'notmuch query: ' x; echo \$x\r
72 >>~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages\r
73 > \$(cat ~/.cache/mutt_terms) | head -n 600 |\r
74 > perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show\r
75 > only messages matching a notmuch pattern"\r
76 > # 'a' shows all messages again (supersedes default <alias> binding)\r
77 > macro index a "<limit>all\n" "show all messages (undo limit)"\r
78 >\r
79 > 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the error does\r
80 > not show" but when I try the find with "L" with .muttrc the system shows\r
81 > "empty exception"\r
82 >\r
83 \r
84 I'm not very familiar with mutt but that doesn't sound like the right\r
85 solution to anything. In any case, please get command line notmuch\r
86 searches working first, then we can find someone who understands any\r
87 remaining issues with notmuch-mutt.\r