* [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
unofficial mirror of emacs-orgmode@gnu.org
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
emacs-orgmode@gnu.org
public-inbox-index orgmode
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.emacs.orgmode
nntp://news.gmane.io/gmane.emacs.orgmode
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git