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

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

Date: Wed, 01 Apr 2015 09:15:10 +0200

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@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

Thread: