From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Menu for command history? Date: Fri, 5 Aug 2011 09:00:18 -0700 Message-ID: <131A3ECBF93542589BB18234952A714A@us.oracle.com> References: <81hb5wth1l.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312560063 6948 80.91.229.12 (5 Aug 2011 16:01:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2011 16:01:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'suvayu ali'" , "'Oleksandr Gavenko'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 05 18:00:58 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QpMpT-0006f7-EE for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Aug 2011 18:00:55 +0200 Original-Received: from localhost ([::1]:43648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpMpR-0000Rc-Ld for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Aug 2011 12:00:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpMpL-0000NT-3b for help-gnu-emacs@gnu.org; Fri, 05 Aug 2011 12:00:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpMpD-0006js-3o for help-gnu-emacs@gnu.org; Fri, 05 Aug 2011 12:00:46 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:51006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpMpC-0006jX-P3 for help-gnu-emacs@gnu.org; Fri, 05 Aug 2011 12:00:38 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p75G0SaB018197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Aug 2011 16:00:29 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p75G0Qtl016343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Aug 2011 16:00:27 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p75G0LUS018925; Fri, 5 Aug 2011 11:00:21 -0500 Original-Received: from dradamslap1 (/10.159.51.236) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 05 Aug 2011 09:00:20 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcxTU598WU/OPwaWTOOCGB3yYjYAegAMt99w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4E3C139E.000A:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81896 Archived-At: > > I look for command input history, not for command history. > > What about using history completion? > previous-complete-history-element > next-complete-history-element > You can bind these to something for minibuffer-local-*-map And you can use buffer *Completions* like a menu, if candidate cycling is available. Your minibuffer input (what's currently in the minibuffer) filters the possible completions (i.e., filters the menu). Icicles lets you do this. * You can also refine the "menu" (candidates) progressively, combining multiple patterns (e.g., substrings, regexps). http://www.emacswiki.org/emacs/Icicles_-_Progressive_Completion * You can also choose multiple candidates (multiple-choice menu). http://www.emacswiki.org/emacs/Icicles_-_Multiple-Choice_Menus * You can also, during any minibuffer input (not just with completion), hit `M-o' to complete against the current minibuffer history, inserting the choice into the minibuffer. http://www.emacswiki.org/emacs/Icicles_-_History_Enhancements#toc4