emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Problems with org-ref-helm-insert-ref-link and org-id-get-create]


From: Uwe Brauer
Subject: Re: [Problems with org-ref-helm-insert-ref-link and org-id-get-create]
Date: Wed, 17 Nov 2021 19:58:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> in the most current version (3) of org-ref, the labels that are found are
> defined in org-ref-ref-label-regexps. At the moment there isn't a pattern
> for ID. No particular reason, I haven't used ID like that for many years. I
> added and pushed that to the current repo just now.

Thanks, that is in MELPA already?

BTW, I downloaded the latest MELPA org-ref pkg and obtained the
following error (running emacs 29, master a couple of days ago)
,----
| 
| Debugger entered--Lisp error: (wrong-type-argument listp "gls")
|   cl-first("gls")
|   (org-link-set-parameters (cl-first command) :follow
|   #'or-follow-glossary :face 'org-ref-glossary-face-fn :help-echo
|   'or-glossary-tooltip  :export #'(lambda (path _ format) (cond ((memq format 
'(latex beamer)) (format "\\%s{%s}" (cl-first command) path)) (t (format "%s" 
path)))))
|   (let ((command (car --dolist-tail--))) (org-link-set-parameters (cl-first 
command) :follow #'or-follow-glossary :face 'org-ref-glossary-face-fn 
:help-echo 'or-glossary-tooltip :export #'(lambda (path _ format) (cond ((memq 
format '...) (format "\\%s{%s}" (cl-first command) path)) (t (format "%s" 
path))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
|   (while --dolist-tail-- (let ((command (car --dolist-tail--))) 
(org-link-set-parameters (cl-first command) :follow #'or-follow-glossary :face 
'org-ref-glossary-face-fn :help-echo 'or-glossary-tooltip :export #'(lambda 
(path _ format) (cond ((memq format ...) (format "\\%s{%s}" ... path)) (t 
(format "%s" path))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
|   (let ((--dolist-tail-- org-ref-glossary-gls-commands)) (while 
--dolist-tail-- (let ((command (car --dolist-tail--))) (org-link-set-parameters 
(cl-first command) :follow #'or-follow-glossary :face 'org-ref-glossary-face-fn 
:help-echo 'or-glossary-tooltip :export #'(lambda (path _ format) (cond (... 
...) (t ...)))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
|   eval-buffer(#<buffer  *load*> nil 
"/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." nil t)  ; Reading at 
buffer position 10359
|   
load-with-code-conversion("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..."
 "/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." nil t)
|   load("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." nil t)
|   #f(compiled-function (c) #<bytecode 
-0x142f0bcbab31255a>)(("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." 
. 1136))
|   mapc(#f(compiled-function (c) #<bytecode -0x142f0bcbab31255a>) 
(("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 911) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 912) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 913) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/doi-..." . 1130) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 1135) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 1136) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 1139) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 1292) 
("/home/oub/.emacs.d/elpa/org-ref-20211110.1229/org-..." . 1341)))
|   package--reload-previously-loaded(#s(package-desc :name org-ref :version 
(20211110 1229) :summary "citations, cross-references and bibliographies in 
..." :reqs ((dash (0)) (s (0)) (f (0)) (htmlize (0)) (hydra (0)) (avy (0)) 
(parsebib (0)) (bibtex-completion (0)) (citeproc (0))) :kind nil :archive nil 
:dir "/home/oub/.emacs.d/elpa/org-ref-20211110.1229" :extras ((:url . 
"https://github.com/jkitchin/org-ref";) (:keywords "org-mode" "cite" "ref" 
"label") (:maintainer "John Kitchin" . "jkitchin@andrew.cmu.edu") (:authors 
("John Kitchin" . "jkitchin@andrew.cmu.edu")) (:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33")) :signed nil))
|   package-activate-1(#s(package-desc :name org-ref :version (20211110 1229) 
:summary "citations, cross-references and bibliographies in ..." :reqs ((dash 
(0)) (s (0)) (f (0)) (htmlize (0)) (hydra (0)) (avy (0)) (parsebib (0)) 
(bibtex-completion (0)) (citeproc (0))) :kind nil :archive nil :dir 
"/home/oub/.emacs.d/elpa/org-ref-20211110.1229" :extras ((:url . 
"https://github.com/jkitchin/org-ref";) (:keywords "org-mode" "cite" "ref" 
"label") (:maintainer "John Kitchin" . "jkitchin@andrew.cmu.edu") (:authors 
("John Kitchin" . "jkitchin@andrew.cmu.edu")) (:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33")) :signed nil) :reload :deps)
|   package-unpack(#s(package-desc :name org-ref :version (20211110 1229) 
:summary "citations, cross-references and bibliographies in ..." :reqs ((dash 
(0)) (s (0)) (f (0)) (htmlize (0)) (hydra (0)) (avy (0)) (parsebib (0)) 
(bibtex-completion (0)) (citeproc (0))) :kind tar :archive "melpa" :dir nil 
:extras ((:commit . "c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors 
("John Kitchin" . "jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil))
|   #f(compiled-function (&optional good-sigs) #<bytecode 
0x1df497376f32ca1c>)(nil)
|   #f(compiled-function () #<bytecode -0x724af0e452d91f2>)()
|   package--with-response-buffer-1("http://melpa.org/packages/"; 
#f(compiled-function () #<bytecode 0x1a36aee082226431>) :file 
"org-ref-20211110.1229.tar.sig" :async nil :error-function #f(compiled-function 
() #<bytecode -0x724af0e452d91f2>) :noerror t)
|   package--check-signature("http://melpa.org/packages/"; 
"org-ref-20211110.1229.tar" 
"org-ref-20211110.1229/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..."
 nil #f(compiled-function (&optional good-sigs) #<bytecode 0x1df497376f32ca1c>))
|   #f(compiled-function () #<bytecode -0xeb56f85b3b07f67>)()
|   package--with-response-buffer-1("http://melpa.org/packages/"; 
#f(compiled-function () #<bytecode -0xeb56f85b3b07f67>) :file 
"org-ref-20211110.1229.tar" :async nil :error-function #f(compiled-function () 
#<bytecode 0x1f4000153e91>) :noerror nil)
|   package-install-from-archive(#s(package-desc :name org-ref :version 
(20211110 1229) :summary "citations, cross-references and bibliographies in 
..." :reqs ((dash (0)) (s (0)) (f (0)) (htmlize (0)) (hydra (0)) (avy (0)) 
(parsebib (0)) (bibtex-completion (0)) (citeproc (0))) :kind tar :archive 
"melpa" :dir nil :extras ((:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors ("John Kitchin" . 
"jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil))
|   mapc(package-install-from-archive (#s(package-desc :name queue :version (0 
2) :summary "Queue data structure" :reqs nil :kind single :archive "gnu" :dir 
nil :extras ((:keywords "extensions" "data structures" "queue") (:authors 
("Inge Wallin" . "inge@lysator.liu.se") ("Toby Cubitt" . 
"toby-predictive@dr-qubit.org")) (:maintainer "Toby Cubitt" . 
"toby-predictive@dr-qubit.org") (:url . "http://www.dr-qubit.org/emacs.php";)) 
:signed t) #s(package-desc :name citeproc :version (20211111 1008) :summary "A 
CSL 1.0.1 Citation Processor" :reqs ((emacs (25)) (dash (2 13 0)) (s (1 12 0)) 
(f (0 18 0)) (queue (0 2)) (string-inflection (1 0)) (org (9)) (parsebib (2 
4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . 
"2857f9bb819d0d0a6e6ed91cc38b165e506bfc2e") (:authors ("András Simonyi" . 
"andras.simonyi@gmail.com")) (:maintainer "András Simonyi" . 
"andras.simonyi@gmail.com") (:keywords "bib") (:url . 
"https://github.com/andras-simonyi/citeproc-el";)) :signed nil) #s(package-desc 
:name org-ref :version (20211110 1229) :summary "citations, cross-references 
and bibliographies in ..." :reqs ((dash (0)) (s (0)) (f (0)) (htmlize (0)) 
(hydra (0)) (avy (0)) (parsebib (0)) (bibtex-completion (0)) (citeproc (0))) 
:kind tar :archive "melpa" :dir nil :extras ((:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors ("John Kitchin" . 
"jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil)))
|   package-download-transaction((#s(package-desc :name queue :version (0 2) 
:summary "Queue data structure" :reqs nil :kind single :archive "gnu" :dir nil 
:extras ((:keywords "extensions" "data structures" "queue") (:authors ("Inge 
Wallin" . "inge@lysator.liu.se") ("Toby Cubitt" . 
"toby-predictive@dr-qubit.org")) (:maintainer "Toby Cubitt" . 
"toby-predictive@dr-qubit.org") (:url . "http://www.dr-qubit.org/emacs.php";)) 
:signed t) #s(package-desc :name citeproc :version (20211111 1008) :summary "A 
CSL 1.0.1 Citation Processor" :reqs ((emacs (25)) (dash (2 13 0)) (s (1 12 0)) 
(f (0 18 0)) (queue (0 2)) (string-inflection (1 0)) (org (9)) (parsebib (2 
4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . 
"2857f9bb819d0d0a6e6ed91cc38b165e506bfc2e") (:authors ("András Simonyi" . 
"andras.simonyi@gmail.com")) (:maintainer "András Simonyi" . 
"andras.simonyi@gmail.com") (:keywords "bib") (:url . 
"https://github.com/andras-simonyi/citeproc-el";)) :signed nil) #s(package-desc 
:name org-ref :version (20211110 1229) :summary "citations, cross-references 
and bibliographies in ..." :reqs ((dash (0)) (s (0)) (f (0)) (htmlize (0)) 
(hydra (0)) (avy (0)) (parsebib (0)) (bibtex-completion (0)) (citeproc (0))) 
:kind tar :archive "melpa" :dir nil :extras ((:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors ("John Kitchin" . 
"jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil)))
|   package-install(#s(package-desc :name org-ref :version (20211110 1229) 
:summary "citations, cross-references and bibliographies in ..." :reqs ((dash 
(0)) (s (0)) (f (0)) (htmlize (0)) (hydra (0)) (avy (0)) (parsebib (0)) 
(bibtex-completion (0)) (citeproc (0))) :kind tar :archive "melpa" :dir nil 
:extras ((:commit . "c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors 
("John Kitchin" . "jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil) dont-select)
|   package-menu--perform-transaction((#s(package-desc :name org-ref-prettify 
:version (20211111 742) :summary "Prettify org-ref citation links" :reqs 
((emacs (24 3)) (org-ref (1 1 0)) (bibtex-completion (1 0 0))) :kind single 
:archive "melpa" :dir nil :extras ((:commit . 
"0cecd7b2611bd9d282876ab46d490ce3e635ba86") (:authors ("Alex Kost" . 
"alezost@gmail.com") ("Vitus Schäfftlein" . "vitusschaefftlein@live.de")) 
(:maintainer "Alex Kost" . "alezost@gmail.com") (:keywords "convenience") (:url 
. "https://github.com/alezost/org-ref-prettify.el";)) :signed nil) 
#s(package-desc :name org-ref :version (20211110 1229) :summary "citations, 
cross-references and bibliographies in ..." :reqs ((dash (0)) (s (0)) (f (0)) 
(htmlize (0)) (hydra (0)) (avy (0)) (parsebib (0)) (bibtex-completion (0)) 
(citeproc (0))) :kind tar :archive "melpa" :dir nil :extras ((:commit . 
"c87b4155cd2f60ca3a9bed2e6e366c1fa47aec33") (:authors ("John Kitchin" . 
"jkitchin@andrew.cmu.edu")) (:maintainer "John Kitchin" . 
"jkitchin@andrew.cmu.edu") (:keywords "org-mode" "cite" "ref" "label") (:url . 
"https://github.com/jkitchin/org-ref";)) :signed nil)) nil)
|   package-menu-execute()
|   funcall-interactively(package-menu-execute)
|   call-interactively(package-menu-execute nil nil)
|   command-execute(package-menu-execute)
`----

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]