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

Error loading #4

Open
artelse opened this issue Mar 16, 2022 · 8 comments
Open

Error loading #4

artelse opened this issue Mar 16, 2022 · 8 comments

Comments

@artelse
Copy link

artelse commented Mar 16, 2022

I like the idea of an org based annotated bibliography and want to try this package.
Loading it through straight,

(use-package org-bib-mode
    :straight `(org-bib-mode
                :type git
                :host github
                :repo "rougier/org-bib-mode"))

gives me this error:
Error (use-package): Cannot load org-bib-mode
FWIW, am running Emacs29.
Also would love to see further instructions on how to set this up properly.
Thanks!

@artelse
Copy link
Author

artelse commented Mar 16, 2022

Update: it seems the package is loaded and found the custom variables for configuration. Still, wonder what that error is.
Update2: Same error and package is not loaded.. why did it load earlier before, nothing changed in my config.

@rougier
Copy link
Owner

rougier commented Mar 28, 2022

Sorry for delay. Can you open the org-bib-mode in abuffer and evaluate it to check if anything's wrong?

@artelse
Copy link
Author

artelse commented Mar 28, 2022

When I eval org-bib.el in a buffer, it loads and gives me one warning:
Warning: Use keywords rather than deprecated positional arguments to 'define-minor-mode'
Still no clue why it doesn't want to load on Emacs startup.

@rougier
Copy link
Owner

rougier commented Mar 31, 2022

Can you try

(use-package org-bib
    :straight `(org-bib
                :type git
                :host github
                :repo "rougier/org-bib-mode"))

@artelse
Copy link
Author

artelse commented Mar 31, 2022

Although I tried your suggestion before, it works now, no loading errors. I do get the following warnings which might result from more strict checks in Emacs 29:

Warning (comp): org-bib.el:69:12: Warning: defcustom for ‘org-bib-note-minimum-size’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:69:12: Warning: defcustom for ‘org-bib-note-minimum-size’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:72:12: Warning: defcustom for ‘org-bib-abstract-minimum-size’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:72:12: Warning: defcustom for ‘org-bib-abstract-minimum-size’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:75:12: Warning: defcustom for ‘org-bib--fold-state’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:75:12: Warning: defcustom for ‘org-bib--fold-state’ fails to specify type Disable showing Disable logging
Warning (comp): org-bib.el:377:31: Warning: ‘org-get-tags-at’ is an obsolete function (as of 9.2); use ‘org-get-tags’ instead. Disable showing Disable logging
Warning (comp): org-bib.el:432:10: Warning: Unused lexical variable `url-mime-accept-string' Disable showing Disable logging
Warning (comp): org-bib.el:437:19: Warning: assignment to free variable ‘bibtex-entry’ Disable showing Disable logging
Warning (comp): org-bib.el:443:35: Warning: reference to free variable ‘bibtex-entry’ Disable showing Disable logging
Warning (comp): org-bib.el:735:2: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
Warning (comp): org-bib.el:537:31: Warning: the function ‘dnd-unescape-uri’ is not known to be defined. Disable showing Disable logging
Warning (comp): org-bib.el:105:16: Warning: the function ‘org-element-property’ is not known to be defined. Disable showing Disable logging

As a side note; I really like the work you do on Emacs and consider starting a new config in the future with all your nano, etc. packages. This to prevent unnecessary conflicts with other packages I have installed (am still rather new to Emacs.).

@rougier
Copy link
Owner

rougier commented Mar 31, 2022

Oh, I'm using emacs 28 (for only a few days) and did not check emacs 29 at all. I fear many of my packages will get a lot of warning.

@artelse
Copy link
Author

artelse commented Mar 31, 2022

Luckily they're warnings not errors. ;)

@rougier
Copy link
Owner

rougier commented Apr 8, 2022

But warning will become errors at some point in the future. And some are annoying such as the dnd-unescape-uri which is used fro drag and drop.

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