From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kHI2CEC3gmFzvgAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 17:22:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YKrJA0C3gmFHLgAAbx9fmQ (envelope-from ) for ; Wed, 03 Nov 2021 16:22:24 +0000 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 803281D5A4 for ; Wed, 3 Nov 2021 17:22:23 +0100 (CET) Received: from localhost ([::1]:52178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miJ1q-0007eo-Of for larch@yhetil.org; Wed, 03 Nov 2021 12:22:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miJ1G-0007bx-SV for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 12:21:46 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:39925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miJ1E-0005Tc-SJ for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 12:21:46 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 1D25E10000A; Wed, 3 Nov 2021 16:21:41 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: re-scanning bibliography for org-cite References: <8735outqll.fsf@ucl.ac.uk> Date: Wed, 03 Nov 2021 17:21:36 +0100 In-Reply-To: (Bruce D'Arcus's message of "Thu, 21 Oct 2021 11:30:38 -0400") Message-ID: <877ddptdkf.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Cc: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635956543; 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; bh=M57zfTwKbmfHMLSkPZwzqIk5jTKEp9xeRwq2Ss9hvrk=; b=fRDBohNwBdhBMCQ4ssTCtvjySyh4InJwuRTjjfOlB7kGKHCDdxpWfxOmtXPDKTGnF/797G q94UgGpFbo7AreNTkxbnaXNOHbZj0QLDtenucFdgWhoUlyUEstcTMsR94eygg+y70axn+8 wKPyS/zRMq93UF6jfeiqk3L1Sr5Gc3Q3NBlgTW1e3jZbWfV1ZVmhNB8d44ish30pIsRqvC VFQcwuAZ+LpNKGKOXrPA60DYOLkh1R9CwLeVij9+5fAr16JDPIV9pONlr54Puezh8EFQgj EjfQn1nJ2NE9ozyCfsOkbqKV2AAabVe9AKZ9tKRFrAWmHsByuHDKyGMa2XIC1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635956543; a=rsa-sha256; cv=none; b=Bmrnu8HLElSTH8A08Kp7fmdtx/roztbBZCrbUvktIizsxJLJc24Z/60Df9zG8cJDBCDQWh FTsO9kiqhcONkabKWjQyKGz8X8y+Jt48vtq6T2wJpe02eu4Znh8/BP7izzSYkWgDX+FI9T ckxSjTtaRN8CFeVF241rrHQ/dRFXvFgUg7ampgZiLO3FzM66yyQK8esQr4P6ruhw5pzIcO VK+ndQ3nnKBbQ5zsxJupIvruABR2ghaIsl3IN4oGuL0ryNk7mBgRfRgVEYpOaOT8DeJrrI 5NBFBnAUvC0nxHQsa8Zjxpu/Y4C5LvE3uH4dBX/0Goed14b+/CBufnh4RA0D7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 803281D5A4 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1ONWUmaTBYh8 Hello, "Bruce D'Arcus" writes: > On Thu, Oct 21, 2021 at 10:12 AM Eric S Fraga wrote: >> >> Dear all, >> >> simple question: how can I get org-cite to rescan my bibliography (.bib) >> file when it changes? When I'm writing a paper, as I'm doing now, I add >> entries to my bibliography as I write but org-cite is not aware of any >> new entries. > > Do you mean for org-cite-insert? > > Which insert processor? > > If it's bibtex-actions, you have to configure the filenotify support > mentioned on the README. > > I'm not sure how the oc-basic one handles this. oc-basic relies on a cache. The cache key contains a hash of the contents of the bib file. So whenever the bib file is modified, the cache is invalidated, and oc-basic parses again the file. IOW, rescanning happens automatically in oc-basic. Regards, -- Nicolas Goaziou