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.