[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] emacs: Add shell completions for "guix" command.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 2/2] emacs: Add shell completions for "guix" command. |
Date: |
Sun, 07 Jun 2015 21:38:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> I wonder if ‘guix-pcomplete-run-guix’ couldn’t run the command in a REPL
> instead of spawning a process. That is, when completing ‘guix build’,
> it would evaluate something like:
>
> (with-output-to-string
> (lambda ()
> (catch 'quit
> (lambda ()
> ((@ (guix scripts build) guix-build) "--help"))
> (const #t))))
Another possibility would be to inspect the ‘%options’ variable of the
command, but that wouldn’t give access to the help message.
Ludo’.
- [PATCH 2/2] emacs: Add shell completions for "guix" command., Alex Kost, 2015/06/06
- Re: [PATCH 2/2] emacs: Add shell completions for "guix" command., Ludovic Courtès, 2015/06/07
- Re: [PATCH 2/2] emacs: Add shell completions for "guix" command.,
Ludovic Courtès <=
- Re: [PATCH 2/2] emacs: Add shell completions for "guix" command., Alex Kost, 2015/06/08
- Re: [PATCH 2/2] emacs: Add shell completions for "guix" command., Ludovic Courtès, 2015/06/08
- Complete './pre-inst-env guix ...', Alex Kost, 2015/06/10
- Re: Complete './pre-inst-env guix ...', Ludovic Courtès, 2015/06/10
- Re: Complete './pre-inst-env guix ...', Alex Kost, 2015/06/11
- Re: Complete './pre-inst-env guix ...', Ludovic Courtès, 2015/06/14
- Re: Complete './pre-inst-env guix ...', Alex Kost, 2015/06/15
- Re: Complete './pre-inst-env guix ...', Ludovic Courtès, 2015/06/15
- Re: Complete './pre-inst-env guix ...', Alex Kost, 2015/06/16