Re: [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

Subject: Re: [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string

Date: Fri, 29 Mar 2013 17:54:33 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Fri, Mar 29 2013, David Bremner <david@tethera.net> wrote:

> david@tethera.net writes:
>
>> From: David Bremner <bremner@debian.org>
>>
>> This has two benefits: unified error handling, and avoiding tramp's
>> hooking into shell-command-string.
>>
>> This seems to be a fix for id:874nguxbvq.fsf@tu-dortmund.de
>> ---
>>
>> Simon: can you check if this fixes your bug?
>
> Anyone willing to sanity check my e-lisp?

LGTM. The implementation is quite much the same as in 
notmuch-call-notmuch-process, just that this function returns
the output as a string.

> d

Tomi

Thread: