From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <8335hhtwso.fsf__27925.5032701016$1652184713$gmane$org@gnu.org> References: <83czgmt93n.fsf@gnu.org> <871qx2kmzf.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55342@debbugs.gnu.org, kaushal.modi@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 10 14:11:47 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noOiR-0001RD-4G for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 14:11:47 +0200 Original-Received: from localhost ([::1]:41744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noOiQ-0006YV-3E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 08:11:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noOfm-0004U8-M0; Tue, 10 May 2022 08:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noOfm-0004F2-CD; Tue, 10 May 2022 08:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noOfm-0003RE-4U; Tue, 10 May 2022 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Tue, 10 May 2022 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55342 X-GNU-PR-Package: emacs,org-mode Original-Received: via spool by 55342-submit@debbugs.gnu.org id=B55342.165218452813195 (code B ref 55342); Tue, 10 May 2022 12:09:02 +0000 Original-Received: (at 55342) by debbugs.gnu.org; 10 May 2022 12:08:48 +0000 Original-Received: from localhost ([127.0.0.1]:60516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOfJ-0003QT-L3 for submit@debbugs.gnu.org; Tue, 10 May 2022 08:08:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOfI-0003QF-8F for 55342@debbugs.gnu.org; Tue, 10 May 2022 08:08:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noOfD-0004AY-1i; Tue, 10 May 2022 08:08:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PbAf+n8xR44xI5e1d7BiLw7EnPyx04eyaqvePnUMqI8=; b=B+KYmuWzS9sA 1N/W0R6l4T2tXSzEK802z3t8CljYAJwicz+K06JKdUDBoY9v3httTPdWmm5JanpM84eO55vCkVZMu ITqBISEpmvZ1JWOXwi3ltyqBwVmO5KsOlxfm6Mi3zS6m3BkOcALLdF6OlIqq1iWCXnXWK+rSY3Z7u oWtdZSafseCKHww55exLymw5/k0+ZzWfnV8NtIcti4hkKl/dS/pGiOHsYJOiNumtutkWlBSkuQgbc CtECtQBcWWCPpPYY9/rnIMOmZEFuY2HX+jNIbGkU+enKyYSXGSwJTVvadKCqW6nuabEldh462h5ru vfqDgd4B2m0qPFnG6meC9w==; Original-Received: from [87.69.77.57] (port=3485 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noOfC-0006Gj-8p; Tue, 10 May 2022 08:08:26 -0400 In-Reply-To: <871qx2kmzf.fsf@localhost> (message from Ihor Radchenko on Tue, 10 May 2022 12:52:52 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231826 Archived-At: > From: Ihor Radchenko > Cc: Kaushal Modi , 55342@debbugs.gnu.org > Date: Tue, 10 May 2022 12:52:52 +0800 > > Eli Zaretskii writes: > > >> From: Kaushal Modi > >> 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.