[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Complete './pre-inst-env guix ...'
From: |
Ludovic Courtès |
Subject: |
Re: Complete './pre-inst-env guix ...' |
Date: |
Mon, 15 Jun 2015 22:16:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> skribis:
> So (analogously to 'pcomplete/sudo') the following function may be used
> to complete "pre-inst-env" properly:
>
> (defun pcomplete/pre-inst-env ()
> (pcmpl-args-pcomplete
> (pcmpl-args-make-argspecs
> `((argument 0 (("COMMAND" nil))
> :subparser pcmpl-args-command-subparser)))))
Indeed, that works like a charm, thanks!
Now, the fact that ‘pre-inst-env’ is not mentioned in this function is
puzzling. It doesn’t take the function name into account, does it?
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, 2015/06/07
- 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 <=
- Re: Complete './pre-inst-env guix ...', Alex Kost, 2015/06/16