emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: the tangled web of org-cite, selectrum, completing-read, ...
Date: Tue, 19 Oct 2021 19:42:42 +0200	[thread overview]
Message-ID: <87sfwwvrl9.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87tuhdou37.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 19 Oct 2021 17:30:36 +0100")

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> TL;DR: how can I format the suggestions listed by selectrum when I ask
> to insert a citation with org-cite-insert?
>
> Longer version: I use selectrum a my completion engine together with
> marginalia.  This works very well for most selections I wish to
> make.  However, for org-cite, the display has the author list truncated
> (to 25 characters; screenshot image attached, assuming it doesn't get
> removed by the mailing list server)

You can set `org-cite-basic-author-column-end' to a higher value.

> and the search only appears to
> consider the truncated text.  The result is that if I am looking for a
> paper by an author (say Kitchin ;-)) who is not one of the first few
> authors on a particular publication, I won't be able to find that
> particular publication (sorry John).
>
> I have no idea which bit of the tool chain does the
> formatting/truncation or whether I can make the search ignore the
> truncated information.

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 hoped it would also be possible to set it to something like `org-ref'
or some such, but it doesn't seem it will happen.

Regards,
-- 
Nicolas Goaziou


  parent reply	other threads:[~2021-10-19 17:47 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 [this message]
2021-10-19 19:54   ` Eric S Fraga
2021-10-19 20:02     ` Bruce D'Arcus
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=87sfwwvrl9.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).