* [PATCH] emacs: Disambiguate "d" key in 'system' popup.
@ 2015-10-15 19:47 Alex Kost
2015-10-16 8:16 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Alex Kost @ 2015-10-15 19:47 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
Currently in "M-x guix RET system" there are 2 "d" keys: for 'dmd-graph'
and for 'disk-image'. I think since there is already a capital "V" for
'vm-image', it's OK to use a capital "D" for 'disk-image'. WDYT?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-emacs-Disambiguate-d-key-in-system-popup.patch --]
[-- Type: text/x-patch, Size: 884 bytes --]
From 650798af68b55e7c763118d16ea6a03cbbbc04cc Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Thu, 15 Oct 2015 21:09:33 +0300
Subject: [PATCH] emacs: Disambiguate "d" key in 'system' popup.
* emacs/guix-command.el (guix-command-improve-system-argument): Use "D"
key for 'disk-image' action (leave "d" for 'dmd-graph').
---
emacs/guix-command.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emacs/guix-command.el b/emacs/guix-command.el
index b679ad9..3ae7791 100644
--- a/emacs/guix-command.el
+++ b/emacs/guix-command.el
@@ -249,7 +249,8 @@ to be modified."
(guix-command-define-argument-improver
guix-command-improve-system-argument
- '(("vm-image" :char ?V)
+ '(("disk-image" :char ?D)
+ ("vm-image" :char ?V)
("--on-error" :char ?E)
("--no-grub" :char ?g)
("--full-boot" :char ?b)))
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] emacs: Disambiguate "d" key in 'system' popup.
2015-10-15 19:47 [PATCH] emacs: Disambiguate "d" key in 'system' popup Alex Kost
@ 2015-10-16 8:16 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-10-16 8:16 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel
Alex Kost <alezost@gmail.com> skribis:
> Currently in "M-x guix RET system" there are 2 "d" keys: for 'dmd-graph'
> and for 'disk-image'. I think since there is already a capital "V" for
> 'vm-image', it's OK to use a capital "D" for 'disk-image'. WDYT?
Yes, sounds good!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-16 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15 19:47 [PATCH] emacs: Disambiguate "d" key in 'system' popup Alex Kost
2015-10-16 8:16 ` Ludovic Courtès
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.