unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Guix completion in Emacs
@ 2020-06-14 21:36 Kyle Andrews
  2020-06-14 22:00 ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle Andrews @ 2020-06-14 21:36 UTC (permalink / raw)
  To: help-guix


Hello Everyone,

I am unable to conditional tab completion of Guix commands when in
shell-mode or eshell-mode in Emacs. In other words, I can tab-complete
the major modules e.g. ~guix package~, but cannot tab complete
~--arguments~ to them. When I try I see an error:

  guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1669:16: In procedure raise-exception:
  error: help-string: unbound variable

Certainly this stuff isn't broken for everyone, is it?


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

* Re: Guix completion in Emacs
  2020-06-14 21:36 Guix completion in Emacs Kyle Andrews
@ 2020-06-14 22:00 ` Ricardo Wurmus
  2020-06-14 22:46   ` Fredrik Salomonsson
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2020-06-14 22:00 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: help-guix


Hi Kyle,

> I am unable to conditional tab completion of Guix commands when in
> shell-mode or eshell-mode in Emacs. In other words, I can tab-complete
> the major modules e.g. ~guix package~, but cannot tab complete
> ~--arguments~ to them. When I try I see an error:
>
>   guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>   error: help-string: unbound variable
>
> Certainly this stuff isn't broken for everyone, is it?

This works for me.

$ guix describe
Generation 47	6月 05 2020 23:22:46	(current)
  guix ecab53c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ecab53c320b1584a08f811b17a92bd9a50a50ff3

$ readlink -f $(which emacs)
/gnu/store/vx8fzbwb4cw8dlh760y2336sd2pw0kvy-emacs-26.3/bin/emacs

-- 
Ricardo


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

* Re: Guix completion in Emacs
  2020-06-14 22:00 ` Ricardo Wurmus
@ 2020-06-14 22:46   ` Fredrik Salomonsson
  2020-06-15  6:46     ` Pierre Neidhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Fredrik Salomonsson @ 2020-06-14 22:46 UTC (permalink / raw)
  To: Ricardo Wurmus, Kyle Andrews; +Cc: help-guix


Hi,

Ricardo Wurmus <rekado@elephly.net> writes:

> This works for me.
>
> $ guix describe
> Generation 47	6月 05 2020 23:22:46	(current)
>   guix ecab53c
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: ecab53c320b1584a08f811b17a92bd9a50a50ff3
>
> $ readlink -f $(which emacs)
> /gnu/store/vx8fzbwb4cw8dlh760y2336sd2pw0kvy-emacs-26.3/bin/emacs

I'm getting the same error. On a foreign distro with emacs-next.

$ guix describe
Generation 7	jun 12 2020 17:14:42	(current)
  guix 9ae4bd0
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9ae4bd0b77db21d3e352560511d974bcc15df5db
$ readlink -f $(which emacs)
/gnu/store/8z8wnqjy9frxpvpg7jzlj5v77yy20fhn-emacs-next-27.0.91-0.c36c5a3/bin/emacs

-- 
s/Fred[re]+i[ck]+/Fredrik/g


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

* Re: Guix completion in Emacs
  2020-06-14 22:46   ` Fredrik Salomonsson
@ 2020-06-15  6:46     ` Pierre Neidhardt
  2020-07-05 19:48       ` Kyle Andrews
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2020-06-15  6:46 UTC (permalink / raw)
  To: Fredrik Salomonsson, Ricardo Wurmus, Kyle Andrews; +Cc: help-guix

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

It works on and off for me, sometimes with the same error.
I haven't figured out yet how to reproduce this issue reliably.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: Guix completion in Emacs
  2020-06-15  6:46     ` Pierre Neidhardt
@ 2020-07-05 19:48       ` Kyle Andrews
  2020-07-06  7:40         ` Pierre Neidhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle Andrews @ 2020-07-05 19:48 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix


Pierre Neidhardt writes:

> It works on and off for me, sometimes with the same error.
> I haven't figured out yet how to reproduce this issue reliably.

Part of the reason it may have been breaking for me was that I was
placing an additional git checkout of guix on my guile %load-path. I
don't remember why I thought I might need to do that.


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

* Re: Guix completion in Emacs
  2020-07-05 19:48       ` Kyle Andrews
@ 2020-07-06  7:40         ` Pierre Neidhardt
  0 siblings, 0 replies; 6+ messages in thread
From: Pierre Neidhardt @ 2020-07-06  7:40 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: help-guix

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

Kyle Andrews <kyle.c.andrews@gmail.com> writes:

> Part of the reason it may have been breaking for me was that I was
> placing an additional git checkout of guix on my guile %load-path. I
> don't remember why I thought I might need to do that.

If you want to hack Guix from Geiser, you need to add the checkout to
your %load-path.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2020-07-06  7:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-14 21:36 Guix completion in Emacs Kyle Andrews
2020-06-14 22:00 ` Ricardo Wurmus
2020-06-14 22:46   ` Fredrik Salomonsson
2020-06-15  6:46     ` Pierre Neidhardt
2020-07-05 19:48       ` Kyle Andrews
2020-07-06  7:40         ` Pierre Neidhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).