From: Sergei Shilovsky <sshilovsky@gmail.com>
To: notmuch@notmuchmail.org
Subject: notmuch-vim doesn't respect notmuch config defaults
Date: Thu, 2 Oct 2014 12:55:46 +0400 [thread overview]
Message-ID: <CAHc2pO19AZabAiJhdfQR1rL5t0GufLAq5cKb_7w-Z8y+JXT5+g@mail.gmail.com> (raw)
I would suggest to use `notmuch config list` to get configuration
values in vim if possible
Reproduction example follows:
/home/sh> cat .notmuch-config
[new]
tags=new;inbox;unread
ignore=
[search]
exclude_tags=deleted;spam
[maildir]
synchronize_flags=false
/home/sh> notmuch config list
new.tags=new;inbox;unread
new.ignore=
search.exclude_tags=deleted;spam
maildir.synchronize_flags=false
database.path=/home/sh/mail
user.name=Sergei Shilovsky
user.primary_email=sshilovsky@gmail.com
/home/sh> vim -c :NotMuch
Error detected while processing function
<SNR>13_NotMuch..<SNR>13_folders..<SNR>
13_new_buffer:
line 6:
TypeError: no implicit conversion of nil into String
Error detected while processing function <SNR>13_NotMuch..<SNR>13_folders:
line 2:
NoMethodError: undefined method `query' for nil:NilClass
Having explicit database.path=/home/sh/mail in the configuration file
makes it work
--
С уважением,
Сергей Шиловский
Sergei Shilovsky
next reply other threads:[~2014-10-02 8:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 8:55 Sergei Shilovsky [this message]
2014-10-02 11:24 ` notmuch-vim doesn't respect notmuch config defaults David Bremner
2014-10-02 19:32 ` Ian Main
2014-10-02 19:22 ` Ian Main
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHc2pO19AZabAiJhdfQR1rL5t0GufLAq5cKb_7w-Z8y+JXT5+g@mail.gmail.com \
--to=sshilovsky@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).