all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ANN] Emacs-Guix 0.5.1
@ 2018-12-23 20:15 Alex Kost
  2019-01-04 22:12 ` Benjamin Slade
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Kost @ 2018-12-23 20:15 UTC (permalink / raw)
  To: help-guix

Hello, Emacs-Guix (Emacs interface for GNU Guix) version 0.5.1 has been
released.  If you are not familiar with it yet, you may try it with:
‘guix package -i emacs-guix’ and "M-x guix".

Summary of the new features:

* M-x guix

  This is the *new* "M-x guix" which is a popup interface for the rest
  Emacs-Guix commands.  You may find a screenshot of this popup window
  at <https://emacs-guix.gitlab.io/website/images/screenshots/popup.png>.

  The old "M-x guix" (interface for guix shell commands) was renamed to
  "M-x guix-command".  Also you can reach it from the new "M-x guix"
  with "c" key.

* M-x guix-set-emacs-environment

  This command sets Emacs environment according to a specified profile.
  Note that after calling this command, the whole Emacs will have a new
  environment (you may check ‘process-environment’ variable), so "M-x
  shell" or any other process will inherit this environment.

  Many thanks to Jan Nieuwenhuizen for inventing and implementing this
  command.

* "Total size" messages in "Guix Store Items" buffer

  Now, whenever this buffer is displayed (for example, after "M-x
  guix-store-dead-items"), a minibuffer message will display total size
  of the listed store items.  Also you can mark several items (with "m")
  and press "z" to get their total size.

  Thanks to Pierre Neidhardt for the idea of this feature.

-- 
Alex

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

* Re: [ANN] Emacs-Guix 0.5.1
  2018-12-23 20:15 [ANN] Emacs-Guix 0.5.1 Alex Kost
@ 2019-01-04 22:12 ` Benjamin Slade
  2019-01-05 13:05   ` zimoun
  2019-01-05 23:21   ` Alex Kost
  0 siblings, 2 replies; 9+ messages in thread
From: Benjamin Slade @ 2019-01-04 22:12 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-guix

I love Emacs-Guix - thank you for this.

Relatedly - I'm trying to debug an issue: so on my both pure GuixSD
machine and on my Arch machine with standalone Guix binary installer,
=guix-all-packages= shows me 9213 packages, but on my Void machine with
standalone Guix binary installer, the same command only shows me around
900(!) packages. But on the same machine, the expected full range of
Guix packages are available in the terminal via =guix package=. What
could cause Emacs-Guix to only show a subset of packages in this one
case?

--
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )


