emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: David Maus
Subject: Re: [Orgmode] [BUG] some nasty bugs with PROPERTIES drawers
Date: Tue, 31 Aug 2010 18:09:26 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Paul Sexton wrote:
>There seems to be a fairly nasty bug caused by :PROPERTIES: drawers still
>being recognised by org when they appear inside BEGIN_EXAMPLE or
>BEGIN_SRC blocks. I encountered this behaviour while writing docs for
>"org-drill". The doc file, README.org, contains quoted examples of org
>"items", and also of an emacs lisp capture template containing the string
>":PROPERTIES:".

>The first thing I noticed was that PROPERTIES drawers inside EXAMPLE/SRC
>blocks appear *folded* when the file is opened in org mode, and
>'org-cycle' toggles their folded status, as if they belonged to a
>real org heading.

>That is cosmetic, but I also encountered a more serious problem.
>README.org contains the following block of example elisp code, which
>is meant to illustrate an example setup of org-capture:

> [snip]

>Basically, every time I tried to export this file to HTML, Emacs would
>become unresponsive (C-g did nothing) and would have to be killed with
>the task manager (or xkill in Linux -- I tried on 2 systems).

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

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

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpqTd4Z439S0.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]