unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emulate readline
@ 2011-04-06 17:04 fork
  2011-04-06 18:01 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: fork @ 2011-04-06 17:04 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a way to get the behavior of this (super cool) 
readline behavior in the minibuffer?  

In my .inputrc I have this:

"\e[A": history-search-backward
"\e[B": history-search-forward
"\eOA": history-search-backward
"\eOB": history-search-forward

So in bash I can type "ps", hit the up-arrow, and get the most recent
 command that started with these two letters (e.g. "psql -D foobar").  
The next time I hit up-arrow, I get "psql -U fork -D forksdb", etc.

I would like to type M-x in emacs, then cycle through previous
 commands like this.

Any help is appreciated!  Thanks!




^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-04-07 16:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1.1302109600.30021.help-gnu-emacs@gnu.org>
2011-04-06 17:52 ` emulate readline despen
2011-04-06 19:01   ` fork
2011-04-07  4:45     ` Kevin Rodgers
2011-04-06 19:06   ` Richard Riley
2011-04-06 17:04 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
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

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).