guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] emacs: Add shell completions for "guix" command.


From: Alex Kost
Subject: [PATCH 2/2] emacs: Add shell completions for "guix" command.
Date: Sat, 06 Jun 2015 23:44:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Oof!  There is a plenty of guix commands, actions, options, …
So after this patch, it would be more convenient to use ‘guix’ in
"M-x shell".

It should complete almost everything except suboptions of subcommands, I
mean those ‘import’ modules (e.g., it will not complete
‘--no-test-dependencies’ option for ‘guix import hackage’ command).

Completing may lag a bit from time to time.  It happens because shell
commands (like ‘guix ... --help’) are called when necessary to find
options, packages, etc.  But the found entries are "memoized" so next
time the same entries will be completed much faster.

Many thanks to Ludovic for the great idea of this package!

Attachment: 0002-emacs-Add-shell-completions-for-guix-command.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]