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

deferred error with 'title' #75

Open
notuntoward opened this issue Aug 7, 2023 · 6 comments
Open

deferred error with 'title' #75

notuntoward opened this issue Aug 7, 2023 · 6 comments

Comments

@notuntoward
Copy link

notuntoward commented Aug 7, 2023

When I customize org-zotxt-link-description-style to 'title', and then run org-zotxt-insert-reference-link, select a Zotero entry and then hit return, I get this error message:

Caught error: (wrong-number-of-arguments (lambda (item) (deferred:error item #'zotxt--deferred-handle-error)) 0)
deferred error : (wrong-number-of-arguments # 3)

This is when org-zotxt-mode is toggled on.

emacs version: 28.2

@egh
Copy link
Owner

egh commented Aug 10, 2023

I can't reproduce this in 29. I can try to confirm in 28 but can you confirm that you have the latest versions running? Thanks!

@notuntoward
Copy link
Author

notuntoward commented Aug 10, 2023

I think I'm running the latest. With use-package set up to pull master using straight, here's my zotxt config:

(use-package zotxt
  :after org
  :bind ("C-c z" . org-zotxt-insert-reference-link)
  :hook (org-mode . org-zotxt-mode))

If I go to

~/.emacs.d/straight/repos/zotxt-emacs/.git/refs/heads/master

I see:

96a132d

Does that help?

@egh
Copy link
Owner

egh commented Aug 10, 2023

That sounds right. You configured org-zotxt-link-description-style using the customize functionality?

@notuntoward
Copy link
Author

Exactly.

@egh
Copy link
Owner

egh commented Aug 11, 2023

Strange. I can't reproduce on emacs 28.2. I wonder if there is an underlying error? Does (zotxt--check-server) return an error?

@notuntoward
Copy link
Author

notuntoward commented Aug 13, 2023

Running (zotxt--check-server) didn't cause any errors, but now I notice that when I restart emacs, I do see a warning from another package (ekg). I'll look into that.

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