From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oLXKNFYXomLwTwEAbAwnHQ (envelope-from ) for ; Thu, 09 Jun 2022 17:52:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4EKPNFYXomK9IAAAauVa8A (envelope-from ) for ; Thu, 09 Jun 2022 17:52:54 +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 8535B2F44C for ; Thu, 9 Jun 2022 17:52:54 +0200 (CEST) Received: from localhost ([::1]:52674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzKSq-00078N-W7 for larch@yhetil.org; Thu, 09 Jun 2022 11:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzJFO-0008F4-NT for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 10:34:55 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:56103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzJFN-0006NA-1J for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 10:34:54 -0400 Received: by mail-wm1-x331.google.com with SMTP id a10so9997315wmj.5 for ; Thu, 09 Jun 2022 07:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRSWsp55QE3gqtEUX/94b+LOTUoGDA7edyeEtzcQ1bQ=; b=FMg2Y08pMihQ1mph5buBKLyUAsg5kwX5WNtO2k8qVFmSvjpLj/dsJVpPQXGIY5o5hV ZSbMjA/Xa8Sia/LUXcBfSt5CpNZT58i0wxrRIygbS31ljM0qnxmzWFUBYhOT7CTIhsXa +zu/CgEm/Dav9DOwa7HbSls6gi/AbCaDTiLvqN77gmll/nxouruX+KJtgmt4SFLF6HdE 1xSdOw4+C5Wm/lzKmgzB5uzvw8CWA5zCyOa4lhLqSIuAEmtejGi91qT4/uyEp4iaSDeT nKS913n3Y4QvpC5Tyc1/7EuEsbELpmqQ2h/AxxQEmVFSSXzM19C0nyzdujEfgVscYwgb ns0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wRSWsp55QE3gqtEUX/94b+LOTUoGDA7edyeEtzcQ1bQ=; b=6XQCfTMaUuDTWNETvQqsObrNlDnXQMKooyVeEmu7Eo2skeVXwYC4KMthxDXqQ4ONCx IVCU7IfwIJdojyZ3ecEvnQqSDxMVAmjWbBnq6Bfhr2OnGf76Sa/0I1aOXuA/Ul2gSWvo lV5wGBdr+Zc8xvqABQZvdFJT349rleJ6f/s9xgGX+q8bkTgdpFHFCblNrjOP04D3KC3V dIIRFIFPnC8ONGkvCGOm82POl2K+emOb774BHxu12JjTojDOrXYhxTRMAXS+WMX5ESFw Wf+4VSubZV1K+Fc7Jzde4q4+LHaO5YCv2gCTMcsWpQgZqVyNaCTQ9VRVaK+76TXC57rG EOxg== X-Gm-Message-State: AOAM530ss2zqLWR37zGUwUi1nxNVRYcphP2XKBIv0PN8I8njjRYVLaqC I2+1bnfgqnmXSz66yxg8oxKWTznWlKW7AaOdmpwZH/FgPEA= X-Google-Smtp-Source: ABdhPJws/jdkun7RKajsvkhD4BfLZKnXw6kaVYbEN8waU+RtIvT2JrFuAHBIQtB0tq33cECUp5qFZxGFfqOyem2cykg= X-Received: by 2002:a1c:540e:0:b0:39c:5fbb:5151 with SMTP id i14-20020a1c540e000000b0039c5fbb5151mr3676972wmb.147.1654785289581; Thu, 09 Jun 2022 07:34:49 -0700 (PDT) MIME-Version: 1.0 References: <8735outqll.fsf@ucl.ac.uk> <877ddptdkf.fsf@nicolasgoaziou.fr> <87ilpvi04y.fsf@ucl.ac.uk> <87fskw6g70.fsf@localhost> <87leuod444.fsf@ucl.ac.uk> <87sfowmw1b.fsf@localhost> <87h74u81q7.fsf@ucl.ac.uk> In-Reply-To: <87h74u81q7.fsf@ucl.ac.uk> From: "Bruce D'Arcus" Date: Thu, 9 Jun 2022 10:34:38 -0400 Message-ID: Subject: Re: re-scanning bibliography for org-cite To: Org Mode List Cc: Ihor Radchenko , Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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=1654789974; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wRSWsp55QE3gqtEUX/94b+LOTUoGDA7edyeEtzcQ1bQ=; b=mUb3hm3Ez4lziY5/HZ3+xmUPaAtmnlY1nFOelNxN6E/lmd6/pXGvVONWTrcI+G31uacJlX ZYm18nckVW413jsNp//zYPavhmxx6Sz8aOtAzXZuq0wq9N5oyK/ZFJQa7ciQeSse9yzdgx ICXFoMyCxan2FXnWLyu6/C8xSCriBl9u0cSTIDZJ7mUWGdgfO+Gvaq8ABTk1zjueNVlGa8 /1e1qgsW4XDeqMaONU/qhAF68w4Jd6SIdAaKB1GOLbHKLGOXlaYEpma+1DaoVYlSemAXhe xjUcAvl485a3PebHleS51k2xa+ZMsLzFXW325eYzbpKuty5upouvQqwwGZopbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654789974; a=rsa-sha256; cv=none; b=mSBBiAlSQUcMRup+BKaGbH/zVXqZzAVa2//IytIuRPBlwJ3sGlhKstNsmhlxRvsEpy1y7+ 4vqXZq4aczchnDOeerM5S32ih0pTe7MIR1PGwroxem/z+Fg8GUZRMC1kN4+X2yU9jyOsWL 2uH2zBjce7nN/advZZUi2VFSjdSOG1b1w7XEMdr6ymOE+OljAMtJ5UiePUCRwHT1Lu1NZq cK5CKuLnjfKo0PIGdGPdRknZ0jlHx5fAmFT/94ipt2WFuok92Of+YB+10zhOnaeXZoktnn wXk5fMZW8fZj0Xq3rMk56ne5pvma+DmQCdFx21SFCvcVPPxU5SULwEWWMgE37A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FMg2Y08p; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FMg2Y08p; dmarc=pass (policy=none) header.from=gmail.com; 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: 8535B2F44C X-Spam-Score: -2.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: 53/A6Y3+RwqB On Thu, Jun 9, 2022 at 10:19 AM Fraga, Eric wrote: > > On Thursday, 26 May 2022 at 18:24, Ihor Radchenko wrote: > > The relevant function is org-cite-basic--parse-bibliography. > > To finally follow up on this, the problem is not with org-cite but > appears to be due to my use of citar. Citar seems to cache the keys > somewhere/somehow and this cache is not updated when the bibliography > file changes. Yes; not currently by default, but can be configured. https://github.com/emacs-citar/citar#refreshing-the-library-display But more importantly I'm currently working on a major change in the caching and completion architecture of citar, where I've actually borrowed ideas and code from oc-basic, so it should work the same WRT to cache updating, without need for any configuration. https://github.com/emacs-citar/citar/pull/628 It should take another few days of development and testing before I'm ready to merge it, but it pretty much works now, and any help with code review and/or testing would be much appreciated. Bruce