all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] emacs: Improve interface for working with multiple profiles.
Date: Fri, 17 Oct 2014 21:29:28 +0200	[thread overview]
Message-ID: <87a94u336v.fsf@gnu.org> (raw)
In-Reply-To: <87vbnisfh0.fsf@gmail.com> (Alex Kost's message of "Fri, 17 Oct 2014 22:44:59 +0400")

Alex Kost <alezost@gmail.com> 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 ‘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?

> 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.
           ^                    ^^^^^^^
“all the generations”

For all these commands, it may be better to omit “current”, because it’s
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: “List the @var{N} last generations of the profile.”
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’s clear which profile we’re 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’.

  reply	other threads:[~2014-10-17 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 18:44 [PATCH] emacs: Improve interface for working with multiple profiles Alex Kost
2014-10-17 19:29 ` Ludovic Courtès [this message]
2014-10-17 21:18   ` Alex Kost
2014-10-17 21:34     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a94u336v.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.