From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: change in babel argument processing? Date: Mon, 08 May 2017 09:51:17 +0100 Message-ID: <87tw4vspdm.fsf@t3610> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7eO8-0005BE-Gt for emacs-orgmode@gnu.org; Mon, 08 May 2017 04:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7eO5-0007j7-GF for emacs-orgmode@gnu.org; Mon, 08 May 2017 04:51:28 -0400 Received: from mail-db5eur01on0131.outbound.protection.outlook.com ([104.47.2.131]:29684 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7eO5-0007iw-6H for emacs-orgmode@gnu.org; Mon, 08 May 2017 04:51:25 -0400 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: emacs-orgmode@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello all, Some of my ledger babel calls have stopped working. I have tracked it down to a change in how backslashes are treated. Formerly, I had "...\n..." which was interpreted correctly but now require to escape the backslash "...\\n...", as in the attached example. I'm posting this as much as a heads up for others as anything else. I did not see any mention of this in the list or the change log but could have obviously missed it easily (apologies if so). Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.6-407-gc28ec3 --=-=-= Content-Type: text/x-org; charset=utf-8 Content-Disposition: attachment; filename=t.org Content-Transfer-Encoding: quoted-printable * test This does not work: #+call: year2016[:cmdline --format "%-20A %12T\n" bal --flat pay tax]() #+results: This one does: #+call: year2016[:cmdline --format "%-20A %12T\\n" bal --flat pay tax]() #+results: : pay -35.00 =C2=A3 : tax 10.00 =C2=A3 : -25.00 =C2=A3 #+name: year2016 #+begin_src ledger :cmdline bal assets 2016/05/03 * pay bank 25.00 =C2=A3 tax 10 =C2=A3 pay #+end_src=20 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWRAxhQAKCRDIkZPY//z2 fRbsAJ4+FMqpFbK2v/EZ+NZnFvGoIewPIgCcCok/aXy9J7zgv54wmPGqyUC39eg= =0/kY -----END PGP SIGNATURE----- --==-=-=--