[Orgmode] Re: [BUG] some nasty bugs with PROPERTIES drawers

2010-08-31 Thread Paul Sexton
Erik Iverson  ccbr.umn.edu> writes:
> See the :exports argument, the default is code only.
> 
> http://orgmode.org/org.html#exports

That was my initial assumption, which is why I had BEGIN_SRC blocks in the file.
But then I found that it crashed during export with these blocks, and stopped
crashing once I changed them to BEGIN_EXAMPLE, which made me question my 
initial 
assumption and suspect that the BEGIN_SRC blocks were being evaluated/executed 
somehow.

Paul



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [BUG] some nasty bugs with PROPERTIES drawers

2010-08-31 Thread Erik Iverson



Paul Sexton wrote:

David Maus  ictsoc.de> writes:

I cannot reproduce this wiht Org-mode version 7.01trans (pulled
yesterday) on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version
2.20.0) of 2010-08-14 on raven, modified by Debian


There is a documentation file, README.org, that accompanies org-drill.
It can be downloaded at:
http://bitbucket.org/eeeickythump/org-drill/src/tip/README.org

The quoted emacs lisp example occurs near the end of the file. As is, it
exports to HTML (C-c C-e h) successfully for me, but if I change 
BEGIN_EXAMPLE/END_EXAMPLE to BEGIN_SRC/END_SRC for that block, it 
reproduces the bug.



PS: I also realised that I was confused regarding how to get a syntax-
highlighted block of "example source code" into an org document, as
BEGIN_SRC appears to execute the code by default, which was not what
I wanted.

No, at least not for Elisp.  What is your assumption of Org mode
executing source blocks based on?



My assumption is based on reading the manual. I couldn't find clearly stated 
anywhere exactly what BEGIN_SRC blocks do by default during export, and there 
are ":eval never" and "eval query" headline option, implying that these are not 
the default behaviours. But perhaps I read it wrong.


See the :exports argument, the default is code only.

http://orgmode.org/org.html#exports

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [BUG] some nasty bugs with PROPERTIES drawers

2010-08-31 Thread Paul Sexton
David Maus  ictsoc.de> writes:
> I cannot reproduce this wiht Org-mode version 7.01trans (pulled
> yesterday) on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version
> 2.20.0) of 2010-08-14 on raven, modified by Debian

There is a documentation file, README.org, that accompanies org-drill.
It can be downloaded at:
http://bitbucket.org/eeeickythump/org-drill/src/tip/README.org

The quoted emacs lisp example occurs near the end of the file. As is, it
exports to HTML (C-c C-e h) successfully for me, but if I change 
BEGIN_EXAMPLE/END_EXAMPLE to BEGIN_SRC/END_SRC for that block, it 
reproduces the bug.

> >PS: I also realised that I was confused regarding how to get a syntax-
> >highlighted block of "example source code" into an org document, as
> >BEGIN_SRC appears to execute the code by default, which was not what
> >I wanted.
> 
> No, at least not for Elisp.  What is your assumption of Org mode
> executing source blocks based on?
> 

My assumption is based on reading the manual. I couldn't find clearly stated 
anywhere exactly what BEGIN_SRC blocks do by default during export, and there 
are ":eval never" and "eval query" headline option, implying that these are not 
the default behaviours. But perhaps I read it wrong.

Paul



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode