unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: "M-x guix" - magit-like interface for guix commands
Date: Fri, 28 Aug 2015 23:08:13 +0300	[thread overview]
Message-ID: <877fof41n6.fsf@gmail.com> (raw)
In-Reply-To: <871tenu51t.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 28 Aug 2015 11:37:50 +0200")

Ludovic Courtès (2015-08-28 12:37 +0300) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>> Ludovic Courtès (2015-08-26 00:14 +0300) wrote:
>>
>>> Alex Kost <alezost@gmail.com> skribis:
>>>
>>>> Hello, I've pushed 'wip-emacs-popup-ui' branch with emacs magit-like
>>>> (popup) interface for guix commands.
>>>
>>> BTW I’ve quickly looked at the commits and don’t have any comments.
>>> Feel free to merge to master when you deem appropriate.
>>
>> Ouch, sounds like a carte-blanche.
>
> Of course, you’re effectively the maintainer of that part.

OK, but I also made some changes outside "emacs" dir:

- I exported stuff from (guix scripts lint) and (guix scripts graph):
  so that when a user choose "--checkers" option for 'guix lint' or
  "--type" option for 'guix graph', they can be completed while prompted
  in minibuffer.

- I moved emacs info node from "Package Management" to "Top" because it
  is not just about package management anymore (as there are
  "guix-prettify" and shell completions, and now there is also popup
  interface for all guix commands).

- And finally I moved a part of code from 'guix-main' to a new
  'run-guix' procedure (in (guix ui) module).

As for the emacs part: many long options don't have short analogs, so I
chose keys (for popup windows) that seem appropriate for me, but they
may not be good defaults for others.  The same thing with guix commands.
For example, I chose "p" for "package", "P" for "pull" and "u" for
"publish"; or "s" for "system" and "z" for "size", etc.  But maybe it is
OK for now, and may be fixed later, if people will complain about
strange popup keys, WDYT?

Also perhaps there are too many auxiliary commits (add this, add that),
not sure if it's acceptable.

>> IMO this feature is ready, at least I've been successfully using it for
>> a couple of weeks.  But I think that we should have a new Magit2 package
>> at first.  So I'm going to add this feature to master after pushing the
>> following patches if you don't mind:
>>
>> http://lists.gnu.org/archive/html/guix-devel/2015-08/msg00571.html
>> http://lists.gnu.org/archive/html/guix-devel/2015-08/msg00383.html
>> http://lists.gnu.org/archive/html/guix-devel/2015-08/msg00433.html
>
> So I guess you can now go ahead.

Yes, I think so.  I have rebased "wip-emacs-popup-ui" branch on master
and made some final tweaks.  So this is the last warning! :-) If you
still don't have comments/notes, I'm ready to push these commits.

-- 
Alex

  reply	other threads:[~2015-08-28 20:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14  8:19 "M-x guix" - magit-like interface for guix commands Alex Kost
2015-08-14 14:40 ` Thompson, David
2015-08-15 15:29   ` Alex Kost
2015-08-25 21:12     ` Ludovic Courtès
2015-08-26 11:35       ` Alex Kost
2015-08-25 21:14 ` Ludovic Courtès
2015-08-26 11:05   ` Alex Kost
2015-08-28  9:37     ` Ludovic Courtès
2015-08-28 20:08       ` Alex Kost [this message]
2015-08-29 16:01         ` Ludovic Courtès
2015-08-30  9:35           ` Alex Kost
2015-08-30 11:48             ` Ludovic Courtès
2015-08-30 15:28               ` Alex Kost

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=877fof41n6.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).