From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [PATCH][ANN] org-html/org-odt Date: Mon, 02 May 2011 11:30:17 +0530 Message-ID: <818vupmyku.fsf@gmail.com> References: <811v21sjy9.fsf@gmail.com> <81mxj88e8u.fsf@gmail.com> <87iptuwpkn.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGmBM-0001gE-7h for emacs-orgmode@gnu.org; Mon, 02 May 2011 02:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGmBL-0007XQ-6t for emacs-orgmode@gnu.org; Mon, 02 May 2011 02:00:32 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:56792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGmBL-0007XB-0m for emacs-orgmode@gnu.org; Mon, 02 May 2011 02:00:31 -0400 Received: by pvc12 with SMTP id 12so4336266pvc.0 for ; Sun, 01 May 2011 23:00:28 -0700 (PDT) In-Reply-To: <87iptuwpkn.fsf@fastmail.fm> (Matt Lundin's message of "Sun, 01 May 2011 08:52:24 -0400") 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: Matt Lundin Cc: emacs-orgmode@gnu.org Matt Thanks for trying out the new exporter(s) and sharing your feedback. > I've been doing a bit of testing and have found that html export fails > on the following headline: > > --8<---------------cut here---------------start------------->8--- > * STARTED Alembert, Preliminary Discourse to the Encyclopedia of Diderot :read:BIB:NEXT: > :LOGBOOK: > CLOCK: [2011-04-24 Sun 17:28]--[2011-04-24 Sun 17:54] => 0:26 > CLOCK: [2011-04-23 Sat 15:33]--[2011-04-23 Sat 16:00] => 0:27 > CLOCK: [2011-04-21 Thu 21:01]--[2011-04-21 Thu 21:37] => 0:36 > :END: > [2011-04-21 Thu 21:01] > --8<---------------cut here---------------end--------------->8--- > > I've attached the backtrace. > > > Debugger entered--Lisp error: (args-out-of-range #("Alembert, > Preliminary Discourse to the Encyclopedia of Diderot" 0 62 (target > "sec-1" fontified t org-category "test")) 64 77) > match-string(1 #("Alembert, Preliminary Discourse to the > Encyclopedia of Diderot" 0 62 (target "sec-1" fontified t org-category > "test"))) > (setq txt (replace-match "" t nil txt) tags (match-string 1 txt)) > (progn (setq txt (replace-match "" t nil txt) tags (match-string 1 txt))) > (if (string-match (org-re "[ ]+:\\([[:alnum:]_@:]+\\):[ ]*$") txt) > (progn (setq txt (replace-match "" t nil txt) tags (match-string 1 > txt)))) > (when (string-match (org-re "[ ]+:\\([[:alnum:]_@:]+\\):[ ]*$") txt) > (setq txt (replace-match "" t nil txt) tags (match-string 1 txt))) I wasn't able to reproduce this crash locally. May be it has something to do with your personal settings. I have pushed a fix based on some reasonable assessment ... Let me know if the problem persists. > Another comment. The warning about MathJax seemed a bit dire: > "MathJax not supported. Falling back to dvipng" > > I assume this means that the odt exporter does not support MathJax. The > way it is currently worded might make the user think that his/her system > is lacking something. I have made the warning more friendly. > I'm finding that the odt exporter leaves a lot of xml buffers open, even > after the tmp files they point to are gone. Would there be a way to > clean up these buffers? Makeshift xml buffers are now killed on successful export. Jambunathan K.