* [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
* Re: [BUG] org-bibtex-read requires that bibtex is properly initialized
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
0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2021-01-10 13:34 UTC (permalink / raw)
To: Matthieu Lemerre; +Cc: racin, emacs-orgmode
On Saturday, 9 Jan 2021 at 22:45, Matthieu Lemerre wrote:
> 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?
I don't know whether org-bibtex-read should do it but I also have
bibtex-set-dialect in my Emacs init configuration to avoid the problem.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-179-g5b5c42
^ 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).