From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] emacs: Use "r" key for 'cran' action in 'import' popup. Date: Wed, 02 Sep 2015 20:45:51 +0300 Message-ID: <87613szpdc.fsf@gmail.com> References: <87si6y7898.fsf@gmail.com> <87twrd7yrp.fsf@gnu.org> 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]:54540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXC6Z-0001F8-2n for guix-devel@gnu.org; Wed, 02 Sep 2015 13:45:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXC6U-0007f9-LB for guix-devel@gnu.org; Wed, 02 Sep 2015 13:45:49 -0400 In-Reply-To: <87twrd7yrp.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 02 Sep 2015 15:10:18 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2015-09-02 16:10 +0300) wrote: > Alex Kost skribis: > >> From 1cc6871abf3d53ad5702fde5570df8a61a945010 Mon Sep 17 00:00:00 2001 >> From: Alex Kost >> Date: Tue, 1 Sep 2015 13:10:41 +0300 >> Subject: [PATCH] emacs: Use "r" key for 'cran' action in 'import' popup. >> >> * emacs/guix-command.el (guix-command-improve-import-argument): New >> variable and function. >> (guix-command-argument-improvers): Add it. > > Definitely. > > Should there be some sort of automatic disambiguation mechanism? Automatic? I think it should be defined by a human what key to assign. How can it be automatically decided what key should be used for "cpan" and what for "cran"? Currently the key is just defined by the first letter and I think it is the maximal automatization that should be done. If it's not enough, than we should solve disambiguation manually, don't you agree? Besides pressing these keys is not the only way to perform an action: they are just buttons so you can use TAB + RET (or even mouse). --=20 Alex