emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthieu Lemerre <matthieu.lemerre@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-bibtex-read requires that bibtex is properly initialized
Date: Sat, 9 Jan 2021 22:45:21 +0100	[thread overview]
Message-ID: <CAOgfdrhbehUs7UgM-F1eE1fB06NFxOnijS=hau+8MENnXy4ueA@mail.gmail.com> (raw)

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

 When calling org-bibtex-read on a fresh emacs on a text which is not a
.bib file, we get the following error: bibtex-parse-entry: Wrong type
argument: stringp, nil

This problem is solved if the (bibtex-set-dialect) function is called
before. Note that this function is called automatically the first time a
.bib file is opened, so many users may not have seen this problem.

I don't know what the right fix would be though. For now I call
(bibtex-set-dialect) in my init.el, but maybe org-bibtex-read should do it?

Thank you for org-mode!

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

             reply	other threads:[~2021-01-09 22:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-09 21:45 Matthieu Lemerre [this message]
2021-01-10 13:34 ` 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:

  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='CAOgfdrhbehUs7UgM-F1eE1fB06NFxOnijS=hau+8MENnXy4ueA@mail.gmail.com' \
    --to=matthieu.lemerre@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=racin@free.fr \
    --subject='Re: [BUG] org-bibtex-read requires that bibtex is properly initialized' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).