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

Tomi Ollila tomi.ollila at iki.fi
Fri Mar 29 08:54:33 PDT 2013


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

> david at tethera.net writes:
>
>> From: David Bremner <bremner at 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 at 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


More information about the notmuch mailing list