On 2018-12-23T13:15:39-0700, Alex Kost <alezost@gmail.com> wrote:

 > Hello, Emacs-Guix (Emacs interface for GNU Guix) version 0.5.1 has been
 > released.  If you are not familiar with it yet, you may try it with:
 > ‘guix package -i emacs-guix’ and "M-x guix".

 > Summary of the new features:

 > * M-x guix

 >   This is the *new* "M-x guix" which is a popup interface for the rest
 >   Emacs-Guix commands.  You may find a screenshot of this popup window
 >   at <https://emacs-guix.gitlab.io/website/images/screenshots/popup.png>.

 >   The old "M-x guix" (interface for guix shell commands) was renamed to
 >   "M-x guix-command".  Also you can reach it from the new "M-x guix"
 >   with "c" key.

 > * M-x guix-set-emacs-environment

 >   This command sets Emacs environment according to a specified profile.
 >   Note that after calling this command, the whole Emacs will have a new
 >   environment (you may check ‘process-environment’ variable), so "M-x
 >   shell" or any other process will inherit this environment.

 >   Many thanks to Jan Nieuwenhuizen for inventing and implementing this
 >   command.

 > * "Total size" messages in "Guix Store Items" buffer

 >   Now, whenever this buffer is displayed (for example, after "M-x
 >   guix-store-dead-items"), a minibuffer message will display total size
 >   of the listed store items.  Also you can mark several items (with "m")
 >   and press "z" to get their total size.

 >   Thanks to Pierre Neidhardt for the idea of this feature.

 > --
 > Alex

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-04 22:12 ` Benjamin Slade
@ 2019-01-05 13:05   ` zimoun
  2019-01-06  4:48     ` Benjamin Slade
  2019-01-05 23:21   ` Alex Kost
  1 sibling, 1 reply; 9+ messages in thread
From: zimoun @ 2019-01-05 13:05 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: Alex Kost, help-guix

Dear Benjamin,

If I understand well, it is the same issue than the one reported here:
https://github.com/alezost/guix.el/issues/28

Recently, Alex explained why in the second part of this message:
https://lists.gnu.org/archive/html/help-guix/2019-01/msg00020.html

One (not-yet satisfactory) fix seems to install guix itself in the profile:
  guix package -i guix
then to correctly add ~/.config/guix/current/.
It works for me.

Hope that help.


All the best,
simon

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-04 22:12 ` Benjamin Slade
  2019-01-05 13:05   ` zimoun
@ 2019-01-05 23:21   ` Alex Kost
  2019-01-05 23:49     ` Ricardo Wurmus
  1 sibling, 1 reply; 9+ messages in thread
From: Alex Kost @ 2019-01-05 23:21 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: help-guix

Benjamin Slade (2019-01-04 15:12 -0700) wrote:

> I love Emacs-Guix - thank you for this.
>
> Relatedly - I'm trying to debug an issue: so on my both pure GuixSD
> machine and on my Arch machine with standalone Guix binary installer,
> =guix-all-packages= shows me 9213 packages, but on my Void machine with
> standalone Guix binary installer, the same command only shows me around
> 900(!) packages. But on the same machine, the expected full range of
> Guix packages are available in the terminal via =guix package=. What
> could cause Emacs-Guix to only show a subset of packages in this one
> case?

zimoun answered correctly.  I think it is the same problem as several
people have on non-GuixSD system.  Most likely, it will not be fixed on
Emacs-Guix side.  The only workaround I know is "guix package -i guix".

-- 
Alex

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-05 23:21   ` Alex Kost
@ 2019-01-05 23:49     ` Ricardo Wurmus
  2019-01-06 15:55       ` Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2019-01-05 23:49 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-guix, Benjamin Slade


Hi Alex,

> zimoun answered correctly.  I think it is the same problem as several
> people have on non-GuixSD system.  Most likely, it will not be fixed on
> Emacs-Guix side.  The only workaround I know is "guix package -i guix".

Would it be feasible for Emacs-Guix to use
“~/.config/guix/current/bin/guix repl”, which would have the effect of
setting the load path as expected?

--
Ricardo

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-05 13:05   ` zimoun
@ 2019-01-06  4:48     ` Benjamin Slade
  2019-01-06  9:03       ` Ricardo Wurmus
  0 siblings, 1 reply; 9+ messages in thread
From: Benjamin Slade @ 2019-01-06  4:48 UTC (permalink / raw)
  To: zimoun; +Cc: Alex Kost, help-guix

Thanks all, doing `guix package -i guix` indeed solved this issue.



On 2019-01-05T06:05:20-0700, zimoun <zimon.toutoune@gmail.com> wrote:

 > Dear Benjamin,

 > If I understand well, it is the same issue than the one reported here:
 > https://github.com/alezost/guix.el/issues/28

 > Recently, Alex explained why in the second part of this message:
 > https://lists.gnu.org/archive/html/help-guix/2019-01/msg00020.html

 > One (not-yet satisfactory) fix seems to install guix itself in the profile:
 >   guix package -i guix
 > then to correctly add ~/.config/guix/current/.
 > It works for me.

 > Hope that help.


 > All the best,
 > simon


-- 
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-06  4:48     ` Benjamin Slade
@ 2019-01-06  9:03       ` Ricardo Wurmus
  0 siblings, 0 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2019-01-06  9:03 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: Alex Kost, help-guix


Benjamin Slade <beoram@gmail.com> writes:

> Thanks all, doing `guix package -i guix` indeed solved this issue.

This is generally not recommend, because you’ll end up with an older
Guix than the one you installed it with.  To ensure that the correct
Guix is used, please make sure that ~/.config/guix/current/bin appears
first in PATH.

-- 
Ricardo

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-05 23:49     ` Ricardo Wurmus
@ 2019-01-06 15:55       ` Alex Kost
  2019-01-08 22:33         ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Kost @ 2019-01-06 15:55 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Ricardo Wurmus (2019-01-06 00:49 +0100) wrote:

> Hi Alex,
>
>> zimoun answered correctly.  I think it is the same problem as several
>> people have on non-GuixSD system.  Most likely, it will not be fixed on
>> Emacs-Guix side.  The only workaround I know is "guix package -i guix".
>
> Would it be feasible for Emacs-Guix to use
> “~/.config/guix/current/bin/guix repl”, which would have the effect of
> setting the load path as expected?

Interesting idea!  But AFAICT it is impossible: Emacs-Guix needs to run
Geiser in one way or another, but if you try:

  (setq geiser-guile-binary '("guix" "repl"))
  "M-x geiser"

it will fail because geiser tries to run it with "-q" and "-L" (with a
directory with Geiser Guile modules).  Obviously these options are not
supported by "guix repl".  Above that, Emacs-Guix uses "--listen"
option.

So I'm afraid as long as "guix repl" options are incompatible with
"guile" ones, it can't be used by Emacs-Guix.

-- 
Alex

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

* Re: [ANN] Emacs-Guix 0.5.1
  2019-01-06 15:55       ` Alex Kost
@ 2019-01-08 22:33         ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2019-01-08 22:33 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-guix

Hi,

Alex Kost <alezost@gmail.com> skribis:

> Ricardo Wurmus (2019-01-06 00:49 +0100) wrote:
>
>> Hi Alex,
>>
>>> zimoun answered correctly.  I think it is the same problem as several
>>> people have on non-GuixSD system.  Most likely, it will not be fixed on
>>> Emacs-Guix side.  The only workaround I know is "guix package -i guix".
>>
>> Would it be feasible for Emacs-Guix to use
>> “~/.config/guix/current/bin/guix repl”, which would have the effect of
>> setting the load path as expected?
>
> Interesting idea!  But AFAICT it is impossible: Emacs-Guix needs to run
> Geiser in one way or another, but if you try:
>
>   (setq geiser-guile-binary '("guix" "repl"))
>   "M-x geiser"
>
> it will fail because geiser tries to run it with "-q" and "-L" (with a
> directory with Geiser Guile modules).  Obviously these options are not
> supported by "guix repl".  Above that, Emacs-Guix uses "--listen"
> option.

It would make sense to add these options to ‘guix repl’.

Ludo’.

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

end of thread, other threads:[~2019-01-08 22:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-23 20:15 [ANN] Emacs-Guix 0.5.1 Alex Kost
2019-01-04 22:12 ` Benjamin Slade
2019-01-05 13:05   ` zimoun
2019-01-06  4:48     ` Benjamin Slade
2019-01-06  9:03       ` Ricardo Wurmus
2019-01-05 23:21   ` Alex Kost
2019-01-05 23:49     ` Ricardo Wurmus
2019-01-06 15:55       ` Alex Kost
2019-01-08 22:33         ` Ludovic Courtès

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.