From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEJ1ZzogT3JnIGNhcHR1cmU6IEludmFsaWQgdXNlIG9mIA==?= =?UTF-8?B?4oCYXOKAmSBpbiByZXBsYWNlbWVudCB0ZXh0IFs5LjEuMTQgKDkuMS4xNC0x?= =?UTF-8?B?MDQ5LWcwNDY0MWMtZWxwYXBsdXMgQCAvaG9tZS9pb25hc2FsLy5lbWFjcy5k?= =?UTF-8?B?L2VscGEvb3JnLXBsdXMtY29udHJpYi0yMDE4MTIwMy8pXQ==?= Date: Sat, 08 Dec 2018 11:51:39 +0100 Message-ID: <87k1kkfg04.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVaD4-0007Vn-Iu for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 05:51:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVaD1-0003AW-ED for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 05:51:46 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55079) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVaD1-00039j-72 for emacs-orgmode@gnu.org; Sat, 08 Dec 2018 05:51:43 -0500 In-Reply-To: (Allen Li's message of "Fri, 7 Dec 2018 18:12:30 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Allen Li Cc: Org Mode List Hello, Allen Li writes: > There's an escaping bug in Org capture: > > 1. emacs -Q > 2. Evaluate: > > (setq org-capture-templates > '(("Z" "org-protocol capture" entry > (file "/tmp/tmp") > "* %? > %(let ((x \"%:annotation\")) (if (string=3D x \"\") \"\" (concat x > \"\\n\")))%i"))) > > 3. Evaluate (require 'org-protocol) > > 4. Evaluate to simulate org protocol capture: > > (org-protocol-capture '(:template "Z" :body "foo\nbar\n")) > > Causes error: > > (error "Capture abort: (error Invalid use of =E2=80=98\\=E2=80=99 in repl= acement > text)") Fixed. Thank you. Regards, --=20 Nicolas Goaziou