emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: the tangled web of org-cite, selectrum, completing-read, ...
Date: Tue, 19 Oct 2021 16:02:58 -0400	[thread overview]
Message-ID: <CAF-FPGOzKJOcaPM_j7zT=Oy3Go-bfjm1pqRNUax3ajwcfodbRg@mail.gmail.com> (raw)
In-Reply-To: <87bl3k23jp.fsf@ucl.ac.uk>

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

The cool thing about embark-act in this context is it provides actions both
in the minibuffer and in the buffer at point (in this case, when on a
citation).

So it's like merging ivy-actions and a hydra.


On Tue, Oct 19, 2021, 3:54 PM Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Nicolas & Bruce,
>
> thank you for the suggestions.
>
> > You can set `org-cite-basic-author-column-end' to a higher value.
>
> This alone made no difference but ...
>
> From Bruce:
> > Eric - since you're using selectrum, any reason why not just use
> > oc-bibtex-actions?
>
> From Nicolas:
> > You are using the `basic' back-end for insertion. You may want to use
> > something else by setting `org-cite-insert-processor' to an appropriate
> > value, e.g., `oc-bibtex-actions'.
>
> I didn't know about oc-bibtex-actions; now I do!  So I did this, which
> did not work immediately due to some errors; in particular,
> =parsebib-parse= did not exist as I had an old version installed.
>
> For the record, in the end, I needed to do the following:
>
>   1. set =org-cite-basic-author-column= to a larger number
>   2. install =embark=
>   3. update and load =parsebib=
>   4. load =oc-bibtex-actions=
>   5. set =org-cite-insert-processor= to ='oc-bibtex-actions=
>
> Now =org-cite-insert= works like a charm!  I had been planning on trying
> out embark in due course; now I have no excuse to play with it sooner
> than expected.
>
> Thank you both.
> --
> : Eric S Fraga via Emacs 28.0.60, Org release_9.5-149-g781080
> : Latest paper written in org: https://arxiv.org/abs/2106.05096
>

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

  reply	other threads:[~2021-10-19 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 16:30 the tangled web of org-cite, selectrum, completing-read, Eric S Fraga
2021-10-19 17:23 ` Bruce D'Arcus
2021-10-19 17:42 ` Nicolas Goaziou
2021-10-19 19:54   ` Eric S Fraga
2021-10-19 20:02     ` Bruce D'Arcus [this message]
2021-10-19 20:07       ` Eric S Fraga
2021-10-19 20:04     ` Nicolas Goaziou
2021-10-19 20:08       ` Eric S Fraga
2021-10-20 18:43         ` Bruce D'Arcus
2021-10-21  7:00           ` 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='CAF-FPGOzKJOcaPM_j7zT=Oy3Go-bfjm1pqRNUax3ajwcfodbRg@mail.gmail.com' \
    --to=bdarcus@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).