From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: [babel] Using :prologue and :epilogue with unbalanced brackets Date: Mon, 20 Jan 2014 15:11:22 +0100 Message-ID: <52DD2E8A.704@krugs.de> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5FZa-0005jH-TA for Emacs-orgmode@gnu.org; Mon, 20 Jan 2014 09:11:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5FZV-0003ls-FM for Emacs-orgmode@gnu.org; Mon, 20 Jan 2014 09:11:30 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:48555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5FZV-0003lk-93 for Emacs-orgmode@gnu.org; Mon, 20 Jan 2014 09:11:25 -0500 Received: by mail-wi0-f171.google.com with SMTP id cc10so3225650wib.16 for ; Mon, 20 Jan 2014 06:11:24 -0800 (PST) Received: from Rainers-MacBook-Pro-2.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id z1sm1568071wjq.19.2014.01.20.06.11.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 06:11:23 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs orgmode-mailinglist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I would like to use :prologue and :epilogue to enclose the code block in a local({}) block, i.e. * test #+begin_src R :prologue local({ :epilogue }) qwerty <- "test" #+end_src But the problem seems to be the unbalanced brackets, and everything is passed on as the prologue, as I get the error: Error: unexpected ':' in: "{ local({ :" Execution halted Can I somehow use unbalanced brackets, or is this a missing option in epilogue and prologue? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS3S6KAAoJENvXNx4PUvmCh84IAOsNxX9EtQPuHLGZrwIwFdzX PZCj1Iq576gbCvHHkzaepAtGWsb0k/D0FBoFCA1rjJWHKU5gn6H32nVRBEGM/uct 5OzG7sKViJ4ED60qIYb/n4gogDudhA1AC8W2qvag1y30U/NX9VSBUaCdGQfZxMjP azuyvKFtrbUx3+1Ob/Ch/DDr+msndQilzyibP5OFYjjHmHKz+XvjkN9xQoDusesA L/XqDWCecBsYTwp/+v3mdIK4fFk2L1HmQ+tWBm1QmaL/DNYVEEFuXZEcwYrocVX+ cUh2v/o1sXihGvHWLoXbhxxKiXpEl3QzHChXNuc755KcG4fQpmuqHILvyxuCkEo= =MDD2 -----END PGP SIGNATURE-----