emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: autofrettage <autofrettage@protonmail.ch>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [BUG] org-cite-insert ignores JSON entries with editors only [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]
Date: Mon, 01 Nov 2021 16:29:26 +0000	[thread overview]
Message-ID: <lLMg7Cbv8XHbUYHgO3Qi76cqJFHHall-9u1k8Dv-Gv1nEctrZAanVfnXDUzKCDIiB3KME_uGQlmkKkqUg2Jzr919KEE1eU7TDzZww59mB6E=@protonmail.ch> (raw)

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


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.


[-- 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:
 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
                       ("eww" :follow org-eww-open :store org-eww-store-link)
                       ("docview" :follow org-docview-open :export org-docview-export :store
                       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
                       ("attachment" :follow org-attach-follow :complete
                       ("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

             reply	other threads:[~2021-11-01 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-01 16:29 autofrettage [this message]
2021-11-02 14:02 ` Nicolas Goaziou

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:

  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='lLMg7Cbv8XHbUYHgO3Qi76cqJFHHall-9u1k8Dv-Gv1nEctrZAanVfnXDUzKCDIiB3KME_uGQlmkKkqUg2Jzr919KEE1eU7TDzZww59mB6E=@protonmail.ch' \
    --to=autofrettage@protonmail.ch \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [BUG] org-cite-insert ignores JSON entries with editors only [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)]' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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