emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feiming Chen <feimingchen@yahoo.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11]
Date: Tue, 4 Sep 2012 14:26:18 -0700 (PDT)	[thread overview]
Message-ID: <1346793978.63078.YahooMailRC@web181501.mail.ne1.yahoo.com> (raw)
In-Reply-To: <8739336ltc.fsf@gmx.com>

[-- Attachment #1: Type: text/plain, Size: 2473 bytes --]

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?  
>

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

[-- Attachment #2: Type: text/html, Size: 4206 bytes --]

      reply	other threads:[~2012-09-04 21:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 15:39 Bug: BABEL Buffer-wide header arguments are NOT effective [7.8.11] Feiming Chen
2012-08-30 15:53 ` Eric Schulte
2012-08-31 16:38   ` Feiming Chen
2012-08-31 16:57     ` Eric Schulte
2012-09-04 21:26       ` Feiming Chen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346793978.63078.YahooMailRC@web181501.mail.ne1.yahoo.com \
    --to=feimingchen@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).