From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QAQYHCbweWL8SgAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 06:55:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GL0dHCbweWK0XwAAauVa8A (envelope-from ) for ; Tue, 10 May 2022 06:55:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB2F53C05B for ; Tue, 10 May 2022 06:55:01 +0200 (CEST) Received: from localhost ([::1]:41340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noHtk-0007Tf-JK for larch@yhetil.org; Tue, 10 May 2022 00:55:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noHrq-0007TK-Qs; Tue, 10 May 2022 00:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noHrq-0001wo-GG; Tue, 10 May 2022 00:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noHrq-00029E-Az; Tue, 10 May 2022 00:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55342: 29.0.50; org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Tue, 10 May 2022 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55342 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 55342@debbugs.gnu.org, Kaushal Modi Received: via spool by 55342-submit@debbugs.gnu.org id=B55342.16521583368192 (code B ref 55342); Tue, 10 May 2022 04:53:02 +0000 Received: (at 55342) by debbugs.gnu.org; 10 May 2022 04:52:16 +0000 Received: from localhost ([127.0.0.1]:60053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noHr6-000284-0K for submit@debbugs.gnu.org; Tue, 10 May 2022 00:52:16 -0400 Received: from mail-ot1-f54.google.com ([209.85.210.54]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noHr4-00027n-JI for 55342@debbugs.gnu.org; Tue, 10 May 2022 00:52:14 -0400 Received: by mail-ot1-f54.google.com with SMTP id z15-20020a9d65cf000000b00605f064482cso11508093oth.6 for <55342@debbugs.gnu.org>; Mon, 09 May 2022 21:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DVsn3zbmQ8uddlGT59N48G5hbWsnVQbB7ey4sX3aWf0=; b=Gxpztc9t+UODQ+f6PeY7aj1yPiQo5jnJImKBQaz12pPsk8Y/ZRRZyRFyL0KDKEDl+5 omg3THFeUMBPQLHdIpUAerBxbJS71Cfe9817ZpAXOZISjuDnXW7GpgmjqYjSH+tg1yFz Zf5+AMZzxUBV3LeWrOsf8WNDaCgI4Aav6GZP5XdFMDTSWDWV0Ht8krJV6WtpWJ12Ss2S BzQIGHT+aTr32Em6FxapZN+7TF9EYH6+qE7VZ9lMMR0oLAPqUfRqsSB3xQ0vde2KJeo6 4rpQE2O6Ghd3e/fsKjBvpFysfrIqwUTPulESUglqKwiAT8AXGgqDnk/foMMPdOjfpvnA Yczg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=DVsn3zbmQ8uddlGT59N48G5hbWsnVQbB7ey4sX3aWf0=; b=gXqPctHnDW211ehCJAVA2n58sHDRoWh+MJi4A2U0jtITLG0jZDYRbJd7AiPQooRjNz a5uo/12t7UFn8fA/wOOhOJcqP404j+x6+rdK1VcDiM2AhNfkmJ3ulbW9kNWWUC33jjud 4Z6g/iTm/ivDusMDeK+cPyKJDvLv/+bvrF24bsz/OTXpVCzm5CVsFqCjM9/M3Ip4nVC5 GW6qVm/jQXd6k00MaoKwnpw/U/kcKrv+NBD98MfaqnG8RqAOqIFo4SGce0L3LqxI2BIb pkFZCThiEKCfZCTaDOj960zeus5jGVEtDy6+FzNiXS1K6Mu+SpYOpIxlrscTSutpLx6z mAZA== X-Gm-Message-State: AOAM533bGCWcuwBhJrUxMgoolDb94FEaZif8tT4vQlxyDjiamc148NEr AOWj6RmNBqoZpchTORTW/dA= X-Google-Smtp-Source: ABdhPJxd5wqUksf6HhLT27bQ5BeWQBfZBFim0tIin37hmd19VSU09S1oms+Q9Cdt2WAtBqvlCNyChg== X-Received: by 2002:a05:6830:1157:b0:606:e6c:d89b with SMTP id x23-20020a056830115700b006060e6cd89bmr7405853otq.132.1652158328960; Mon, 09 May 2022 21:52:08 -0700 (PDT) Received: from localhost ([104.223.98.2]) by smtp.gmail.com with ESMTPSA id g18-20020a056870c15200b000e9364288bfsm5109475oad.45.2022.05.09.21.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 21:52:08 -0700 (PDT) From: Ihor Radchenko In-Reply-To: <83czgmt93n.fsf@gnu.org> References: <83czgmt93n.fsf@gnu.org> Date: Tue, 10 May 2022 12:52:52 +0800 Message-ID: <871qx2kmzf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652158502; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=DVsn3zbmQ8uddlGT59N48G5hbWsnVQbB7ey4sX3aWf0=; b=hEQR2Z8hRuKeRTieRscrt8C5MRDzIeBBp//k3AMEpH4Ig3rObpP95A9oB3/dixSKBSe+xP OZ+dyheMHLwEAUJPZpoBc8a9jdkp1fhxjYvPj32+6s5OCXNX1kNWHics9NKSurccQlEca1 Sbz6DLTc4Y17HaanMHLskK3sozL53ynmZL0WboOnTHY67TvTrNcbzsSkWRg/or2Nypq/8v UbMbrIeoqKONw0dmdSuFdll3YmKwkixr8qRjnwN4W1b3giLY9CKo2zeFgtLCXId5h6lVIh d54VRN0+xFdqEMToYHuzFChlW9QDAdlDvJxyslf8YKaj9NiOy2IjXLUAQyuheA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652158502; a=rsa-sha256; cv=none; b=Rx+7KpK2mrMZJRTj9T/QbB0uDM9iNx4pK8guOYFnH0v371tJ2urj1q7DWvehMr/epj4dBY gk3MxrCHTBcvYxUVqXaQx/5ZmMwoJEGvny30jqmF8GbzA6DzvZbD3+kosv9P+j4M4pYWGw k4NaQs3oOXUS33js2WBiyp9f6JjRlPo+toPD3qRJ5Z4tGWS/AHcIhW43xe5htkB6oVs4J7 nKx7+R/daySZuFOotMr2vIxDsb6H/K1Bn/IMmjyZZxqo2MufLK6LvkokswGj6YXKVRDqli 00P7qSPrA/5xrHuTU2epxosuGXvTLmCdCtHzqpd9dMxkBm2julv3zUGHsv4wgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Gxpztc9t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Gxpztc9t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EB2F53C05B X-Spam-Score: 5.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: M8BZje2uup3j 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. While handling empty bibfiles should be fixed on Org side, the current behaviour of bibtex-map-entries should indeed be fixed on Emacs side. Best, Ihor