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 21:29:28 +0200 Message-ID: <87a94u336v.fsf@gnu.org> References: <87vbnisfh0.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]:51964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfDDO-0004U4-FP for guix-devel@gnu.org; Fri, 17 Oct 2014 15:29:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfDDF-0003h2-AD for guix-devel@gnu.org; Fri, 17 Oct 2014 15:29:30 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:34367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfDDF-0003gd-35 for guix-devel@gnu.org; Fri, 17 Oct 2014 15:29:21 -0400 In-Reply-To: <87vbnisfh0.fsf@gmail.com> (Alex Kost's message of "Fri, 17 Oct 2014 22:44:59 +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: > The main changes are: > > - Now default buffer names look like this: > > *Guix Package List: guix-profile* > *Guix Package Info: test4* > > i.e., a buffer name contains a name of a profile used by this buffer. Neat! > - All commands for displaying generations and packages now can be called > with "C-u". This allows to select a profile just for this command. > (The current profile can be changed with > "M-x guix-set-current-profile"). Wonderful! :-) 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 is j= ust to define the profile that is used when C-u isn=E2=80=99t used, right? > Also as prefix argument was previously used in "M-x guix-generations" to > select last N generations, I added a new command "M-x > guix-last-generations". OK. > @item M-x guix-generations > -List generations for the current profile. With numeric prefix, show so > -many last generations. > +List all generations for the current profile. ^ ^^^^^^^ =E2=80=9Call the generations=E2=80=9D For all these commands, it may be better to omit =E2=80=9Ccurrent=E2=80=9D,= because it=E2=80=99s not necessary the current/default profile that is used. > +@item M-x guix-last-generations > +List last generations for the current profile. You will be prompted for > +the number of generations. Maybe: =E2=80=9CList the @var{N} last generations of the profile.=E2=80=9D Also, double space after period. > -By default commands for displaying packages display each output on a > +All these commands use current profile, which can be changed with > +@kbd{M-x@tie{}guix-set-current-profile}. Also if you call any of these > +commands with prefix argument (@kbd{C-u}), you will be prompted for a > +profile just for that command. s/current/default/ ? I wonder if it might be better to move this paragraph above the first command, so it=E2=80=99s clear which profile we=E2=80=99re talking about. > -For example if you want to display all types of results in a single > +By default, the name of a profile is also displayed in a ``list'' or > +''info'' buffer name. To change this behavior, use ^^ backquotes Nothing else to add. Thanks for being so productive! Ludo=E2=80=99.