Re: emulate readline

From:

fork

Subject:

Re: emulate readline

Date:

Wed, 6 Apr 2011 19:44:57 +0000 (UTC)

User-agent:

Loom/3.14 (http://gmane.org/)

Peter Dyballa <Peter_Dyballa <at> Web.DE> writes:
>
> C-x ESC ESC invokes the function repeat-complex-command. This works
> outside of a terminal in GNU Emacs. It does not rewind a shell command
> once invoked in a *shell* buffer or something similar.
Thats cool, but not what I want.
> > insdid my M-x (and when I open files too).
>
> What is your "M-x"?
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 into the minibuffer, with each press of
my up-arrow key. I don't know how to be any more specific or clearer. This
behavior is possible at the bash shell prompt when you configure inputrc
correctly, but I want it within emacs when I am cycling through arbitrary
commands after typing M-x.
If you haven't done this in a shell, you probably dont have any idea what I am
talking about, but I am not sure how to be any more explicit -- I give an
example in my first email.
>Has it a documented name one can find and look up
> in the GNU Emacs documentation? (Then use it and not any slang one or
> two people might be using when together.)
If I knew, I would happily, but I don't.
> And what are your
> parentheses standing for?
They are just parantheses, not a command (like this).