emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-export raises stringp nil error


From: Xue Fuqiao
Subject: Re: org-export raises stringp nil error
Date: Fri, 08 Mar 2013 06:48:31 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 03/08/2013 02:19 AM, Lele Gaifax wrote:

first of all, apologies if this is not the right place for the
following...

Post it to bug-gnu-emacs when this is with Org's from Emacs, to emacs-orgmode otherwise.

Using current emacs-snapshot[1], trying to export even the following
very simple file:

   # -*- mode: org; coding: utf-8 -*-

   * hi

     http://www.gnu.org/

to HTML results in this error:

   org-export-protect-sub-super: Wrong type argument: stringp, nil

with the following traceback:

   string-match("\\([^\\\\]\\)\\([_^]\\)" nil)
   org-export-protect-sub-super(nil)
   org-export-normalize-links()
   org-export-preprocess-string(#("# -*- mode: org; coding: utf-8 -*-\n\n* hi\n\n  
http://www.gnu.org/\n"; 0 34 (fontified t font-lock-fontified t face font-lock-comment-face) 34 
36 (fontified t) 36 38 (fontified t face org-level-1) 38 40 (fontified t face org-level-1) 40 44 
(fontified t) 44 62 (fontified t org-no-flyspell t mouse-face highlight face org-link keymap 
(keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . 
org-open-at-mouse))) 62 63 (fontified t org-no-flyspell t mouse-face highlight face org-link keymap 
(keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . 
org-open-at-mouse)) rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo 
org-linked-text htmlize-link)) 63 64 (fontified t)) :emph-multiline t :for-backend html 
:skip-before-1st-heading nil :drawers nil :todo-keywords t :tasks t :tags not-in-toc :priority nil 
:footnotes t :timestamps t :archived-trees headline :select-tags ("export") :exclude-
tags ("noexport") :add-text nil :LaTeX-fragments t)
   org-export-as-html(nil)
   call-interactively(org-export-as-html)
   org-export(nil)
   call-interactively(org-export nil nil)
   command-execute(org-export)

If this isn't already known/fixed, should I report it as a bug? And
eventually, on Emacs itself or on org-mode?

I have the same problom on rev-111964. And there already seems to be some reports:
http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00028.html
http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00179.html

I think it is a bug on Org.

[1] GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-03-04 
on dex, modified by Debian

BTW the Debian bug tracker[1] is the prime place to report bugs in emacs packages.

[1] http://www.debian.org/Bugs/
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



reply via email to

[Prev in Thread] Current Thread [Next in Thread]