From: David Bremner Date: Fri, 3 Apr 2015 22:40:46 +0000 (+0900) Subject: Re: [PATCH] notmuch-emacs-mua: non-forking escape () usage with backslash '\' escape X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ad7ef09e3f51a8dd8a4af233f6d3c8561ef3bc3;p=notmuch-archives.git Re: [PATCH] notmuch-emacs-mua: non-forking escape () usage with backslash '\' escape --- diff --git a/8a/546d46024245cbdbadf951f87671791f9350ec b/8a/546d46024245cbdbadf951f87671791f9350ec new file mode 100644 index 000000000..b72716782 --- /dev/null +++ b/8a/546d46024245cbdbadf951f87671791f9350ec @@ -0,0 +1,66 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 108396DE1962 + for ; Fri, 3 Apr 2015 15:42:07 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.837 +X-Spam-Level: +X-Spam-Status: No, score=0.837 tagged_above=-999 required=5 tests=[AWL=0.837] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id hocVtdlyqxMc for ; + Fri, 3 Apr 2015 15:42:05 -0700 (PDT) +X-Greylist: delayed 9518 seconds by postgrey-1.35 at arlo; + Fri, 03 Apr 2015 15:42:04 PDT +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id E9AC86DE1953 + for ; Fri, 3 Apr 2015 15:42:04 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1YeAGu-0002GH-Fa; Fri, 03 Apr 2015 22:41:04 +0000 +Received: (nullmailer pid 28393 invoked by uid 1000); Fri, 03 Apr 2015 + 22:40:46 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH] notmuch-emacs-mua: non-forking escape () usage with + backslash '\' escape +In-Reply-To: <1427647054-7773-1-git-send-email-tomi.ollila@iki.fi> +References: <1427647054-7773-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 04 Apr 2015 07:40:46 +0900 +Message-ID: <87wq1s4yz5.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 03 Apr 2015 22:42:07 -0000 + +Tomi Ollila 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. +> + +pushed, + +d +