From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jan_B=F6cker?= Subject: [BUG] org-export confused by " :ID: something" in elisp source blocks Date: Thu, 15 Apr 2010 09:20:55 +0200 Message-ID: <4BC6BE57.4070805@jboecker.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050801000705020700000706" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2NNr-0003Ea-VT for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 07:37:24 -0400 Received: from [140.186.70.92] (port=56529 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2NNo-00039h-KN for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 07:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2JNj-00026c-Cf for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 03:21:31 -0400 Received: from mail7.worldserver.net ([217.13.200.27]:58254) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2JNg-00024U-3K for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 03:20:59 -0400 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: Org Mode This is a multi-part message in MIME format. --------------050801000705020700000706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I think I discovered a bug in org-export. If you have a headline with an elisp code block containing the following line: " :ID:" the HTML code will be garbled at the beginning of the headline. I have attached a minimal test case and the resulting HTML file. The #+OPTIONS: line is not needed, but is included to make the HTML file less cluttered. There has to be whitespace between the " and :ID: and the string must be ended on the same line. For example, these lines trigger the bug: " :ID:" " :ID:" " :ID: garble-my-html" while these do not: ":ID:" ":ID: garble-my-html" " :ID: The article I published yesterday demonstrates the bug in a real-world situation -- its just before the "jb/filing-remember-hook-function" heading, just search for "jb/fi" in the following page: http://www.jboecker.de/2010/04/14/general-reference-filing-with-org-mode.html - Jan --------------050801000705020700000706 Content-Type: text/html; charset=UTF-8; name="export-bug.html" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="export-bug.html" export-bug

export-bug

" id=""">1 Test Node

" :ID:"
--------------050801000705020700000706 Content-Type: text/plain; name="export-bug.org" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="export-bug.org" #+OPTIONS: toc:nil author:nil creator:nil timestamp:nil * Test Node #+begin_src emacs-lisp " :ID:" #+end_src --------------050801000705020700000706 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 --------------050801000705020700000706-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [BUG] org-export confused by " :ID: something" in elisp source blocks Date: Fri, 16 Apr 2010 05:12:42 +0200 Message-ID: <07CEB08D-3C2F-4BF1-B745-0F9FF289E1EB@gmail.com> References: <4BC6BE57.4070805@jboecker.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2bzA-0000Ik-AB for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:12:52 -0400 Received: from [140.186.70.92] (port=60007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2bz8-0000Ic-3W for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:12:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2bz6-0002F6-2L for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:12:50 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:64358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2bz5-0002Ex-S2 for emacs-orgmode@gnu.org; Thu, 15 Apr 2010 23:12:48 -0400 Received: by ewy6 with SMTP id 6so754305ewy.32 for ; Thu, 15 Apr 2010 20:12:46 -0700 (PDT) In-Reply-To: <4BC6BE57.4070805@jboecker.de> 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: =?ISO-8859-1?Q?Jan_B=F6cker?= Cc: Org Mode Fixed, thanks. - Carsten On Apr 15, 2010, at 9:20 AM, Jan B=F6cker wrote: > Hello, > > I think I discovered a bug in org-export. > > If you have a headline with an elisp code block containing the =20 > following > line: > > " :ID:" > > the HTML code will be garbled at the beginning of the headline. > > I have attached a minimal test case and the resulting HTML file. The > #+OPTIONS: line is not needed, but is included to make the HTML file > less cluttered. > > There has to be whitespace between the " and :ID: and the string =20 > must be > ended on the same line. For example, these lines trigger the bug: > > " :ID:" > " :ID:" > " :ID: garble-my-html" > > while these do not: > > ":ID:" > ":ID: garble-my-html" > " :ID: > > The article I published yesterday demonstrates the bug in a real-world > situation -- its just before the "jb/filing-remember-hook-function" > heading, just search for "jb/fi" in the following page: > > = http://www.jboecker.de/2010/04/14/general-reference-filing-with-org-mode.h= tml > > - Jan > bug.org>_______________________________________________ > 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 - Carsten