emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export breaks on org-id in maint
@ 2015-10-17 20:50 Samuel Wales
  2015-10-17 22:04 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Wales @ 2015-10-17 20:50 UTC (permalink / raw)
  To: emacs-orgmode

* 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\b	\"\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\b	\"\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:

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export breaks on org-id in maint
  2015-10-17 20:50 export breaks on org-id in maint Samuel Wales
@ 2015-10-17 22:04 ` Nicolas Goaziou
  2015-11-03 22:54   ` Samuel Wales
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-10-17 22:04 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Hello,

Samuel Wales <samologist@gmail.com> writes:

> * 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

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export breaks on org-id in maint
  2015-10-17 22:04 ` Nicolas Goaziou
@ 2015-11-03 22:54   ` Samuel Wales
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2015-11-03 22:54 UTC (permalink / raw)
  To: Samuel Wales, emacs-orgmode

> Fixed. Thank you.

thanks.


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Ramsay's disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-03 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-17 20:50 export breaks on org-id in maint Samuel Wales
2015-10-17 22:04 ` Nicolas Goaziou
2015-11-03 22:54   ` Samuel Wales

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).