Hi!

I'm struggling with my Emacs setup for config and (hopefully) package hacking.

I'm using Emacs with Geiser Guile on Guix System, and I've tried to add both /run/..../guile/site/3.0 and (built) ~/src/guix to the %load-path (and they are there). Still, I never get a functional development environment. I.e. I'm not able to load any Guix config file without an error, not able to see any code documentation and I'm not able to follow symbols. Emacs is able to find the files of different imported modules (using M-.), but nothing else. From the Geiser Guile REPL I'm able to call (use-modules (gnu home)), but if I call (home-environment) afterwards, I get an "Unbound variable".

guix repl and Guile Studio works, so I guess I should take a look at the Guile Studio package. Also, I'm installing all Emacs packages from ELPA instead of Guix (except for emacs-guix). Maybe that's stupid.

So how do you manage to get a "perfect" setup? Is it documented somewhere (not considering "The perfect setup" in the reference manual)?

Oh, and this is what the relevant part of my init.el looks like right now:

;; Guile scheme support
(use-package geiser :ensure t)

(use-package geiser-guile
  :ensure t
  :config
  ;; Guix support
  (let ((guix-dir "~/src/guix/"))
    (if (file-directory-p guix-dir)
    (add-to-list 'geiser-guile-load-path guix-dir))))

Best regards,
snikta

Attachment: OpenPGP_0x8CF8982C455FAB05.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to