From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: org-export raises stringp nil error Date: Thu, 07 Mar 2013 16:14:51 -0500 Message-ID: References: <87ip539io1.fsf@nautilus.nautilus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362690911 15541 80.91.229.3 (7 Mar 2013 21:15:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Mar 2013 21:15:11 +0000 (UTC) Cc: Lele Gaifax , emacs-devel@gnu.org To: emacs-orgmode@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 22:15:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UDi9v-0008IN-CF for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 22:15:27 +0100 Original-Received: from localhost ([::1]:44838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDi9Z-0000vK-H1 for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 16:15:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDi9S-0000rd-A9 for emacs-devel@gnu.org; Thu, 07 Mar 2013 16:14:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDi9Q-0008Am-Jb for emacs-devel@gnu.org; Thu, 07 Mar 2013 16:14:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDi9N-00085G-Cs; Thu, 07 Mar 2013 16:14:53 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UDi9M-0003Iu-0u; Thu, 07 Mar 2013 16:14:52 -0500 X-Spook: Uzbekistan afsatcom cypherpunk warfare Syria kilo class X-Ran: ZPG)!_{#,!!.qdlb.&:ngqoAeqbC|ZW3P:F&XqkEU87nb}e~I"B|}D$<"q.M+,](Dv0acw X-Hue: cyan X-Attribution: GM In-Reply-To: <87ip539io1.fsf@nautilus.nautilus> (Lele Gaifax's message of "Thu, 07 Mar 2013 19:19:42 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157566 gmane.emacs.orgmode:67875 Archived-At: 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