From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: export TODO keyword Date: Mon, 16 Aug 2010 17:42:17 +0200 Message-ID: <4EF8A438-2817-4094-BF98-DC78F4341F0A@gmail.com> References: <1FFE9A72-8651-4461-B8C5-C54B7F94569A@gmail.com> <87r5hyir9n.fsf@gmx.de> <30121.1281973048@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=32910 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ol1pR-0004CD-Ob for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 11:42:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ol1pO-0000NN-Jg for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 11:42:23 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:34701) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol1pO-0000Jp-9t for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 11:42:22 -0400 Received: by mail-ew0-f41.google.com with SMTP id 28so2587821ewy.0 for ; Mon, 16 Aug 2010 08:42:21 -0700 (PDT) In-Reply-To: <30121.1281973048@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Rares Pop Hi everyone, this has now been a 10-message thread about a bug that was fixed a while ago. Please, if you submit a bug report, one part of your required homework is to try with the latest version of Org-mode available before claiming there is a bug. Thanks! - Carsten On Aug 16, 2010, at 5:37 PM, Nick Dokos wrote: > Rares Pop wrote: > >> From what I found so far there are no macros involved here. >> >> I'll perform the upgrade to the latest version and see how if it's >> fixed. >> > > It *was* a bug: it was fixed by this commit: > > ,---- > | > | commit be232c4c212283ca6311cfe35c0bae7719146e55 > | Author: Carsten Dominik > | Date: Thu May 13 08:47:26 2010 +0200 > | > | LaTeX export: Fix TODO keyword export > | > | diff --git a/lisp/ChangeLog b/lisp/ChangeLog > | index 45c9ec7..04c9ecb 100644 > | --- a/lisp/ChangeLog > | +++ b/lisp/ChangeLog > | @@ -1,3 +1,8 @@ > | +2010-05-13 Carsten Dominik > | + > | + * org-latex.el (org-export-latex-keywords-maybe): Protect the > | + TODO markup. > | + > | 2010-05-13 Mikael Fornius > | > | * org-habit.el (org-habit-build-graph): Help-echo date when > | diff --git a/lisp/org-latex.el b/lisp/org-latex.el > | index e3544bf..afa0be2 100644 > | --- a/lisp/org-latex.el > | +++ b/lisp/org-latex.el > | @@ -1289,7 +1289,8 @@ links, keywords, lists, tables, fixed-width" > | (cdr todo-markup) (car todo-markup))) > | (t (cdr (or (assoc (match-string 1) todo-markup) > | (car todo-markup)))))) > | - (replace-match (format fmt (match-string 1)) t t))) > | + (replace-match (org-export-latex-protect-string > | + (format fmt (match-string 1))) t t))) > | ;; convert priority string > | (when (re-search-forward "\\[\\\\#.\\]" nil t) > | (if (plist-get remove-list :priority) > `---- > > so an upgrade should fix it. - Carsten