emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-cite-insert ignores JSON entries with editors only [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]
@ 2021-11-01 16:29 autofrettage
  2021-11-02 14:02 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: autofrettage @ 2021-11-01 16:29 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hi,

I recently used oc-basic and oc-csl but ran into a slight problem when I tried to cite

"97 Things Every Programmer Should Know — Collective Wisdom from the Experts", 1st ed.; Henney, K., Ed.; O’Reilly Media, Inc., 2010.

...with the command org-cite-insert. Typing "Henney" produced no suggestions.

After editing the JSON file from Zotero manually, making Henney an author instead of an editor, everything worked as expected.

As you may guess, the book is a collection of expert tips from many different programmers, and Kevlin Henney is "just" the editor.

The same happened for some other sources having editors, but no authors.

Yours
Rasmus

[-- Attachment #2: setup_and_state.txt --]
[-- Type: text/plain, Size: 5704 bytes --]


Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2021-01-18, modified by Debian
Package: Org mode version 9.5 (9.5-g0a86ad @ /home/schoon/.emacs.d/elpa/org-9.5/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-link-shell-confirm-function 'yes-or-no-p
 org-num-format-function 'org-num-default-format
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-download-annotate-function 'org-download-annotate-default
 org-modules '(ol-bibtex ol-docview ol-eww ol-info org-tempo)
 org-plantuml-jar-path "/usr/share/plantuml/plantuml.jar"
 org-calc-default-modes '(calc-internal-prec 16 calc-float-format (float 16) calc-angle-mode
                          deg calc-prefer-frac nil calc-symbolic-mode nil calc-date-format
                          (YYYY "-" MM "-" DD " " Www (" " hh ":" mm))
                          calc-display-working-message t)
 org-mode-hook '(org-tempo-setup
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-show-all append local] 5]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-download-file-format-function 'org-download-file-format-default
 org-footnote-section nil
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 "\300\x01\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-adapt-indentation t
 org-babel-pre-tangle-hook '(save-buffer)
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . system)
                 ("\\.pdf\\'" . "/usr/bin/evince %s"))
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-babel-load-languages '((emacs-lisp . t) (python . t) (gnuplot . t) (asymptote . t)
                            (plantuml . t) (shell . t) (dot . t) (ditaa . t))
 org-export-backends '(ascii beamer html latex md odt)
 org-babel-python-command "python3"
 org-agenda-loop-over-headlines-in-active-region nil
 org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
                      ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql)
                      ("calc" . fundamental) ("C" . c) ("cpp" . c++) ("C++" . c++)
                      ("screen" . shell-script) ("shell" . sh) ("bash" . sh)
                      ("plantuml" . plantuml))
 org-cite-export-processors '((latex biblatex nil nil) (t basic nil nil))
 org-occur-hook '(org-first-headline-recenter)
 org-ditaa-jar-path "/usr/share/ditaa/ditaa.jar"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-footnote-define-inline t
 org-babel-tangle-lang-exts '(("asymptote" . "asy") ("python" . "py") ("emacs-lisp" . "el")
                              ("elisp" . "el"))
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("info" :follow org-info-open :export org-info-export :store
                        org-info-store-link)
                       ("eww" :follow org-eww-open :store org-eww-store-link)
                       ("docview" :follow org-docview-open :export org-docview-export :store
                        org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
                       ("attachment" :follow org-attach-follow :complete
                        org-attach-complete-link)
                       ("id" :follow org-id-open) ("file+sys") ("file+emacs")
                       ("shell" :follow org-link--open-shell)
                       ("news" :follow
                        #[514 "\301\300\302\x04Q\x02\"\207" ["news" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("mailto" :follow
                        #[514 "\301\300\302\x04Q\x02\"\207" ["mailto" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("https" :follow
                        #[514 "\301\300\302\x04Q\x02\"\207" ["https" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("http" :follow
                        #[514 "\301\300\302\x04Q\x02\"\207" ["http" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("ftp" :follow
                        #[514 "\301\300\302\x04Q\x02\"\207" ["ftp" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("help" :follow org-link--open-help :store org-link--store-help)
                       ("file" :complete org-link-complete-file)
                       ("elisp" :follow org-link--open-elisp))
 org-link-elisp-confirm-function 'yes-or-no-p
 org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
 org-latex-packages-alist '(("newfloat" "minted" nil))
 org-confirm-babel-evaluate nil
 org-download-link-format-function 'org-download-link-format-function-default
 org-use-speed-commands t
 org-download-abbreviate-filename-function 'file-relative-name
 org-list-allow-alphabetical t
 )

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

end of thread, other threads:[~2021-11-02 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 16:29 [BUG] org-cite-insert ignores JSON entries with editors only [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)] autofrettage
2021-11-02 14:02 ` Nicolas Goaziou

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).