[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xemacs to emacs, missing shell mode feature
From: |
Neal Becker |
Subject: |
Re: xemacs to emacs, missing shell mode feature |
Date: |
Mon, 30 Apr 2007 12:35:03 -0400 |
User-agent: |
KNode/0.10.4 |
Livin Stephen Sharma wrote:
> I just tried these sample input commands, and then tried to search
> for these.
>> echo
>> ls
>> date
>> who
>> env
>> info ls
>
> here's what I find at the end of the above sequence of commands:
> 1. hitting M-R takes me to a regex-search prompt for previous i/p
> 2a. now if I enter 'l' <Enter>,
> 2b. the unix command prompt is 'ready' with "info ls",
> 3a. repeating 2a,
> 3b. the unix command prompt is 'ready' with "ls".
>
> (did the backwards search for 'l' since the two instances - 'ls' and
> 'info ls' are separated by non-matching commands. works for me?)
> --livin.stephen
>
>
> On 30-Apr-07, at 21:31 , help-gnu-emacs-request@gnu.org wrote:
>
>> Subject: xemacs to emacs, missing shell mode feature
>>
>>
>> I'm used to typing the start of a previous command, then M-p to
>> pull up the
>> previous command that starts with that prefix. I know emacs shell
>> mode
>> has !command[tab], but that only finds 1 match. With the xemacs
>> feature, I
>> hit M-p to show the 1st previous match, if that's not the one I
>> want I just
>> hit M-p again, etc. Does emacs have a similar feature?
I tried the M-r. A bit more tedious, but I guess it works.