* REF buggy export a [[id:0b293b3c-a323-4825-902b-222909c0e6bb][target]]. * FACT how to repro recent org maint emacs -Q.
technically, this: eb () { emacs --geometry 80x30-0+0 --eval '(blink-cursor-mode 0)' "$@" ;} eq () { eb -Q "$@" ;} eo () { eq --eval '(progn (add-to-list '\''load-path (substitute-in-file-name "$delorgsrc/lisp")) (add-to-list '\''load-path (substitute-in-file-name "$delorgsrc/contrib/lisp")))' "$@" ;} eo export-and-id.org export subtree to ascii. c-c c-e c-s t A * FACT output Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) org-export-get-relative-level("export-and-id.org" (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) org-export-numbered-headline-p("export-and-id.org" (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) [garble] org-ascii--describe-links(((link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #5)) #3 (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #5) #("or create your own.\n" 0 20 ...)))) #("a " 0 2 (:parent #3)) #1 #(".\n" 0 2 (:parent #3)))) #("target" 0 6 (:parent #1)))) 72 (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) org-ascii-section((section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #0)) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #0) #("a " 0 2 (:parent #1)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #1) #("target" 0 6 (:parent #2))) #(".\n" 0 2 (:parent #1))) (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #0) #("or create your own.\n" 0 20 (:parent #1)))) #("a [target].\n\nor create your own.\n" 0 2 (:parent (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #4)) #2 (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #4) #("or create your own.\n" 0 20 (:parent #5))))) #("a " 0 2 (:parent #2)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #2) #("target" 0 6 (:parent #3))) #(".\n" 0 2 (:parent #2)))) 3 9 (:parent (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent ...) #4 (paragraph ... #("or create your own.\n" 0 20 ...)))) #("a " 0 2 (:parent #4)) #2 #(".\n" 0 2 (:parent #4)))) #("target" 0 6 (:parent #2)))) 10 11 (:parent (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #4)) #2 (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #4) #("or create your own.\n" 0 20 (:parent #5))))) #("a " 0 2 (:parent #2)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #2) #("target" 0 6 (:parent #3))) #(".\n" 0 2 (:parent #2)))) 13 32 (:parent (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #4)) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #4) #("a " 0 2 (:parent #5)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #5) #("target" 0 6 ...)) #(".\n" 0 2 (:parent #5))) #2)) #("or create your own.\n" 0 20 (:parent #2))))) (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) org-export-data((section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #0)) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #0) #("a " 0 2 (:parent #1)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #1) #("target" 0 6 (:parent #2))) #(".\n" 0 2 (:parent #1))) (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #0) #("or create your own.\n" 0 20 (:parent #1)))) (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) #[(element) "\302 \"\207" [element info org-export-data] 3]((section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #0)) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #0) #("a " 0 2 (:parent #1)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #1) #("target" 0 6 (:parent #2))) #(".\n" 0 2 (:parent #1))) (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #0) #("or create your own.\n" 0 20 (:parent #1))))) mapconcat(#[(element) "\302 \"\207" [element info org-export-data] 3] ((section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent (org-data nil #1)) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #1) #("a " 0 2 (:parent #2)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #2) #("target" 0 6 (:parent #3))) #(".\n" 0 2 (:parent #2))) (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #1) #("or create your own.\n" 0 20 (:parent #2))))) "") org-export-data((org-data nil (section (:begin 48 :end 124 :contents-begin 48 :contents-end 124 :post-blank 0 :post-affiliated 48 :parent #0) (paragraph (:begin 48 :end 104 :contents-begin 48 :contents-end 103 :post-blank 1 :post-affiliated 48 :parent #1) #("a " 0 2 (:parent #2)) (link (:type "id" :path "0b293b3c-a323-4825-902b-222909c0e6bb" :raw-link "id:0b293b3c-a323-4825-902b-222909c0e6bb" :application nil :search-option nil :begin 50 :end 101 :contents-begin 93 :contents-end 99 :post-blank 0 :parent #2) #("target" 0 6 (:parent #3))) #(".\n" 0 2 (:parent #2))) (paragraph (:begin 104 :end 124 :contents-begin 104 :contents-end 124 :post-blank 0 :post-affiliated 104 :parent #1) #("or create your own.\n" 0 20 (:parent #2))))) (:export-options (subtree) :input-buffer "export-and-id.org" :input-file "export-and-id.org" :subtitle nil :ascii-bullets ((ascii 42 43 45) (latin1 167 182) (utf-8 9674)) :ascii-caption-above nil :ascii-charset ascii :ascii-global-margin 0 :ascii-format-drawer-function (lambda (name contents width) contents) :ascii-format-inlinetask-function org-ascii-format-inlinetask-default :ascii-headline-spacing (1 . 2) :ascii-indented-line-width auto :ascii-inlinetask-width 30 :ascii-inner-margin 2 :ascii-links-to-notes t :ascii-list-margin 0 :ascii-paragraph-spacing auto :ascii-quote-margin 6 :ascii-table-keep-all-vertical-lines nil :ascii-table-use-ascii-art nil :ascii-table-widen-columns t :ascii-text-width 72 :ascii-underline ((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480)) :ascii-verbatim-format "`%s'" :title (#("REF buggy export -- bad in my code, ok in eo" 0 44 (:parent #1))) ...)) org-export-as(ascii t nil nil (:ascii-charset ascii)) org-export-to-buffer(ascii "*Org ASCII Export*" nil t nil nil (:ascii-charset ascii) #[nil "\300 \207" [text-mode] 1]) org-ascii-export-as-ascii(nil t nil nil (:ascii-charset ascii)) (lambda (a s v b) (org-ascii-export-as-ascii a s v b (quote (:ascii-charset ascii))))(nil t nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) * FACT target :PROPERTIES: :ID: 0b293b3c-a323-4825-902b-222909c0e6bb :END: