From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] emacs: Improve interface for working with multiple profiles. Date: Fri, 17 Oct 2014 23:34:40 +0200 Message-ID: <87r3y61itr.fsf@gnu.org> References: <87vbnisfh0.fsf@gmail.com> <87a94u336v.fsf@gnu.org> <87r3y6s8dx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfFAY-0002Rx-W4 for guix-devel@gnu.org; Fri, 17 Oct 2014 17:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfFAP-0000gM-Ds for guix-devel@gnu.org; Fri, 17 Oct 2014 17:34:42 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:34406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfFAP-0000gG-6p for guix-devel@gnu.org; Fri, 17 Oct 2014 17:34:33 -0400 In-Reply-To: <87r3y6s8dx.fsf@gmail.com> (Alex Kost's message of "Sat, 18 Oct 2014 01:18:02 +0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2014-10-17 23:29 +0400) wrote: > >> Alex Kost skribis: > > [...] > >> What about renaming =E2=80=98guix-set-current-profile=E2=80=99 to >> =E2=80=98guix-set-default-profile=E2=80=99? Because now, what it does i= s just to define >> the profile that is used when C-u isn=E2=80=99t 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 =E2=80=9Cfixed=E2=80=9D; > > - 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=E2=80=99s keep it as =E2=80=98guix-set-current-profile=E2=80=99 the= n. > Hawk eye :-) Heheh. :-) OK to commit with those little changes! Ludo=E2=80=99.