From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SNRhNq3LBGMZvwAAbAwnHQ (envelope-from ) for ; Tue, 23 Aug 2022 14:44:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6FBBNa3LBGOo8QAAG6o9tA (envelope-from ) for ; Tue, 23 Aug 2022 14:44:29 +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 763A51DEDE for ; Tue, 23 Aug 2022 14:44:29 +0200 (CEST) Received: from localhost ([::1]:58980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQTGe-0006Z3-Ci for larch@yhetil.org; Tue, 23 Aug 2022 08:44:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQTAF-0000B3-Js for emacs-orgmode@gnu.org; Tue, 23 Aug 2022 08:37:51 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:42538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQTA9-0004w7-Nr for emacs-orgmode@gnu.org; Tue, 23 Aug 2022 08:37:50 -0400 Received: by mail-pj1-x1036.google.com with SMTP id s3-20020a17090a2f0300b001facfc6fdbcso13838392pjd.1 for ; Tue, 23 Aug 2022 05:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=Md4emxQscebSsSkc4At5fyAnaew3VsAVHrwj1uHdiNQ=; b=WxDqECfGO3QTI/skyUUrVBB3KFiiZE4QlW48EElRnym/QKNjAvi5jhu5Lk8HfHRXR5 ZBUrQ4b4WOkXKOEiy4jKpKu3ZxlHSYajY9wZ9MLxZMrobiEd1eD5fVoqDolkzjYdmgYC sILBQ/Jmk1ijOyOfX6fgedBjlq0OS/15017t0eUSS0fclla+Hx5JHIezzljVZs7Be9uW hF9PU+aYdZCx0yQDsDXe3BOfC60c+ANd2i+zqPXaQ2+M8R97czCMuabyo+pr9DwfHZh5 O/9VDAAhO6lStNc4jc5ffiWKZ/lKZXuNeTazNvVlkcs1PO5EqaMLzR/Dy/sjAN5rvYnS Va1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=Md4emxQscebSsSkc4At5fyAnaew3VsAVHrwj1uHdiNQ=; b=Q2cfl1AmEvuFYN1gRXGJbMe3tJUYmN4FIIkw5JcV55xUtza0aavpbdvr+qyop9AGV0 NRmYxksKHGVmYktwIvw1IkomzSwIwtbYIUNSAEEJ3ElKxXSUlaEanCQ+/fFJ6ZI/wD2n 9CXvPc086XJVWYHovOyvUOnH75eu7RsymHjk8YYiMNzXxQySeQZnrpzZwIH66HRwrdIa 41Uf4Bi47XD9z/J16HAD3o+bQ0iOOzxUt6MuVpaARD/mtfaB2UAuuf9mM9EOvuxWUQDH UQ+jswBEnt3J2hyvbFDZIlhS1FYMohr/UwmfbhMp6MchrkFo9n/dQ/Sy63N9rKOGBqb9 m/uQ== X-Gm-Message-State: ACgBeo1N4JkZWbeFNs54+QbZHNPqrNomhhanK1c53iHCGryiyyuWF0kD 9QUUUFnbznBliTiIiaxD9kw= X-Google-Smtp-Source: AA6agR7zvVlF3TO94cXyj+L8Rc8dffkRLpis+WuDTRsggFlPswrSFC9ponm8HVwZVekLpg2MUbkSuA== X-Received: by 2002:a17:902:d708:b0:172:f24e:2e59 with SMTP id w8-20020a170902d70800b00172f24e2e59mr7134174ply.169.1661258264093; Tue, 23 Aug 2022 05:37:44 -0700 (PDT) Received: from localhost ([2409:8a70:2b9:1e80:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id k17-20020a170902ce1100b0016db0d877e4sm10321230plg.221.2022.08.23.05.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 05:37:43 -0700 (PDT) From: Ihor Radchenko To: Bruce D'Arcus Cc: Ypo , Org-mode , Eric S Fraga , =?utf-8?Q?Andr=C3=A1s?= Simonyi Subject: Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file? In-Reply-To: References: <3a908594-d429-6371-0d4e-47753fe20c77@gmail.com> Date: Tue, 23 Aug 2022 20:38:39 +0800 Message-ID: <87edx7i180.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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=1661258669; 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=Md4emxQscebSsSkc4At5fyAnaew3VsAVHrwj1uHdiNQ=; b=XAVe1w8sWa5qqDYchIo0+lRw8XYaRin4gwB5hZc0zgkMJ4hzuqjNjB6XFm2T6SJu0Y/XSG 2iPnOYU4O7lafk3/isC+lM0SeIiZIMEKkxo8WNwyaj6bSo01rV/22l1H42l2c8IZMPK0sE YLWEt+kKoUIJvisV/AIzyo2L/7qPeIck61qEg1eDVE9QmlMnLPD5ShML15r68neDYO4vXi RoTBuHCXrPSdTiIp/5DnGqaZf6oM45H3sGZHTbPj9jgFyZLMJ2saMHUldIRHTTYIR+vPtg uvMh80mtLwG+riyAnxna9SR2jkf0Bo7RgqMRvCjrUgWPp+vS7a5Ue6l5rDxDGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661258669; a=rsa-sha256; cv=none; b=PRhiObchwehruV5h234LGwpD3RGXVnf93yG8f8B4s/4/tBCSQUZryMNWpCd+WP+1fBQ+XO zqfWCUkaHaA1K+IhyIWNuUtMj8soMLsvD4E/Qrq0q0Rf1u7BPtnCsYkNJR+AmzuBdqbqD+ ObocapK1KU9ze6eqCLMmd12TqAICfUnTzXFc85IwL1yKLnGsbdLaHEehxAw48puRmEZPA8 AdViSECErFuHMYi/hGzRZ8hV/X9qz4nvTsoZbRvLXb1LuiDes6iCNPYtP6cXhuku9aOv+z VAo0kM43U5hUVHzjSl6erwoTyuiC/s5XXJPRywmBIJYb3dqA1ibHjEkQy85WeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WxDqECfG; 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: -6.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WxDqECfG; 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: 763A51DEDE X-Spam-Score: -6.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: bs3wwSwMwhyp "Bruce D'Arcus" writes: > Yes, but there are some tricky performance issues with large org files > that change a lot, since currently citar will reload the file(s) > whenever they change, but an org file that mixes notes and bib data > may change a lot even if the bib data doesn't. If you have everything > in one file, that becomes a problem. > > https://github.com/emacs-citar/citar/issues/397#issuecomment-1221604952 I suggest org-element-cache-map with :next-re ":BTYPE:". It is good enough even for real-time queries. You can even attach data to Org headline element. The data will be attached to the relevant Org headlines as long as buffer edits do not alter those headlines. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92