daviwil / dotfiles

[MIRROR] The path to GNUrvana
https://config.daviwil.com
MIT License
829 stars 177 forks source link

guix-home branch: emacs loaded from guix dependencies can't process help lookups #17

Closed dcunited001 closed 1 year ago

dcunited001 commented 1 year ago

i'm porting my .emacs.d to be more like the emacs config in your guix-home setup. I've begun a long migration away from doom. I've tried asking in a few places so far, but no luck.

i'm using emacs-* packages from guix on a foreign distro, but whenever i use C-h k or C-h f to look things up, i get an error for (void variable read-symbol-positions-list). it's pointing to the correct files in the hashed /gnu/store package AFAIK. is there something I need to do to set this up?

emacs help error - Pastebin.com the stack trace is here, but "debugging emacs help system" is a bit tough to google

to reproduce:

C-h f and C-h k lookups are successful when the code is inside emacs. if it's in any of the libraries, it fails. it's just occured to me that perhaps it's the (setup ...) code.

I use chemacs, so there's a few lines in ./init.el. the config that differ from yours, @daviwil. particularly, the (setup (:pkg ...)) defaults to pulling in dependencies from guix unless :straight t is specified.

dcunited001 commented 1 year ago

Okay, I just removed (setup (:pkg helpful) ...) and this allows help to find everything. I hadn't realized that this package was modifying the behavior.

Is there some way to restore the functionality?

dcunited001 commented 1 year ago

Emacs 29 changed its implementations of functions expected by wilfred/helpful. I just installed Emacs 30, so I'll take a look at this again soon.