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

DOOM installation #176

Open
zeorin opened this issue Jan 10, 2024 · 5 comments
Open

DOOM installation #176

zeorin opened this issue Jan 10, 2024 · 5 comments
Assignees

Comments

@zeorin
Copy link

zeorin commented Jan 10, 2024

I'm using vulpea to speed up my org-agenda, and I found I have to install it like this in order to have it work:

(use-package! vulpea
  :demand t
  :hook ((org-roam-db-autosync-mode . vulpea-db-autosync-enable)))

Else I get the following error when opening a note:

let*: Symbol’s function definition is void: vulpea-buffer-tags-get
@d12frosted
Copy link
Owner

d12frosted commented Jan 11, 2024

Do you mean that one needs to add :demand t to the recipe we have in the README for doom emacs users?

@zeorin
Copy link
Author

zeorin commented Jan 11, 2024

I'm not sure if that will be true for all DOOM users. It seems to be necessary, at least, for my use case. I've also tried :after org/:after org-roam, but that didn't work. :demand t solved my issue.

I would prefer to lazy-load vulpea (not because I'm experiencing a specific start up performance hit, just as a general matter of best practice), but I'd much rather have org-agenda be snappy, so if I need to load it unconditionally, I'll happily do that.

@d12frosted d12frosted self-assigned this Apr 3, 2024
@fislysandi
Copy link

fislysandi commented Apr 3, 2024

i have an issue to where i just couldnt install it either,

ok i installed doom from scratch and this package $really$ breaks doom emacs.

the leader key gets broken,
evil mode gets broken
etc. etc etc.

@d12frosted
Copy link
Owner

if doom is broken then you should see some errors, no?
would be helpful to see them, I am not using doom myself, but can try to guess what's wrong

@lyndhurst
Copy link

I am sharing my experience on Doom Emacs, because I have been facing the same issue.

Without the :demand t, I have also a small subset of vulpea functions loaded; I have not made a list, but for example, all vulpea-meta* interactive functions would be missing. After adding this bit, everything seems to load fine.

I also had a difficult time with the db-autosync hooks. I tried every (usually working) way that I know of like a separate add-hook! function for example, nothing ever worked, Vulpea autosync mode never gets enabled on my end.

I am an org-roam-ui user, and they say in their 'Install' section that 'Org-roam does not have a hookable mode anymore'. I have no idea if that is currently true; it surprises me, because all Vulpea users using the README instructions would be affected, but at the end of the day, I am not so hang up on startup times, so I hooked it to after-init, and everything seems to work well now. That is the current state of my Vulpea config:

(use-package! vulpea
  :demand t
  :hook (after-init . vulpea-db-autosync-enable)
  )

That is my first post here, so I will take the opportunity to thank you for this very useful library, and the Vino example. I am fairly new to Emacs, and it took me a while to be able to understand what it was all about, but when I finally did, it unlocked a number of crippling blocks to my personal workflow. 👍

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

4 participants