From: "Drew Adams" <drew.adams@oracle.com>
To: "'fork'" <forkandwait@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: emulate readline
Date: Wed, 6 Apr 2011 13:45:51 -0700 [thread overview]
Message-ID: <82EEA7D2D08F4321B35B03E8F98F374E@us.oracle.com> (raw)
In-Reply-To: <loom.20110406T213845-726@post.gmane.org>
> 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
next prev parent reply other threads:[~2011-04-06 20:45 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 17:04 emulate readline fork
2011-04-06 18:01 ` Eli Zaretskii
2011-04-06 18:53 ` fork
[not found] ` <mailman.11.1302116146.29474.help-gnu-emacs@gnu.org>
2011-04-06 19:14 ` despen
2011-04-06 19:59 ` fork
[not found] ` <mailman.19.1302119959.29474.help-gnu-emacs@gnu.org>
2011-04-06 23:44 ` despen
2011-04-07 16:44 ` fork
2011-04-06 19:19 ` Peter Dyballa
2011-04-06 19:23 ` fork
2011-04-06 19:36 ` Peter Dyballa
2011-04-06 19:44 ` fork
2011-04-06 20:21 ` Peter Dyballa
2011-04-06 20:29 ` fork
2011-04-06 20:45 ` Drew Adams [this message]
2011-04-06 21:23 ` fork
2011-04-07 1:48 ` Le Wang
2011-04-07 15:09 ` fork
[not found] ` <mailman.0.1302140940.25667.help-gnu-emacs@gnu.org>
2011-04-07 10:32 ` Richard Riley
[not found] <mailman.1.1302109600.30021.help-gnu-emacs@gnu.org>
2011-04-06 17:52 ` despen
2011-04-06 19:01 ` fork
2011-04-07 4:45 ` Kevin Rodgers
2011-04-06 19:06 ` Richard Riley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82EEA7D2D08F4321B35B03E8F98F374E@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=forkandwait@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).