From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: org-export raises stringp nil error Date: Fri, 08 Mar 2013 06:48:31 +0800 Organization: The Church of Emacs Message-ID: <5139193F.4050407@gmail.com> References: <87ip539io1.fsf@nautilus.nautilus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362696525 3047 80.91.229.3 (7 Mar 2013 22:48:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Mar 2013 22:48:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lele Gaifax Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 23:49:09 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 1UDjcZ-0005yw-KS for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 23:49:07 +0100 Original-Received: from localhost ([::1]:36288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjcD-00066J-Rf for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 17:48:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjcA-000667-7e for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:48:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDjc7-0004k4-LS for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:48:42 -0500 Original-Received: from mail-da0-x234.google.com ([2607:f8b0:400e:c00::234]:62327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDjc7-0004jt-F4 for emacs-devel@gnu.org; Thu, 07 Mar 2013 17:48:39 -0500 Original-Received: by mail-da0-f52.google.com with SMTP id f10so109070dak.39 for ; Thu, 07 Mar 2013 14:48:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=f25LJqK5pg1N5tesyzAiNRqIQMZQi2EbQh8+5MOXTeI=; b=jRVXvbNc4gnZ+GLoxt3jtF3756brWfP7ZkHOAn6TQKj3T+cerBR0C9KpywJuRKF/a2 re1GM8FJFnR5zg5sulH1ujc2C/JZ3TnvTAuAhamv+qoqVCk6hspySXC3hbdbFta2/8Ee +ostNV7nNTSViqVB0vn1FEfrGCG8GT/Q/UCqOuR4tGStfpy/xhXT7CcM6IaNzfzL1zNm sbmGF6COHSIS5CiHX9cts6N2S3treuecx9brIkP9BtxNxvdi/7RZgXvRolVycGIGd3B6 OhyUaEibu0p9qjB+H068AN2T2bS6TxKACqscMHieDUtYQp5KoGXdY4haVnqH3FTw5PnA DDwg== X-Received: by 10.66.244.10 with SMTP id xc10mr827305pac.59.1362696518695; Thu, 07 Mar 2013 14:48:38 -0800 (PST) Original-Received: from [192.168.1.110] ([61.149.224.209]) by mx.google.com with ESMTPS id ri1sm3099319pbc.16.2013.03.07.14.48.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Mar 2013 14:48:37 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 In-Reply-To: <87ip539io1.fsf@nautilus.nautilus> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c00::234 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:157571 Archived-At: 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 :fo r-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