emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]
Date: Wed, 11 May 2022 19:36:39 +0800	[thread overview]
Message-ID: <87o804jo6w.fsf@localhost> (raw)
In-Reply-To: <CAFyQvY3_X=2zMX7hdoAZLKKR8nEVSbB_6R7z47PYb0+jNYdMVw@mail.gmail.com>

Kaushal Modi <kaushal.modi@gmail.com> writes:

> On Mon, May 9, 2022 at 5:44 PM Kaushal Modi <kaushal.modi@gmail.com> wrote:
>>
>> I have now sent this to Emacs bug tracking:
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342
>
> Thanks for the debug[1] Ihor!
>
> This issue was quickly fixed on Emacs master in
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1db17e1275687f0bbce4ff1499119a1.
>
> [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342#11

Thanks for reporting back!

Note that apart from the problem on Emacs side, there appears to be a
problem with org-cite-basic-export-bibliography.

org-cite-basic-export-bibliography uses org-cite-basic--print-entry,
which fails to print keys, which are not in .bib files. As a result,
#+print_bibliography: appears to fail all the time when the document
contains invalid cite keys.

I consider this as a bug. At least org-cite-basic-export-bibliography
could provide a more useful error message. Or maybe even skip the
invalid keys. Or, similar to LaTeX, print ???. I am not sure which way
will be more canonical according to general oc.el design.

Best,
Ihor


  reply	other threads:[~2022-05-11 11:36 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  7:22 Bibliographies on export with ox-context and ox-epub juh
2021-11-24  8:43 ` Denis Maier
2021-11-24  9:32   ` juh
2021-11-24 10:59     ` Denis Maier
2021-11-24 11:36       ` juh
2021-11-24 19:29         ` András Simonyi
2021-11-25 11:19           ` juh
2021-11-25 12:49             ` András Simonyi
2021-11-25 13:53               ` juh
2021-12-01 13:42                 ` Nicolas Goaziou
2021-12-01 14:44                   ` juh
2021-12-01 14:57                     ` juh
2021-12-01 15:01                       ` Eric S Fraga
2021-12-02  8:11                         ` juh
2021-12-02 15:46                           ` Jason Ross
2021-12-01 15:06                     ` Nicolas Goaziou
2022-01-11 20:41                       ` juh
2022-01-12 14:53                         ` Nicolas Goaziou
2022-01-12 16:38                           ` juh
2022-01-12 16:39                           ` juh
2022-01-12 17:00                             ` Bruce D'Arcus
2022-01-12 17:05                             ` John Kitchin
2022-05-09 14:21             ` oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] Kaushal Modi
2022-05-09 21:33               ` Kaushal Modi
2022-05-09 21:44                 ` Kaushal Modi
2022-05-10 15:10                   ` Kaushal Modi
2022-05-11 11:36                     ` Ihor Radchenko [this message]
2022-10-22  6:38                       ` [PATCH] " Ihor Radchenko
2022-11-06  7:47                         ` Ihor Radchenko
2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
2021-11-24 10:51     ` Denis Maier
2021-11-24 11:13     ` Eric S Fraga
2021-11-24 11:58       ` Colin Baxter 😺
2021-11-24 18:14 ` 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=87o804jo6w.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /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).