emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremias Gonzalez <jerzor@pacbell.net>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: org-bibtex-yank failing with error Wrong type argument: stringp, nil
Date: Sun, 13 Aug 2023 08:30:28 -0700	[thread overview]
Message-ID: <CAKmvNNRe7L=RwTxBYS_Yf1gG7wi0Z5k2y3M24uATCF+8p35XQg@mail.gmail.com> (raw)
In-Reply-To: <87wmxzl6gy.fsf@localhost>

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

On Sun, Aug 13, 2023 at 12:57 AM Ihor Radchenko <yantar92@posteo.net> wrote:

> "J. G." <jerzor@pacbell.net> writes:
>
> > Adding the following two lines to my init fixes the error in my case:
> > (require 'bibtex)(bibtex-set-dialect 'biblatex nil)
>
> Do I understand correctly that you attempted to run org-bibtex-read from
> a non-bibtex buffer?
>

At a top level, I was using org-bibtex-yank with an org buffer (and in my
ideal case with no bibtex buffers whatsoever) as the documentation for that
function only requires bibtex to be in the kill ring. However, yes,
org-bibtex-yank calls org-bibtex-read, and I was doing so (in the ideal
case) with a non-bibtex buffer.

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

  reply	other threads:[~2023-08-13 15:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1939460027.3272000.1691771671040.ref@mail.yahoo.com>
2023-08-11 16:34 ` org-bibtex-yank failing with error Wrong type argument: stringp, nil J. G.
2023-08-12  4:15   ` J. G.
2023-08-13  7:57     ` Ihor Radchenko
2023-08-13 15:30       ` Jeremias Gonzalez [this message]
2023-08-13 15:44         ` Ihor Radchenko
2023-08-13 16:15           ` Jeremias Gonzalez
2023-08-13 16:25             ` Ihor Radchenko

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='CAKmvNNRe7L=RwTxBYS_Yf1gG7wi0Z5k2y3M24uATCF+8p35XQg@mail.gmail.com' \
    --to=jerzor@pacbell.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).