1 Return-Path: <sshilovsky@gmail.com>
\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 C762F431FBF
\r
6 for <notmuch@notmuchmail.org>; Thu, 2 Oct 2014 01:55:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.976 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO=2.775, RCVD_IN_DNSWL_LOW=-0.7]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 5GsPLJyS2Cj0 for <notmuch@notmuchmail.org>;
\r
18 Thu, 2 Oct 2014 01:55:49 -0700 (PDT)
\r
19 Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com
\r
20 [209.85.214.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 0F3EF431FB6
\r
23 for <notmuch@notmuchmail.org>; Thu, 2 Oct 2014 01:55:49 -0700 (PDT)
\r
24 Received: by mail-ob0-f182.google.com with SMTP id uy5so1787766obc.13
\r
25 for <notmuch@notmuchmail.org>; Thu, 02 Oct 2014 01:55:47 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=mime-version:reply-to:date:message-id:subject:from:to:content-type
\r
28 :content-transfer-encoding;
\r
29 bh=mawzdokHNyUU6mOFHUg5wvznrNWIHf8+hkc2ot5MmUI=;
\r
30 b=rS6TG2Ef+IrZqUCznlx4d+8akyZACD93rdMXgH/qaZ5uToQa5/7UYB0ksa/dxrYt/+
\r
31 FUe74KgWtk8BPX5amev/8E64D0T+dE/PDvyygH/Fu9hitzbkcr9ms0SuJ9UH73HDNIAp
\r
32 a7DioVH3NJqhIZxtVy51KYxd4e+OoFdCvSPVkLpBtBkdo3QDFlRtxR1ylEZUs9d6XAU8
\r
33 ePrN24OzGWLWOa2RHybKpSxL98cvcmkjfA/9sEq3KbVgcFCJ1kyt61fz2LJqMYgfV09f
\r
34 ig6GVo9+hzg2pOoADPwHL1XSUeZ8JZdgxSqnVJQabRmX01m2UnnRyUj6yGFMNlVigOrz
\r
37 X-Received: by 10.182.153.68 with SMTP id ve4mr63796809obb.60.1412240146559;
\r
38 Thu, 02 Oct 2014 01:55:46 -0700 (PDT)
\r
39 Received: by 10.76.41.3 with HTTP; Thu, 2 Oct 2014 01:55:46 -0700 (PDT)
\r
40 Date: Thu, 2 Oct 2014 12:55:46 +0400
\r
42 <CAHc2pO19AZabAiJhdfQR1rL5t0GufLAq5cKb_7w-Z8y+JXT5+g@mail.gmail.com>
\r
43 Subject: notmuch-vim doesn't respect notmuch config defaults
\r
44 From: Sergei Shilovsky <sshilovsky@gmail.com>
\r
45 To: notmuch@notmuchmail.org
\r
46 Content-Type: text/plain; charset=UTF-8
\r
47 Content-Transfer-Encoding: quoted-printable
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 Reply-To: sshilovsky@gmail.com
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Thu, 02 Oct 2014 08:55:53 -0000
\r
63 I would suggest to use `notmuch config list` to get configuration
\r
64 values in vim if possible
\r
66 Reproduction example follows:
\r
68 /home/sh> cat .notmuch-config
\r
70 tags=3Dnew;inbox;unread
\r
74 exclude_tags=3Ddeleted;spam
\r
77 synchronize_flags=3Dfalse
\r
79 /home/sh> notmuch config list
\r
80 new.tags=3Dnew;inbox;unread
\r
82 search.exclude_tags=3Ddeleted;spam
\r
83 maildir.synchronize_flags=3Dfalse
\r
84 database.path=3D/home/sh/mail
\r
85 user.name=3DSergei Shilovsky
\r
86 user.primary_email=3Dsshilovsky@gmail.com
\r
88 /home/sh> vim -c :NotMuch
\r
89 Error detected while processing function
\r
90 <SNR>13_NotMuch..<SNR>13_folders..<SNR>
\r
93 TypeError: no implicit conversion of nil into String
\r
94 Error detected while processing function <SNR>13_NotMuch..<SNR>13_folders:
\r
96 NoMethodError: undefined method `query' for nil:NilClass
\r
98 Having explicit database.path=3D/home/sh/mail in the configuration file
\r
102 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,
\r
103 =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 =D0=A8=D0=B8=D0=BB=D0=BE=D0=B2=D1=81=
\r