bug#44619: [PATCH] Expose some functions for guix.el

2020-11-13 Thread John Soo
Ludovic Courtès writes: > In general, code outside the repo should not use ‘@@’ at all to refer to > Guix internals; we should ensure this is the case for Emacs-Guix. > > Actually, even code within Guix should avoid it. :-) Indeed. I submitted some patches to emacs-guix to remedy this:

bug#44619: [PATCH] Expose some functions for guix.el

2020-11-13 Thread Ludovic Courtès
Hi John, John Soo skribis: > From 7f718484fe952b674c2cdaa70315d49df3c8aa57 Mon Sep 17 00:00:00 2001 > From: John Soo > Date: Thu, 12 Nov 2020 21:47:36 -0800 > Subject: [PATCH 1/2] guix pack: Expose some bindings for third-party use. > > * guix/scripts/pack.scm (compressor-name,

bug#44619: [PATCH] Expose some functions for guix.el

2020-11-13 Thread John Soo
Hi zimoun, zimoun writes: >> diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm >> index 8e694edbbe..b6dfcb5f6a 100644 >> --- a/guix/scripts/pack.scm >> +++ b/guix/scripts/pack.scm >> @@ -58,11 +58,14 @@ >>#:use-module (srfi srfi-37) >>#:use-module (ice-9 match) >>#:export

bug#44619: [PATCH] Expose some functions for guix.el

2020-11-13 Thread zimoun
Hi John, Thank you for raising this. > diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm > index 8e694edbbe..b6dfcb5f6a 100644 > --- a/guix/scripts/pack.scm > +++ b/guix/scripts/pack.scm > @@ -58,11 +58,14 @@ >#:use-module (srfi srfi-37) >#:use-module (ice-9 match) >

bug#44619: [PATCH] Expose some functions for guix.el

2020-11-13 Thread John Soo
Hi Guix, guix.el Has been broken for quite some time because it depends on @@ for some modules. After some review, I came to the conclusion that all of the bindings it uses can be safely exposed. In general, it uses mostly bindings from guix scripts (pack, build, etc). Those bindings seem