Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
Hello, when editing a Guix system declaration (system.scm) with GNU Emacs and Geiser (and corfu.el), can I get completion for Guix specific code? Right now, I only get completion suggestions based on generic Guile modules. E.g. completing "(ope" (by pressing C-M-i) does not offer "(operating-syste

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
Sorry, I think the attached files were not separated well. Maybe it's better this time! (require 'corfu) (setq corfu-auto t corfu-auto-prefix 0 corfu-quit-no-match t) (global-corfu-mode) ;; optional: (require 'corfu-doc) (add-to-list 'corfu-mode-hook #'corfu-doc-mode) (require 'geiser-guil

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Luis Felipe
Hi Mekeor, --- Original Message --- On Wednesday, November 16th, 2022 at 11:07, Mekeor Melire wrote: > Hello, > > when editing a Guix system declaration (system.scm) with GNU Emacs and > Geiser (and corfu.el), can I get completion for Guix specific code? You should be able to. I can

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
2022-11-16 / 14:51 / luis.felipe...@protonmail.com: > Hi Mekeor, Hello Luis Felipe, > On Wednesday, November 16th, 2022 at 11:07, Mekeor Melire > wrote: > As far as I know, you can only get completion for symbols defined in other > modules and libraries if > > 1. The library is in Guile's lo

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Luis Felipe
On Wednesday, November 16th, 2022 at 16:41, Mekeor Melire wrote: > Yippie, it works! I just needed to run geiser-eval-buffer, bound to C-c > C-b. Now it completes imported identifiers as well, yay! :) Thank you > very much. Great :) > Still, a pity/bummer that it completion does not consider