Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nov.el not working due to recent update #47

Closed
weirdNox opened this issue Oct 26, 2018 · 6 comments
Closed

Nov.el not working due to recent update #47

weirdNox opened this issue Oct 26, 2018 · 6 comments
Labels

Comments

@weirdNox
Copy link
Owner

Backtrace:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p (6 . 6120))
  org-noter--note-after-tipping-point(0.3 (6 . 1102) [nov (6 . 1) (6 . 6120)])
  #f(compiled-function (headline) #<bytecode 0x242b8e9>)((headline (:raw-value "xxxxx" :begin 157 :end 489 :pre-blank 0 :contents-begin 438 :contents-end 489 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 157 :NOTER_PAGE "(6 . 1102)" :title "xxxxx" :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #3)) (section (:begin 43 :end 157 :contents-begin 43 :contents-end 157 :post-blank 0 :post-affiliated 43 :parent #3) (property-drawer (:begin 43 :end 157 :contents-begin 58 :contents-end 149 :post-blank 0 :post-affiliated 43 :parent #4))) #1)) (section (:begin 438 :end 489 :contents-begin 438 :contents-end 489 :post-blank 0 :post-affiliated 438 :parent #1) (property-drawer (:begin 438 :end 489 :contents-begin 454 :contents-end 481 :post-blank 0 :post-affiliated 438 :parent #2)))))
  #f(compiled-function (--data) #<bytecode 0x242ace9>)((headline (:raw-value "xxxxx" :begin 157 :end 489 :pre-blank 0 :contents-begin 438 :contents-end 489 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 157 :NOTER_PAGE "(6 . 1102)" :title "xxxxx" :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #3)) (section (:begin 43 :end 157 :contents-begin 43 :contents-end 157 :post-blank 0 :post-affiliated 43 :parent #3) (property-drawer (:begin 43 :end 157 :contents-begin 58 :contents-end 149 :post-blank 0 :post-affiliated 43 :parent #4))) #1)) (section (:begin 438 :end 489 :contents-begin 438 :contents-end 489 :post-blank 0 :post-affiliated 438 :parent #1) (property-drawer (:begin 438 :end 489 :contents-begin 454 :contents-end 481 :post-blank 0 :post-affiliated 438 :parent #2)))))
  mapc(#f(compiled-function (--data) #<bytecode 0x242ace9>) ((section (:begin 43 :end 157 :contents-begin 43 :contents-end 157 :post-blank 0 :post-affiliated 43 :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (property-drawer (:begin 43 :end 157 :contents-begin 58 :contents-end 149 :post-blank 0 :post-affiliated 43 :parent #2))) (headline (:raw-value "xxxxx" :begin 157 :end 489 :pre-blank 0 :contents-begin 438 :contents-end 489 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 157 :NOTER_PAGE "(6 . 1102)" :title "xxxxx" :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (section (:begin 438 :end 489 :contents-begin 438 :contents-end 489 :post-blank 0 :post-affiliated 438 :parent #2) (property-drawer (:begin 438 :end 489 :contents-begin 454 :contents-end 481 :post-blank 0 :post-affiliated 438 :parent #3))))))
  #f(compiled-function (--data) #<bytecode 0x242ace9>)(((section (:begin 43 :end 157 :contents-begin 43 :contents-end 157 :post-blank 0 :post-affiliated 43 :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (property-drawer (:begin 43 :end 157 :contents-begin 58 :contents-end 149 :post-blank 0 :post-affiliated 43 :parent #2))) (headline (:raw-value "xxxxx" :begin 157 :end 489 :pre-blank 0 :contents-begin 438 :contents-end 489 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 157 :NOTER_PAGE "(6 . 1102)" :title "xxxxx" :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (section (:begin 438 :end 489 :contents-begin 438 :contents-end 489 :post-blank 0 :post-affiliated 438 :parent #2) (property-drawer (:begin 438 :end 489 :contents-begin 454 :contents-end 481 :post-blank 0 :post-affiliated 438 :parent #3))))))
  org-element-map(((section (:begin 43 :end 157 :contents-begin 43 :contents-end 157 :post-blank 0 :post-affiliated 43 :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (property-drawer (:begin 43 :end 157 :contents-begin 58 :contents-end 149 :post-blank 0 :post-affiliated 43 :parent #2))) (headline (:raw-value "xxxxx" :begin 157 :end 489 :pre-blank 0 :contents-begin 438 :contents-end 489 :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 157 :NOTER_PAGE "(6 . 1102)" :title "xxxxx" :parent (headline (:raw-value "Bullshit Jobs_ A Theory - David Graeber" :begin 1 :end 489 :pre-blank 0 :contents-begin 43 :contents-end 489 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :NOTER_PAGE "(6 . 23029)" :NOTER_DOCUMENT "Bullshit Jobs_ A Theory - David Graeber.epub" :title "Bullshit Jobs_ A Theory - David Graeber" :parent (org-data nil #4)) . #1)) (section (:begin 438 :end 489 :contents-begin 438 :contents-end 489 :post-blank 0 :post-affiliated 438 :parent #2) (property-drawer (:begin 438 :end 489 :contents-begin 454 :contents-end 481 :post-blank 0 :post-affiliated 438 :parent #3))))) headline #f(compiled-function (headline) #<bytecode 0x242b8e9>) nil nil (babel-call center-block clock comment comment-block diary-sexp drawer dynamic-block example-block export-block fixed-width footnote-definition horizontal-rule inlinetask item keyword latex-environment node-property paragraph plain-list planning property-drawer quote-block section special-block src-block table table-row verse-block))
  org-noter--get-view-info([nov (6 . 1) (6 . 6120)] (6 . 3182))
  org-noter-insert-note(3182)
  org-noter-insert-precise-note(nil)
  funcall-interactively(org-noter-insert-precise-note nil)
  call-interactively(org-noter-insert-precise-note nil nil)
  command-execute(org-noter-insert-precise-note)

CC @licebmi @GregorZattler @respatialized

@weirdNox weirdNox added the bug label Oct 26, 2018
@weirdNox
Copy link
Owner Author

Thanks for the info, I'll take a look at this today!

weirdNox added a commit that referenced this issue Oct 26, 2018
@weirdNox
Copy link
Owner Author

When this reaches MELPA, please test it and see if it works! In my very limited tests, it seemed to work :)

@licebmi
Copy link

licebmi commented Oct 26, 2018

Just tested (not from melpa), seems to be working for me.

Thanks.

@weirdNox
Copy link
Owner Author

That's great, and the fix was very simple, I could have done it before if I knew it would be so small :P It would not have happened in the first place if elisp was statically typed!

@GregorZattler
Copy link

Just tested (from melpa), works for me too.
Thanks.

@weirdNox
Copy link
Owner Author

Ok, it seems to be fixed then! Thanks for the reports, closing.

petermao added a commit to petermao/org-noter that referenced this issue Jul 28, 2023
…decoration

add optional decoration to headline title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants