all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55013: Guix-emacs doesn't work
@ 2022-04-18 23:46 Ryan Prior via Bug reports for GNU Guix
  2022-04-21  9:50 ` Giovanni Biscuolo
  2023-03-20 19:09 ` Ricardo Wurmus
  0 siblings, 2 replies; 15+ messages in thread
From: Ryan Prior via Bug reports for GNU Guix @ 2022-04-18 23:46 UTC (permalink / raw)
  To: 55013

[-- Attachment #1: Type: text/plain, Size: 2362 bytes --]

Hi folks! I decided to check-in on the status of the guix-emacs​ package, since my understanding is it's had a change of maintainership a little over a year ago after its previous abandonware status.

First I installed it into my normal Spacemacs setup, and that didn't work at all. Running guix-packages-by-name yielded this error:

> if: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Unbound variable: package-names*

But I hardly blame any package for not working with Spacemacs - most packages do just fine, but occasionally when something doesn't work it's Spacemacs fault. So I set out to create a minimal reproduction. Here's what I came up with:

To start Emacs, I ran:

> guix shell -CNPE TERM --no-cwd emacs guix emacs-guix coreutils -- emacs -nw

​
If my understanding is correct, this creates a container with only Emacs, Guix, and the emacs-guix elisp package installed in there, with network access and my TERM environment set but otherwise with none of my Spacemacs or other user config.

Inside this Emacs, I again ran guix-packages-by-name​ and got a nearly identical error:

> guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Unbound variable: package-names*

​
For completeness, I also tried a few other commands, like guix-installed-packages​ and guix-profiles-show​. These each have subtly different errors, but none of them remotely work.

Those of us who use Emacs and have some experience with elisp and Guile should consider swarming on this package to get it working, since it is a touted feature with Guix in the name, so people try when they're giving Guix a shot. A working Emacs integration would be something I'd use every day and a great showcase for what Guix can do when integrated into hacking workflows.

If that's proves not to be feasible, we might want to consider deprecating the package, removing it from Guix and Melpa. Its protracted state of disrepair and uselessness (it hasn't worked since I started using Guix in ~2018) may be giving people the impression that Guix is not well maintained. This should be a last resort, as getting the package working would be dramatically preferable, but there are stakes here in terms of cost to Guix reputation that imo cannot be ignored.

Cheers,
Ryan

[-- Attachment #2: Type: text/html, Size: 4432 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-03-25 22:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18 23:46 bug#55013: Guix-emacs doesn't work Ryan Prior via Bug reports for GNU Guix
2022-04-21  9:50 ` Giovanni Biscuolo
2022-04-21 14:17   ` Giovanni Biscuolo
2022-04-22  5:27     ` Jan Nieuwenhuizen
2022-04-27  9:13       ` Giovanni Biscuolo
2022-04-27  9:16     ` Giovanni Biscuolo
2023-03-20 19:09 ` Ricardo Wurmus
2023-03-22  6:51   ` Giovanni Biscuolo
2023-03-23 13:32   ` Giovanni Biscuolo
2023-03-23 14:10     ` Giovanni Biscuolo
2023-03-23 14:11     ` Giovanni Biscuolo
2023-03-23 16:31       ` Ricardo Wurmus
2023-03-23 17:06         ` Giovanni Biscuolo
2023-03-25 21:00   ` Ryan Prior via Bug reports for GNU Guix
2023-03-25 22:46     ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.