From: David Bremner Date: Wed, 8 Jul 2015 16:03:45 +0000 (+0200) Subject: Re: Notmuch-mutt in RaspberryPi X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0591168f72e2a819d2c72f11775fbf3bb71c716;p=notmuch-archives.git Re: Notmuch-mutt in RaspberryPi --- diff --git a/69/f4780a2ff15a8b91fa87d269e90f8a16b6722e b/69/f4780a2ff15a8b91fa87d269e90f8a16b6722e new file mode 100644 index 000000000..308f8d958 --- /dev/null +++ b/69/f4780a2ff15a8b91fa87d269e90f8a16b6722e @@ -0,0 +1,87 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id C533C6DE0298 + for ; Wed, 8 Jul 2015 09:27:49 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.172 +X-Spam-Level: +X-Spam-Status: No, score=0.172 tagged_above=-999 required=5 tests=[AWL=0.172] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id HXLTf9zmayYR for ; + Wed, 8 Jul 2015 09:27:47 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 930906DE028A + for ; Wed, 8 Jul 2015 09:27:47 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1ZCsAt-0007jR-Cj; Wed, 08 Jul 2015 16:26:19 +0000 +Received: (nullmailer pid 4037 invoked by uid 1000); Wed, 08 Jul 2015 + 16:03:45 -0000 +From: David Bremner +To: yquintero , notmuch@notmuchmail.org +Subject: Re: Notmuch-mutt in RaspberryPi +In-Reply-To: <1436322928169-4033688.post@n3.nabble.com> +References: <1436322928169-4033688.post@n3.nabble.com> +User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 08 Jul 2015 18:03:45 +0200 +Message-ID: <87io9umyam.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 08 Jul 2015 16:27:49 -0000 + +yquintero writes: + +> Good evenning. +> +> I have a trouble, when I configure notmuch-mutt in my RaspberryPi. I have +> been searching the solution to the following code: +> +> Warning: failed to open directory /home/pi/mail: No such file or directory +> Found 0 total files (that's not much mail). +> Error: Cannot create database at /home/pi/mail: No such file or directory. + +Did you first run "notmuch setup" and then "notmuch new"? + +> +> Firstly I apply these steps before to run notmuch-mutt +> +> 1).- I add the macros: +> +> # 'L' performs a notmuch query, showing only the results +> macro index L "unset wait_keyread -p +> 'notmuch query: ' x; echo \$x +>>~/.cache/mutt_terms~i \"\`notmuch search --output=messages +> \$(cat ~/.cache/mutt_terms) | head -n 600 | +> perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show +> only messages matching a notmuch pattern" +> # 'a' shows all messages again (supersedes default binding) +> macro index a "all\n" "show all messages (undo limit)" +> +> 2).- I change apply chmod 777 -R /home/pi/mail/ "Making that the error does +> not show" but when I try the find with "L" with .muttrc the system shows +> "empty exception" +> + +I'm not very familiar with mutt but that doesn't sound like the right +solution to anything. In any case, please get command line notmuch +searches working first, then we can find someone who understands any +remaining issues with notmuch-mutt.