[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] emacs: Use "r" key for 'cran' action in 'import' popup.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] emacs: Use "r" key for 'cran' action in 'import' popup. |
Date: |
Wed, 02 Sep 2015 22:22:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> skribis:
> Ludovic Courtès (2015-09-02 16:10 +0300) wrote:
>
>> Alex Kost <address@hidden> skribis:
>>
>>> From 1cc6871abf3d53ad5702fde5570df8a61a945010 Mon Sep 17 00:00:00 2001
>>> From: Alex Kost <address@hidden>
>>> 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?
Yes, you’re right. Doing things automatically would have the advantage
of not missing collisions, but doing it sensibly may prove to be hard,
as you note.
Ludo’.