From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Any infrastructure to select one of a few options in Emacs core? Date: Sun, 22 May 2016 08:32:58 +0200 Organization: Aioe.org NNTP Server Message-ID: <86oa7yli05.fsf@student.uu.se> References: <87shxrczlt.fsf@mbork.pl> <86r3d55l24.fsf@student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464881949 22132 80.91.229.3 (2 Jun 2016 15:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:39:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 17:39:07 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b8Ui9-0001Bb-Gp for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:39:05 +0200 Original-Received: from localhost ([::1]:48083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Ui8-0001me-MD for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:39:04 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!news.unit0.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: EoOtCC1fCYcttx6jjhWUlA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:zpRwF2dtttOzBElZEyTnqmqg9tI= X-Notice: Filtered by postfilter v. 0.8.2 Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:217837 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110196 Archived-At: Marcin Borkowski 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 -