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: emulate readline Date: Wed, 6 Apr 2011 13:45:51 -0700 Message-ID: <82EEA7D2D08F4321B35B03E8F98F374E@us.oracle.com> References: <04D2F220-C906-4AE8-B7C1-1ADE8E8E7632@Web.DE> 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 1302124384 11743 80.91.229.12 (6 Apr 2011 21:13:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 21:13:04 +0000 (UTC) To: "'fork'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 06 23:13:00 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7a27-0005Ko-5D for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Apr 2011 23:12:59 +0200 Original-Received: from localhost ([127.0.0.1]:37877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7a26-0002Dy-4o for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Apr 2011 17:12:58 -0400 Original-Received: from [140.186.70.92] (port=49084 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7Zdl-0003gN-Q3 for help-gnu-emacs@gnu.org; Wed, 06 Apr 2011 16:47:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7Zbv-0002hJ-Sa for help-gnu-emacs@gnu.org; Wed, 06 Apr 2011 16:45:56 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:59839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7Zbv-0002h3-Na for help-gnu-emacs@gnu.org; Wed, 06 Apr 2011 16:45:55 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p36KjoZl016973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Apr 2011 20:45:52 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p36KjoPi019965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Apr 2011 20:45:50 GMT Original-Received: from abhmt010.oracle.com (abhmt010.oracle.com [141.146.116.19]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p36KjnFx004371; Wed, 6 Apr 2011 15:45:49 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 06 Apr 2011 13:45:49 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: Acv0kyp2vXeyN4ATSwaV69VBG/sFggABXLIw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4D9CD0FE.017E:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 148.87.113.121 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80643 Archived-At: > I want to be able to replay all the commands I have typed in, > subsetted by their initial string which I have so far typed Others have given you some info about what comes closest in vanilla Emacs to what you requested. In Icicles: 1. `M-h' matches what you've typed so far in the minibuffer against the history elements. You can complete to them or cycle among them. 2. `M-pause' filters the current set of matching candidates to ones you've used previously. Again, you can then complete against or cycle among those. 3. You can use `M-o' at any time (not just during completion) to insert an entry from the current history into the minibuffer. Again, you can complete against or cycle among the candidates. The difference between #1 and #2 is that #2 narrows the current set of candidates and #1 matches directly against all history elements. In all cases, for completion you can match using a prefix, a substring, or a regexp - au choix. You can use the up/down arrows to cycle among the current matches. There are additional history enhancements. All are described here: http://www.emacswiki.org/emacs/Icicles_-_History_Enhancements