From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: bug: wrong type argument exporting Date: Wed, 13 Nov 2013 17:31:38 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgkqT-0004NH-Ov for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 19:31:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgkqS-00067h-19 for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 19:31:41 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:56077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgkqR-00066v-NM for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 19:31:39 -0500 Received: by mail-wg0-f49.google.com with SMTP id x13so1183204wgg.16 for ; Wed, 13 Nov 2013 16:31:38 -0800 (PST) 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: emacs-orgmode@gnu.org This also actually corrupts the buffer by inserting footnotes at the end. Sometimes it leaves it in a narrowed state. Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) goto-char(nil) (progn (goto-char link-end) (skip-chars-forward " ")) (setq post-blank (progn (goto-char link-end) (skip-chars-forward " ")) end (point)) (let ((begin ...) end contents-begin contents-end link-end post-blank path type raw-link link search-option application) (cond (... ...) (... ... ...) (... ...) (... ...)) (setq post-blank (progn ... ...) end (point)) (when (member type org-element-link-type-is-file) (cond ... ...) (when ... ...) (setq type "file")) (list (quote link) (list :type type :path path :raw-link ... :application application :search-option search-option :begin begin :end end :contents-begin contents-begin :contents-end contents-end :post-blank post-blank))) (save-excursion (let (... end contents-begin contents-end link-end post-blank path type raw-link link search-option application) (cond ... ... ... ...) (setq post-blank ... end ...) (when ... ... ... ...) (list ... ...))) org-element-link-parser() funcall(org-element-link-parser) (setq next (funcall (intern ...))) (if (or (not closest) (> ... origin)) (catch (quote found) (dolist ... ...)) (goto-char (cdr closest)) (setq next (funcall ...)) (when org-element-use-cache (push next ...) (or update-cache-flag ...))) (let ((closest ...)) (if (or ... ...) (catch ... ...) (goto-char ...) (setq next ...) (when org-element-use-cache ... ...))) (while t (when (and ... org-element-use-cache) (let ... ...)) (when (or next ...) (setq candidates ...) (when org-element-use-cache ... ...)) (let (...) (if ... ... ... ... ...)) (let (... ... ...) (cond ... ... ...))) (catch (quote exit) (while t (when ... ...) (when ... ... ...) (let ... ...) (let ... ...))) (prog1 (catch (quote exit) (while t ... ... ... ...)) (when (and update-cache-flag ...) (org-element-cache-put cache-key ...))) (let* ((restriction ...) (parent element) (candidates ...) (cache-key ...) (cache ...) objects-data next update-cache-flag) (prog1 (catch ... ...) (when ... ...))) (let* ((origin ...) (element ...) (type ...)) (cond (... ... ... ... ...) (... ...) (... ... ... ...) (... ...) (... ...) (t ...)) (goto-char (point-min)) (let* (... ... ... ... ... objects-data next update-cache-flag) (prog1 ... ...))) (save-restriction (widen) (let* (... ... ...) (cond ... ... ... ... ... ...) (goto-char ...) (let* ... ...))) (save-excursion (save-restriction (widen) (let* ... ... ... ...))) (org-with-wide-buffer (let* (... ... ...) (cond ... ... ... ... ... ...) (goto-char ...) (let* ... ...))) (catch (quote objects-forbidden) (org-with-wide-buffer (let* ... ... ... ...))) org-element-context() org-export-get-environment([cl-struct-org-export-backend html nil ((bold . org-html-bold) (center-block . org-html-center-block) (clock . org-html-clock) (code . org-html-code) (drawer . org-html-drawer) (dynamic-block . org-html-dynamic-block) (entity . org-html-entity) (example-block . org-html-example-block) (export-block . org-html-export-block) (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-definition . org-html-footnote-definition) (footnote-reference . org-html-footnote-reference) (headline . org-html-headline) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) (inner-template . org-html-inner-template) (italic . org-html-italic) (item . org-html-item) (keyword . org-html-keyword) (latex-environment . org-html-latex-environment) (latex-fragment . org-html-latex-fragment) (line-break . org-html-line-break) (link . org-html-link) (node-property . org-html-node-property) (paragraph . org-html-paragraph) (plain-list . org-html-plain-list) (plain-text . org-html-plain-text) (planning . org-html-planning) (property-drawer . org-html-property-drawer) (quote-block . org-html-quote-block) (quote-section . org-html-quote-section) (radio-target . org-html-radio-target) (section . org-html-section) (special-block . org-html-special-block) (src-block . org-html-src-block) (statistics-cookie . org-html-statistics-cookie) (strike-through . org-html-strike-through) (subscript . org-html-subscript) (superscript . org-html-superscript) (table . org-html-table) (table-cell . org-html-table-cell) (table-row . org-html-table-row) (target . org-html-target) (template . org-html-template) (timestamp . org-html-timestamp) (underline . org-html-underline) (verbatim . org-html-verbatim) (verse-block . org-html-verse-block)) ((:html-extension nil nil org-html-extension) (:html-link-org-as-html nil nil org-html-link-org-files-as-html) (:html-doctype "HTML_DOCTYPE" nil org-html-doctype) (:html-container "HTML_CONTAINER" nil org-html-container-element) (:html-html5-fancy nil "html5-fancy" org-html-html5-fancy) (:html-link-use-abs-url nil "html-link-use-abs-url" org-html-link-use-abs-url) (:html-link-home "HTML_LINK_HOME" nil org-html-link-home) (:html-link-up "HTML_LINK_UP" nil org-html-link-up) (:html-mathjax "HTML_MATHJAX" nil "" space) (:html-postamble nil "html-postamble" org-html-postamble) (:html-preamble nil "html-preamble" org-html-preamble) (:html-head "HTML_HEAD" nil org-html-head newline) (:html-head-extra "HTML_HEAD_EXTRA" nil org-html-head-extra newline) (:html-head-include-default-style nil "html-style" org-html-head-include-default-style) (:html-head-include-scripts nil "html-scripts" org-html-head-include-scripts) (:html-table-attributes nil nil org-html-table-default-attributes) (:html-table-row-tags nil nil org-html-table-row-tags) (:html-xml-declaration nil nil org-html-xml-declaration) (:html-inline-images nil nil org-html-inline-images) (:infojs-opt "INFOJS_OPT" nil nil) (:creator "CREATOR" nil org-html-creator-string) (:with-latex nil "tex" org-html-with-latex)) ((:filter-options . org-html-infojs-install-script) (:filter-final-output . org-html-final-function)) ("HTML") (104 "Export to HTML" (... ... ...))] subtree nil) org-export-as(html subtree nil body-only nil) -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.