GNU bug report logs - #55342
29.0.50; org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil

Previous Next

Packages: emacs, org-mode;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Mon, 9 May 2022 21:43:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: 55342 <at> debbugs.gnu.org, kaushal.modi <at> gmail.com
Subject: bug#55342: 29.0.50; org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil
Date: Tue, 10 May 2022 15:08:23 +0300
> From: Ihor Radchenko <yantar92 <at> gmail.com>
> Cc: Kaushal Modi <kaushal.modi <at> gmail.com>,  55342 <at> debbugs.gnu.org
> Date: Tue, 10 May 2022 12:52:52 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> >> Date: Mon, 9 May 2022 17:41:32 -0400
> >> 
> >> Exporting an Org file with citations on Emacs 29 now throws the error
> >> "Wrong value for ENTRY-OR-KEY: nil". This error can be reproduced with
> >> the Org version shipped with Emacs on the master branch.
> >
> > Shouldn't this be reported to Org developers first?
> 
> It has been.
> However, part of the problem lies in the bibtex-map-entries:
> 
>           ;; If we have invalid entries, ensure that we have forward
>           ;; progress so that we don't infloop.
>           (if (= (point) prev)
>               (forward-line 1)
> 
> The code above always skips a bibtex entry starting at bob.
> Hence, the provided example bibliography is parsed as empty, which is
> not expected by Org.

Thanks.  It would be nice to have that information included in the
original report.




This bug report was last modified 3 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.