-
Notifications
You must be signed in to change notification settings - Fork 132
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
org-cite-basic--get-field (error "Wrong value for ENTRY-OR-KEY: nil") on emacs master 29.x #630
Comments
After evaluating this: (defun org-cite-basic--get-field (field entry-or-key &optional info raw)
"Return FIELD value for ENTRY-OR-KEY, or nil.
FIELD is a symbol. ENTRY-OR-KEY is either an association list, as returned by
`org-cite-basic--get-entry', or a string representing a citation key.
Optional argument INFO is the export state, as a property list.
Return value may be nil or a string. If current export back-end is derived
from `latex', return a raw string instead, unless optional argument RAW is
non-nil."
(message "field = %S" field)
(message " entry-or-key = %S" entry-or-key)
(let ((value
(cdr
(assq field
(pcase entry-or-key
((pred stringp)
(org-cite-basic--get-entry entry-or-key info))
((pred consp)
entry-or-key)
(_
(error "Wrong value for ENTRY-OR-KEY: %S" entry-or-key)))))))
(if (and value
(not raw)
(org-export-derived-backend-p (plist-get info :back-end) 'latex))
(org-export-raw-string value)
value))) .. when attempting to export On
|
The regression was caused in |
Update (2022-05-12)
The upstream bug in emacs master has been fixed in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1db17e1275687f0bbce4ff1499119a1, and verified.
This issue can be closed once the emacs snapshot version used by GHA gets updated. Ref: purcell/nix-emacs-ci#75.
Emacs bug
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342
More info
The CI fails when using emacs master (Emacs 29.0.50) build when exporting the "Org Cite Basic Example" post from the test suite.
https://github.com/kaushalmodi/ox-hugo/runs/6352764912?check_suite_focus=true#step:5:597
The text was updated successfully, but these errors were encountered: