Re: [PATCH v2] VIM: Use notmuch CLI for config

Subject: Re: [PATCH v2] VIM: Use notmuch CLI for config

Date: Fri, 03 Oct 2014 08:54:17 +0200

To: Ian Main, notmuch@notmuchmail.org

Cc:

From: David Bremner


Ian Main <imain@stemwinder.org> writes:

> This patch switches from reading .notmuch-config directly to using
> the CLI the same way that emacs does it.  It actually uses less code
> and is probably less error prone.
>
>     Ian

The general approach seems sane; it seems quite brittle to read the
config file directly. I notice there is not really any error handling;
OTOH, as far as I can read Ruby, there is not any in the previous
version either.  Technically, this does add a dependency of the vim
client on the CLI that did not exist before. Personally I don't find
this onerous (even notmuch-vim users need "notmuch new", except in
rather unusual circumstances.).

I'd like feedback/testing from actual vim interface users before
merging.


Thread: