From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: Re: [babel] PROPERTY doesn't do what BABEL did Date: Wed, 14 Dec 2011 20:32:37 -0800 Message-ID: <87iplifo9m.fsf@tajo.ucsd.edu> References: <8762hi3gcv.fsf@tajo.ucsd.edu> <87k45yy6wr.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb301-0007dR-U5 for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 23:32:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb300-0003Jp-7G for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 23:32:53 -0500 Received: from lo.gmane.org ([80.91.229.12]:44212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb2zz-0003JO-Qm for emacs-orgmode@gnu.org; Wed, 14 Dec 2011 23:32:52 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rb2zy-0005mN-EW for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 05:32:50 +0100 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Dec 2011 05:32:50 +0100 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Dec 2011 05:32:50 +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 Eric Schulte writes: > cberry@tajo.ucsd.edu writes: > >> I would like to get the same behavior as when I export a file with (say) >> these three lines: >> >> #+begin_src emacs-lisp :var foo=1 :var bar=2 :results value :exports both >> (+ foo bar) >> #+end_src >> >> But I'd like to set a buffer wide PROPERTY to achieve that as with a >> file with these lines: >> >> #+property: var foo=1 >> #+property: var+ bar=2 >> #+begin_src emacs-lisp :results value :exports both >> (+ foo bar) >> #+end_src >> > > The above works on my system. You may want to try C-c C-c on one of the > property lines so that Org-mode re-reads them (it does this > automatically upon opening an Org-mode file). Eric, That did it. So when editting #+PROPERTY lines, C-c C-c on one of them to update the settings. I see this documented in org-ctrl-c-ctrl-c now. But I missed it in the manual. Thanks, Chuck > > Best, > >> >> it throws an error under 7.8.02 (downloaded as tar.gz) when I try to >> export it with 'C-c C-e a yes RET' : >> >> progn: Symbol's value as variable is void: foo >> >> Other trials seem to show that #+PROPERTY: is ignored by the src blocks >> >> I'd really like to get something that does what BABEL used to do as I >> have a lot of code that relies on that behavior. :-( >> >> Chuck >> >> --- >> >>