[PATCH] notmuch-emacs-mua: non-forking escape () usage with backslash '\' escape

David Bremner david at tethera.net
Wed Apr 1 00:15:10 PDT 2015


Tomi Ollila <tomi.ollila at iki.fi> writes:

> Use the printf -v convention to give output variable as argument
> to escape () function so no subshell needs to be executed for
> escaping input. The '-v' option to escape () is just syntactic
> sugar for better understanding.
>
> Also, backslash is now escaped with another backslash for emacs. This
> ie especially important at the end of string.
>

s/ie/is/, but I can amend that. Otherwise looks ok.

d


More information about the notmuch mailing list