emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: [Problems with org-ref-helm-insert-ref-link and org-id-get-create]
Date: Wed, 17 Nov 2021 19:58:14 +0100	[thread overview]
Message-ID: <87wnl6hant.fsf@mat.ucm.es> (raw)
In-Reply-To: CAJ51ETp-Rry8oXxWKAeOLrLFVASKL4w3HqPN40T4a5fr0tVNLg@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 11513 bytes --]


> 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 #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-11-17 18:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17  7:36 insert automatically a reference to a section header and a link Uwe Brauer
2021-11-17  8:28 ` Uwe Brauer
2021-11-17 10:04 ` Eric S Fraga
2021-11-17 13:58   ` Uwe Brauer
2021-11-17 14:06     ` John Kitchin
2021-11-17 14:15       ` Uwe Brauer
2021-11-17 14:59         ` Stefan Nobis
2021-11-17 15:42           ` Juan Manuel Macías
2021-11-17 16:08             ` Uwe Brauer
2021-11-17 15:55           ` Uwe Brauer
2021-11-17 16:08             ` Eric S Fraga
2021-11-17 16:44               ` Uwe Brauer
2021-11-17 16:29             ` Stefan Nobis
2021-11-17 17:05               ` Uwe Brauer
2021-11-17 19:10                 ` Stefan Nobis
2021-11-23 15:20                 ` Bruce D'Arcus
2021-11-17 18:17               ` Juan Manuel Macías
2021-11-17 19:00                 ` Stefan Nobis
2021-11-17 14:58     ` Eric S Fraga
2021-11-17 16:00       ` Uwe Brauer
2021-11-17 16:31         ` Eric S Fraga
2021-11-17 17:06           ` Uwe Brauer
2021-11-17 16:49 ` [Problems with org-ref-helm-insert-ref-link and org-id-get-create] (was: insert automatically a reference to a section header and a link) Uwe Brauer
2021-11-17 17:57   ` John Kitchin
2021-11-17 18:58     ` Uwe Brauer [this message]
2021-11-17 19:58       ` [Problems with org-ref-helm-insert-ref-link and org-id-get-create] John Kitchin
2021-11-17 20:16         ` Uwe Brauer
2021-11-17 21:41         ` Uwe Brauer
2021-11-17 21:54           ` John Kitchin
2021-11-18  7:44             ` Uwe Brauer
2021-11-18  8:06               ` Uwe Brauer
2021-11-18 12:48               ` John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnl6hant.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).