unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch-vim doesn't respect notmuch config defaults
@ 2014-10-02  8:55 Sergei Shilovsky
  2014-10-02 11:24 ` David Bremner
  2014-10-02 19:22 ` Ian Main
  0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shilovsky @ 2014-10-02  8:55 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-02 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02  8:55 notmuch-vim doesn't respect notmuch config defaults Sergei Shilovsky
2014-10-02 11:24 ` David Bremner
2014-10-02 19:32   ` Ian Main
2014-10-02 19:22 ` Ian Main

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).