daviwil / dotfiles

[MIRROR] The path to GNUrvana

Home Page:https://config.daviwil.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dcunited001 opened this issue · comments

commented

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:

  • git clone https://github.com/dcunited001/.emacs.guix
  • guix shell -m .emacs.guix/emacs-guix.scm
  • then run emacs --with-profile guix or read the ./init.el line by line.

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.

commented

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?

commented

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.