It's impossible to mark "--list-generations" for guix shell commands

  • Done
  • quality assurance status badge
Details
3 participants
  • Alex Kost
  • ksg
  • zimoun
Owner
unassigned
Submitted by
ksg
Severity
normal
K
(address . bug-guix@gnu.org)
9f281144-427b-ae59-c3dc-262a862fa5cb@chol.com
Using emacs,
when I do,

M-x guix RET, under "Sub-popups" hit "c" (guix shell commands)

I can't mark "-l, --list-profiles",
because when I hit "-l",
'Switches' buffer automatically mark "-l, --list-generations".

The buffer showes the switches redundantly like below


Switches
 -l list generations (--list-generations) <-- "-l"
    ...
 -l list the user's profiles (--list-profiles) <-- "-l"


Both "--list-generations" and "--list-profiles" have the same short-form
"-l".

I use emacs 26.3, guile 3.02, guix-20200518.1544 (from melpa)
Z
Z
zimoun wrote on 1 Jun 2020 17:46
(name . ksg)(address . amoona@chol.com)(address . 41614@debbugs.gnu.org)
CAJ3okZ1Joixt9=eTThccbBO5kJD2EJ0+0XAKa7EvU+UFRb804w@mail.gmail.com
Dear,

On Sat, 30 May 2020 at 16:46, ksg <amoona@chol.com> wrote:

Toggle quote (3 lines)
> Both "--list-generations" and "--list-profiles" have the same short-form
> "-l".

Thank you for the report. It has been reported upstream here [1].



All the best,
simon
A
A
Alex Kost wrote on 15 Jun 2020 19:15
(name . ksg)(address . amoona@chol.com)(address . 41614-done@debbugs.gnu.org)
878sgoxnbo.fsf@gmail.com
ksg (2020-05-30 22:28 +0900) wrote:

Hello,

Toggle quote (9 lines)
> Using emacs,
> when I do,
>
> M-x guix RET, under "Sub-popups" hit "c" (guix shell commands)
>
> I can't mark "-l, --list-profiles",
> because when I hit "-l",
> 'Switches' buffer automatically mark "-l, --list-generations".

BTW, you can also use "M-x guix-profiles" to see a list of profiles (and
press "h" there for a hint).

Toggle quote (11 lines)
> The buffer showes the switches redundantly like below
>
> Switches
>  -l list generations (--list-generations) <-- "-l"
>     ...
>  -l list the user's profiles (--list-profiles) <-- "-l"
>
>
> Both "--list-generations" and "--list-profiles" have the same short-form
> "-l".

Toggle quote (2 lines)
> I use emacs 26.3, guile 3.02, guix-20200518.1544 (from melpa)

Since you use melpa, I think you can upgrade Emacs-Guix from melpa to
check if the change works.

--
Alex
Closed
?