From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [BUG] some nasty bugs with PROPERTIES drawers Date: Tue, 31 Aug 2010 18:09:26 +0200 Message-ID: <87iq2qix1l.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============2119913282==" Return-path: Received: from [140.186.70.92] (port=48553 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqTP2-0002EX-EY for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 12:09:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqTOv-0004mR-HT for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 12:09:37 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:35875) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqTOv-0004lQ-Cl for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 12:09:33 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paul Sexton Cc: emacs-orgmode@gnu.org --===============2119913282== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Aug_31_18:09:25_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Tue_Aug_31_18:09:25_2010-1 Content-Type: text/plain; charset=US-ASCII 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 --pgp-sign-Multipart_Tue_Aug_31_18:09:25_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkx9KTUACgkQma24O1pEeOYRJgEAk9Y53j3jKK5V1jhSFVqtnUCF JtKA/y6CpvwHgQBYVOYA/3NBaHCE+LOUZ4iNoj2puHbc7TTp4/9DJTZk52CiQgV6 =jlA3 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Aug_31_18:09:25_2010-1-- --===============2119913282== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2119913282==--