Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ebib cannot open .bib files, parsebib-read-entry being given wrong number of arguments #313

Open
jb-stack opened this issue Dec 11, 2024 · 1 comment

Comments

@jb-stack
Copy link

I'm using Doom Emacs and I recently ran an upgrade. Now Ebib won't open .bib files. It gives me the following error:

(wrong-number-of-arguments #<subr parsebib-read-entry> 0)

Looking at the signature of parsebib-read-entry, it expects to receive at least one argument:

(parsebib-read-entry TYPE &optional ...)

The problem seems to be in ebib--bib-read-entry which is calling parsebib-read-entry with no arguments:

(let* ((beg (point)) (entry (parsebib-read-entry))) ...

Possibly related to this issue that you created on helm-bibtex?

@joostkremers
Copy link
Owner

joostkremers commented Dec 11, 2024

I made some changes to parsebib's internals, which involved changing some function signatures. parsebib-read-entry was among these.

The update of Ebib should also have pulled in the new version of parsebib. I don't know why that did not happen in your case, but if you upgrade to the latest version, things should be fine.

Unless something in Doom Emacs interferes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants