unofficial mirror of help-guix@gnu.org 
 help / color / Atom feed
* Guix completion in Emacs
@ 2020-06-14 21:36 Kyle Andrews
  2020-06-14 22:00 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread

* Re: Guix completion in Emacs
  2020-06-14 22:46   ` Fredrik Salomonsson
@ 2020-06-15  6:46     ` Pierre Neidhardt
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ 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

unofficial mirror of help-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git