emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: Bruce D'Arcus <bdarcus@gmail.com>,
	org-mode-email <emacs-orgmode@gnu.org>,
	Eric S Fraga <e.fraga@ucl.ac.uk>
Subject: Re: Org-cite follow function for ebib
Date: Mon, 9 Aug 2021 08:38:02 -0400	[thread overview]
Message-ID: <CAJ51ETq+grsHDErZArnUo1YBixQp9ERLq=8d_QBnUsziRwYBVA@mail.gmail.com> (raw)
In-Reply-To: <87im0e99sp.fsf@fastmail.fm>

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

If every thing is working right, you can get the file that a key is in like
this:

#+BEGIN_SRC emacs-lisp
(cl-loop for (file . entries) in (org-cite-basic--parse-bibliography)
when (gethash  "some-key" entries)
         return file)
#+END_SRC

This returns the first file that matches.

John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Mon, Aug 9, 2021 at 6:45 AM Joost Kremers <joostkremers@fastmail.fm>
wrote:

> Hi Thomas & others,
>
> On Sat, Aug 07 2021, Thomas S. Dye wrote:
> > Aloha Joost,
> >
> > Following some pointers from Eric and Bruce I have this in my
> > configuration and it seems to work fine, though I haven't had a chance
> > to use it very much.
>
> Thanks for figuring that out. :-) Once I get to implementing support, I'll
> use
> it as a starting point. There should also be a way to open the correct file
> automatically, without the user having to select it.
>
>
>
> --
> Joost Kremers
> Life has its moments
>
>

[-- Attachment #2: Type: text/html, Size: 1874 bytes --]

  parent reply	other threads:[~2021-08-09 12:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 18:37 Org-cite follow function for ebib Thomas S. Dye
2021-08-05 19:10 ` Bruce D'Arcus
2021-08-05 20:12   ` Thomas S. Dye
2021-08-06  7:48     ` Eric S Fraga
2021-08-06 15:49       ` Thomas S. Dye
2021-08-06 15:59         ` Bruce D'Arcus
2021-08-06 16:47           ` Thomas S. Dye
2021-08-06 16:55             ` Bruce D'Arcus
2021-08-06 17:19               ` Thomas S. Dye
2021-08-07 20:57                 ` Joost Kremers
2021-08-07 23:15                   ` Thomas S. Dye
2021-08-09 10:35                     ` Joost Kremers
2021-08-09 12:05                       ` Bruce D'Arcus
2021-08-09 12:38                       ` John Kitchin [this message]
2021-08-09 16:14                         ` Thomas S. Dye

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='CAJ51ETq+grsHDErZArnUo1YBixQp9ERLq=8d_QBnUsziRwYBVA@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=bdarcus@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /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).