From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glenn Morris Subject: Re: org-export raises stringp nil error Date: Thu, 07 Mar 2013 16:14:51 -0500 Message-ID: References: <87ip539io1.fsf@nautilus.nautilus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <87ip539io1.fsf@nautilus.nautilus> (Lele Gaifax's message of "Thu, 07 Mar 2013 19:19:42 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Lele Gaifax , emacs-devel@gnu.org List-Id: emacs-orgmode.gnu.org Assuming this is a recent regression, then if anyone from Org wants this fixed in Emacs 24.3, they should investigate this very quickly and suggest the _minimum_ change. See also the possibly related, unanswered http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00028.html Lele Gaifax wrote: > 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 fac= e font-lock-comment-face) 34 36 (fontified t) 36 38 (fontified t face org-l= evel-1) 38 40 (fontified t face org-level-1) 40 44 (fontified t) 44 62 (fon= tified t org-no-flyspell t mouse-face highlight face org-link keymap (keyma= p (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 highli= ght 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-fa= ce highlight keymap invisible intangible help-echo org-linked-text htmlize-= link)) 63 64 (fontified t)) :emph-multiline t :for-backend html :skip-befor= e-1st-heading nil :drawers nil :todo-keywords t :tasks t :tags not-in-toc := priority nil :footnotes t :timestamps t :archived-trees headline :select-ta= gs ("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? > > thanks in advance, > bye, lele. > > [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