From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: :no-expand not working on variables? Date: Fri, 28 Mar 2014 15:57:00 +0100 Message-ID: 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]:51227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTYDi-00043w-4K for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 10:57:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTYDa-0007er-KR for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 10:57:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:46043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTYDa-0007ek-DQ for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 10:57:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WTYDQ-00020F-I4 for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 15:57:04 +0100 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Mar 2014 15:57:04 +0100 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Mar 2014 15:57:04 +0100 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@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi shouldn't the following not give an error from R as it should not be expanding the variables? =2D-8<---------------cut here---------------start------------->8--- #+PROPERTY: no-expand TRUE #+PROPERTY: var YEAR=3D2014 * a noexpand code #+begin_src R :results output :no-expand cat(YEAR) #+end_src #+RESULTS: : 2014 =2D-8<---------------cut here---------------end--------------->8--- The manual states: ,---- | 14.8.2.11 `:no-expand' | ...................... |=20 | By default, code blocks are expanded with `org-babel-expand-src-block' | during tangling. This has the effect of assigning values to variables | specified with `:var' (see *Note var::), and of replacing "noweb" | references (see *Note Noweb reference syntax::) with their targets. The | `:no-expand' header argument can be used to turn off this behavior. `---- Org-mode version 8.2.5h (release_8.2.5h-869-gdcfe09 @ /Users/rainerkrug/.emacs.d/org-mode/lisp/) Cheers, Rainer =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTNY28AAoJENvXNx4PUvmCI74H/2HX5VAaP9xahfpNi4J4+S/O 9YsjRKEYLdueAAdAJlYTqueH2fQtfRhZ5SfssEap4t7WuFVkk0g+KKlUhikmmf+r CkuLAg34dYUHMEJoEEdtZtglT3JuhwxJId5JnEvlfL5ms/SRoDlLhaT3wRkOqOqg sdls4blgSwFL5+JpvCkQtzIfZIinPMV1ewFOcnbsPwsGa7g7aRqI2nvoWllJODLQ QfGx6V7a9wwR+1pQzt2gjRFY4TpCJUxx6F0CpewV9XBhQEUsaueHwaxcXq1hABeH 2ScFQRsieZL6rqV27AMK5/wPuYYTU2KiVRtjwaPM7oP6+2UdQFrPWEe/1CQfSnk= =sUpc -----END PGP SIGNATURE----- --=-=-=--