[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] emacs: Improve interface for working with multiple profiles.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] emacs: Improve interface for working with multiple profiles. |
Date: |
Fri, 17 Oct 2014 23:34:40 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Alex Kost <address@hidden> skribis:
> Ludovic Courtès (2014-10-17 23:29 +0400) wrote:
>
>> Alex Kost <address@hidden> skribis:
>
> [...]
>
>> What about renaming ‘guix-set-current-profile’ to
>> ‘guix-set-default-profile’? Because now, what it does is just to define
>> the profile that is used when C-u isn’t used, right?
>
> Right, but I think it shouldn't be renamed as "default profile" and
> "current profile" have different meanings there:
>
> - default profile is "/var/guix/profiles/per-user/user/guix-profile" (or
> whatever) and it is “fixed”;
>
> - current profile is used by commands (as you pointed) and it may be
> changed.
>
> For example, a user decides to look at generations and installed
> packages of some profile. So he may "M-x guix-set-current-profile ...",
> then "M-x guix-generations" and "M-x guix-installed-packages". After
> that he could switch to another profile or to a default profile using
> "C-u M-x guix-set-current-profile".
>
> (there are even 2 variables: guix-default-profile and
> guix-current-profile)
OK, let’s keep it as ‘guix-set-current-profile’ then.
> Hawk eye :-)
Heheh. :-)
OK to commit with those little changes!
Ludo’.