From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [BUG] Italic objects parsed as latex-fragments Date: Sun, 13 Oct 2013 16:25:12 +0200 Message-ID: <87ob6tdz93.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMbp-0001gl-Bl for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:25:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVMbj-0001MU-5u for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:25:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:55416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMbi-0001MO-Vc for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:25:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VVMbh-0001Dd-Vx for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 16:25:21 +0200 Received: from g231104057.adsl.alicedsl.de ([92.231.104.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Oct 2013 16:25:21 +0200 Received: from tjolitz by g231104057.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Oct 2013 16:25:21 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi List, with tmp.org #+begin_src org * TODO [#A] This *is* _the_ \Headline\ <2013-10-13 So 04:44> :tag1: :PROPERTIES: :CUSTOM_ID: abc123 :END: #+end_src calling `org-element-parse-buffer' yields: #+begin_src emacs-lisp (org-data nil (headline (:raw-value This *is* _the_ \Headline\ <2013-10-13 So 04:44> :begin 1 :end 113 :pre-blank 0 :hiddenp nil :contents-begin 69 :contents-end 113 :level 1 :priority 65 :tags (tag1) :todo-keyword TODO :todo-type todo :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :CUSTOM_ID abc123 :CATEGORY ??? :title (This (bold (:begin 6 :end 11 :contents-begin 7 :contents-end 9 :post-blank 1 :parent #1) is) (underline (:begin 11 :end 17 :contents-begin 12 :contents-end 15 :post-blank 1 :parent #1) the) (latex-fragment (:value \Headline :begin 17 :end 26 :post-blank 0 :parent #1)) \ (timestamp (:type active :raw-value <2013-10-13 So 04:44> :year-start 2013 :month-start 10 :day-start 13 :hour-start 4 :minute-start 44 :year-end 2013 :month-end 10 :day-end 13 :hour-end 4 :minute-end 44 :begin 28 :end 49 :post-blank 0 :parent #1))) :parent #0) (section (:begin 69 :end 113 :contents-begin 69 :contents-end 113 :post-blank 0 :parent #1) (property-drawer (:begin 69 :end 113 :hiddenp nil :contents-begin 84 :contents-end 105 :post-blank 0 :post-affiliated 69 :parent #2) (node-property (:key CUSTOM_ID :value abc123 :begin 84 :end 105 :post-blank 0 :parent #3)))))) #+end_src Note that #+begin_src emacs-lisp (latex-fragment (:value \Headline :begin 17 :end 26 :post-blank 0 :parent #1)) #+end_src should really be an =(italic (...))= object. -- cheers, Thorsten