Recall a comand in history in ESS-5.1.11 and NTEmacs 20.4.

Paul Y. Peng ypeng at
Mon Jul 10 20:29:56 CEST 2000

"A.J. Rossini" wrote:
> >>>>> "PYP" == Paul Y Peng <ypeng at> writes:
>     PYP> I wonder how I can find the last command in history that
>     PYP> began with a particular sequence of characters in an S-PLUS
>     PYP> session (invoked by M-x Sqpe+4) in NTEmacs 20.4 on a Win98
>     PYP> PC. From ESS - Emacs Speaks Statistics, A-M-r should do this
>     PYP> job. But I don't know how to type A-M-r on my PC because Alt
>     PYP> is used for M on my PC. Currently I have to use M-r and
>     PYP> regular expression to do this job, which is not handy.
> Are you trying to re-enter it, or find it?  (there _is_ a
> difference).

What I want is exactly what is defined for A-M-r in ESS - Emacs Speaks
Statistics. That is, if I enter "attach(" at command-line and then
press some keys, I will get the last command in history which starts
with "attach(". Then I can edit it and press RETURN to execute it.

I remember I could do that a few years ago with S-mode on a Sun
Sparc machine, which had a special SUN keyboard.

ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list