From: David Maus <dmaus@ictsoc.de>
To: Paul Sexton <psexton@xnet.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] some nasty bugs with PROPERTIES drawers
Date: Tue, 31 Aug 2010 18:09:26 +0200 [thread overview]
Message-ID: <87iq2qix1l.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <loom.20100831T045815-32@post.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1643 bytes --]
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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-08-31 16:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 3:13 [BUG] some nasty bugs with PROPERTIES drawers Paul Sexton
2010-08-31 7:28 ` Carsten Dominik
2010-08-31 16:09 ` David Maus [this message]
2010-08-31 18:49 ` Paul Sexton
2010-08-31 18:55 ` Erik Iverson
2010-08-31 19:05 ` Paul Sexton
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=87iq2qix1l.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=psexton@xnet.co.nz \
/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).