From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 +OsWMmdVj2JqwQAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 12:24:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mN0bMmdVj2Kv+AAA9RJhRA (envelope-from ) for ; Thu, 26 May 2022 12:24:39 +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 5F1C517FF4 for ; Thu, 26 May 2022 12:24:39 +0200 (CEST) Received: from localhost ([::1]:38412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuAfV-0008E8-Ni for larch@yhetil.org; Thu, 26 May 2022 06:24:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuAei-0007n9-PM for emacs-orgmode@gnu.org; Thu, 26 May 2022 06:23:48 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:46869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuAeX-0004H7-L3 for emacs-orgmode@gnu.org; Thu, 26 May 2022 06:23:48 -0400 Received: by mail-pl1-x62f.google.com with SMTP id w3so1059954plp.13 for ; Thu, 26 May 2022 03:23:36 -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=Ns9lFqOwNhdV+FjWTLuzKjS3lR5BYtdk/c6vG9t8M4k=; b=qrzYlGygKacA+emMmiR9kl+smkse5jsb7ReBVdRFjkLuBgTuXakj7djANJPmD75ZLe W7wvyOwjrSRUvGS6gXXO/MS4na2LS7b4JMa0rQUkryylzs+QkDmQz8N4sg5QSRt5y6f+ KMBCSiSrCFiKp2MvTSk0uoa5LjxBBHy8yvaBAgfS96vb68jkoZaeH86j0Esm0hSjzMSK sCtGyMBDqI4iyX3RGi8Ki4+fR6qtfMhEl/zTu0zD3D/QqADMBnIuJjDPOZuRx0mpSX3Q WOP9ZBU1PCg75xEv8SAAtwpppZZ74Wf4H89y3zGHdM6BCGz0PNkem0IEp5eJy8jbYpwz mjmA== 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=Ns9lFqOwNhdV+FjWTLuzKjS3lR5BYtdk/c6vG9t8M4k=; b=ifsU6fLrbMIBlXUP/JUm+POhYXIUXPEoC7Jrd6eoNmId2ccZu9HmXJgQ0h6OvuOyoz hSasl+UsuVtyKWMxoxITJa2SGDtRcVIkeEK+Cdmvh9ROLIkkwZRBXltoYMsPSlBpGz2U 2a+KFh5liNNAzl1g5Kg9ea6WjRvWTEEX3Q6UWQUj+ceO6TbTVEZCDXNqJoJ5a2wk/1h+ srMGvpZMywN+s2270J8Om7ONE12C1nRuYGBPtwFRIk+TjuOs6kspUUVoT3b4anMMEMTq JJ3vSQ4oQwzgXWOSPF0K7wmCfinHd9coE8zdL69Nqtpcpic27rgYJ+djeQz37Ek9ngrV AzdQ== X-Gm-Message-State: AOAM531DBRYgtn5qtzjns0ahBbGKwtUXBXR1qE8vNFjf1fqi3GX5wimx pXEO0wbTbAln800LPneOhas= X-Google-Smtp-Source: ABdhPJw2QQvD+9swSNdmjlvhK7vF+kAinPMWgFcNEtsrvUVkIE5ZVGjSfmbK7PWWpMUAiYBs8LWxOQ== X-Received: by 2002:a17:903:240f:b0:158:b871:33ac with SMTP id e15-20020a170903240f00b00158b87133acmr36968193plo.135.1653560615734; Thu, 26 May 2022 03:23:35 -0700 (PDT) Received: from localhost ([74.222.20.18]) by smtp.gmail.com with ESMTPSA id d13-20020aa7814d000000b0050dc762818dsm1097134pfn.103.2022.05.26.03.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 03:23:35 -0700 (PDT) From: Ihor Radchenko To: Eric S Fraga Cc: Nicolas Goaziou , Org Mode List Subject: Re: re-scanning bibliography for org-cite In-Reply-To: <87leuod444.fsf@ucl.ac.uk> References: <8735outqll.fsf@ucl.ac.uk> <877ddptdkf.fsf@nicolasgoaziou.fr> <87ilpvi04y.fsf@ucl.ac.uk> <87fskw6g70.fsf@localhost> <87leuod444.fsf@ucl.ac.uk> Date: Thu, 26 May 2022 18:24:16 +0800 Message-ID: <87sfowmw1b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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=1653560679; 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=Ns9lFqOwNhdV+FjWTLuzKjS3lR5BYtdk/c6vG9t8M4k=; b=hKVAE0UYM0WcAJsRPnXdsi/rlhmDX9p55xv3jQob4X0GcLm7Y7tTEoMTA/vJ2c2w/yp/7V 3kbNAkOhSr00NNPAwRCv0n8vYQjPatJX7K4Bh/4L1ddOkXceYZITr4HUczzbVtIhGcpekM yjoZ1ihiqF2XkHpN8tXWyflnWds3oT5cprya7kpbk1f/zNNZMDaKBKNu76X8xmUesZPMDW /WW67BdIPzXTXaATLK4NrripRGY50EWkv+16UIqBt9bOyudmdyEIWcI0C1bgWzQetibPPo W0i1hxGR73bFANjT4i1Hrpn9K4j4XGjPOHLhu4ymY4boPBpC8QtwNvMjAp3BkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653560679; a=rsa-sha256; cv=none; b=QFF9swPp7xfpcY2DAxUb2a47V43+tT097TdyBOyzCFSyIU+PE54l8T3lwvBgkbhmbxx9m3 iDcgDa2YRGFiG6aRV4aTZ+C8NSZ/sMpi0wHylonR/AtdWYZhTtbOQR3rQJA8TqlJzLuqTK /h8L/hUHS/pZJQUXIiFtkgX+V0XdalmzH929Az3UP44zUll8b8B4caoXQ0PnONApssi8MW ctqKnLuftluNyTosiKpLwWhgbTlKErfQucjVprD70nZM1bRdbcyt6EOkhNrksRkxaO9YPx fIXeDBMMRzU+QyqZzjOz/NHDpDC8WOcpWeaCMNEdwRL7/lgUzVHd1sVy44gU9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qrzYlGyg; 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: -3.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qrzYlGyg; 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: 5F1C517FF4 X-Spam-Score: -3.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9VaUHKZ/Yn66 Eric S Fraga writes: > Is there a function I can call to force a rescan? That would satisfy me > as I could put it into a hook for org-bibtex (or advice the function if > no hook available). The relevant function is org-cite-basic--parse-bibliography. You can try 2 things: 1. Set org-cite-basic--file-id-cache to nil in :around advice before calling the function 2. Remove :cite-basic/bibliography from INFO plist in :around advice before calling the function I you find any of these methods helpful, please report back. I have a suspicion that :cite-basic/bibliography might be the cause. Best, Ihor