From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feiming Chen Subject: Re: Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11] Date: Tue, 4 Sep 2012 14:26:18 -0700 (PDT) Message-ID: <1346793978.63078.YahooMailRC@web181501.mail.ne1.yahoo.com> References: <1346341184.10633.YahooMailRC@web181504.mail.ne1.yahoo.com> <87vcg0cr5u.fsf@gmx.com> <1346431124.34381.YahooMailRC@web181501.mail.ne1.yahoo.com> <8739336ltc.fsf@gmx.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="1463410457-2077856299-1346793978=:63078" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T90db-0000pT-VG for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 17:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T90dY-0005tH-Fl for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 17:26:23 -0400 Received: from nm8-vm1.access.bullet.mail.sp2.yahoo.com ([98.139.44.119]:37436) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T90dY-0005t9-2w for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 17:26:20 -0400 In-Reply-To: <8739336ltc.fsf@gmx.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --1463410457-2077856299-1346793978=:63078 Content-Type: text/plain; charset=us-ascii Hi Eric: Thanks a lot for your advice! It works for me now after I press "C-c C-c" on the "#+PROPERTY" line. It seems all my previous attempts fail because I didn't do "C-c C-c". It would be nice if "org" can notice something changes in the header lines and do automatic refreshing when exporting. But anyway, the manual update "C-c C-c" works great as long as I can remember to do it. Thanks! Sincerely, Feiming Chen ________________________________ From: Eric Schulte To: Feiming Chen Cc: emacs-orgmode@gnu.org Sent: Fri, August 31, 2012 12:58:23 PM Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11] Feiming Chen writes: > HI Eric: > > Thanks a lot! But I am still having trouble with some buffer-wide header > arguments. In particular, I could not have the following code working as > expected: > > > #+PROPERTY: :eval no > > * test 3: Buffer-wide header arguments are NOT effective > #+begin_src R :exports both > print(pi) > #+end_src > > I am getting the result printed even though I turned the evaluation off. It > seems I could not turn off the evaluation with ":eval no" in the buffer-wide > header argument. Could you help? > Hi Feiming, I apologize. I gave you bad advice in my previous email. Please use the #+PROPERTY: setting as in your original email and as described in the Org-mode manual. Do *not* add a leading ":" to header argument names as I suggested. The following two Org-mode files both work as expected locally. If a buffer-wide header argument doesn't seem to be active, you can activate it by pressing C-c C-c on the #+PROPERTY: line. Cheers, > > > Sincerely, > Feiming Chen > > > > > ________________________________ > From: Eric Schulte > To: Feiming Chen > Cc: emacs-orgmode@gnu.org > Sent: Thu, August 30, 2012 11:53:44 AM > Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective > [7.8.11] > > Feiming Chen writes: > >> Hi: Could anyone help with the following problem? >> >> Please see the attached file "a.org" with its text export "a.txt" (from C-c C-e >> >> >> a). >> > > Replace > > #+PROPERTY: exports both > #+PROPERTY: results output > > with > > #+PROPERTY: :exports both > #+PROPERTY: :results output > > Best, -- Eric Schulte http://cs.unm.edu/~eschulte --1463410457-2077856299-1346793978=:63078 Content-Type: text/html; charset=us-ascii
Hi Eric:

Thanks a lot for your advice!   

It works for me now after I press "C-c C-c" on the "#+PROPERTY" line.  It seems all my previous attempts fail because I didn't do "C-c C-c".   It would be nice if "org" can notice something changes in the header lines and do automatic refreshing when exporting.  But anyway, the manual update "C-c C-c" works great as long as I can remember to do it.

Thanks!  
 
Sincerely,
Feiming Chen



From: Eric Schulte <eric.schulte@gmx.com>
To: Feiming Chen <feimingchen@yahoo.com>
Cc: emacs-orgmode@gnu.org
Sent: Fri, August 31, 2012 12:58:23 PM
Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]

Feiming Chen <feimingchen@yahoo.com> writes:

> HI Eric:
>
> Thanks a lot!  But I am still having trouble with some buffer-wide header
> arguments.  In particular, I could not have the following code working as
> expected:
>
>
> #+PROPERTY: :eval no
>
> * test 3: Buffer-wide header arguments are NOT effective
> #+begin_src R :exports both
>  print(pi)
> #+end_src
>
> I am getting the result printed even though I turned the evaluation off.  It
> seems I could not turn off the evaluation with ":eval no" in the buffer-wide
> header argument.  Could you help? 
& gt;

Hi Feiming,

I apologize.  I gave you bad advice in my previous email.  Please use
the #+PROPERTY: setting as in your original email and as described in
the Org-mode manual.  Do *not* add a leading ":" to header argument
names as I suggested.  The following two Org-mode files both work as
expected locally.

If a buffer-wide header argument doesn't seem to be active, you can
activate it by pressing C-c C-c on the #+PROPERTY: line.


Cheers,

>
>
> Sincerely,
> Feiming Chen
>
>
>
>
> ________________________________
> From: Eric Schulte <eric.schulte@gmx.com>
> To: Feiming Chen <feimingchen@yahoo.com>
> Cc: emacs-orgmode@gnu.org
> Sent: Thu, August 30, 2012 11:53:44 AM
> Subject: Re: [O] Bug: BABEL Buffer-wide header arguments are NOT effective
> [7.8.11]
>
> Feiming Chen <feimingchen@yahoo.com> writes:
>
>> Hi: Could anyone help with the following problem?
>>
>> Please see the attached file "a.org" with its text export "a.txt" (from C-c C-e
>>
>> a).
>>
>
> Replace
>
>    #+PROPERTY: exports both
>    #+PROPERTY: results output
>
> with
>
>    #+PROPERTY: :exports both
>    #+PROPERTY: :results output
>
> Best,

--
Eric Schulte
http://cs.unm.edu /~eschulte
--1463410457-2077856299-1346793978=:63078--