emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Bruce D'Arcus <bdarcus@gmail.com>
Cc: Ypo <ypuntot@gmail.com>, Org-mode <emacs-orgmode@gnu.org>,
	"Eric S Fraga" <e.fraga@ucl.ac.uk>,
	"András Simonyi" <andras.simonyi@gmail.com>
Subject: Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?
Date: Tue, 23 Aug 2022 20:38:39 +0800	[thread overview]
Message-ID: <87edx7i180.fsf@localhost> (raw)
In-Reply-To: <CAF-FPGOKTEUohEseo+RZHrfW3A38V5Ts2MbDmV9oVNYRmFw9yg@mail.gmail.com>

"Bruce D'Arcus" <bdarcus@gmail.com> 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


  reply	other threads:[~2022-08-23 12:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23 11:44 Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file? Ypo
2022-08-23 11:59 ` Bruce D'Arcus
2022-08-23 12:38   ` Ihor Radchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-19 13:07 Ypo
2021-10-19 13:24 ` Ihor Radchenko
2021-10-19 13:42   ` András Simonyi
2021-10-19 14:09     ` Ihor Radchenko
2021-10-19 14:23       ` András Simonyi
2021-10-19 14:45         ` Ihor Radchenko
2021-10-31 18:48           ` Ypo
2021-10-19 14:46       ` Eric S Fraga
2021-10-19 14:12 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edx7i180.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=andras.simonyi@gmail.com \
    --cc=bdarcus@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=ypuntot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).