emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-bibtex-read requires that bibtex is properly initialized
@ 2021-01-09 21:45 Matthieu Lemerre
  2021-01-10 13:34 ` Eric S Fraga
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Lemerre @ 2021-01-09 21:45 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,
 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!
Matthieu

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-10 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-09 21:45 [BUG] org-bibtex-read requires that bibtex is properly initialized Matthieu Lemerre
2021-01-10 13:34 ` Eric S Fraga

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