help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any infrastructure to select one of a few options in Emacs core?


From: Emanuel Berg
Subject: Re: Any infrastructure to select one of a few options in Emacs core?
Date: Sun, 22 May 2016 08:32:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Marcin Borkowski <address@hidden> writes:

>> Check out my 'buc' module! (I don't remember
>> why I called it that.) It is actually
>> brilliant. You have a bunch of options: A,
>> B, ... N. Then you have keys on your
>> keyboard: RET, SPC, TAB, DEL, that are close
>> and fast and singular. So there is an
>> association between the options, and the
>> keys! But the genius of it is, if you don't
>> care for any of the options displayed and
>> shortcutted, just type! Any other char will
>> take away the whole "buc prompt" and instead
>> appear as the first char in the input
>> string, i.e., an arbitrary string is still
>> inputable! Also, I added a function so that
>> it works like a cache, with the most
>> recently selected option always being the
>> leftmost (RET), and then sorted rightways...
>> It is an open question if this really is
>> beneficial - it can be frustrating as well,
>> if the keys keep moving around! It should at
>> least be disableable.
>
> Do I get it correctly that you have
> reinvented hydra? (Or the other way
> round;-).)

If it does the same thing, perhaps I should
rebrand mine "Chimera and the Gorgons"?

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 39 Blogomatic articles -                   


reply via email to

[Prev in Thread] Current Thread [Next in Thread]