[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: xemacs to emacs, missing shell mode feature
From: |
Drew Adams |
Subject: |
RE: xemacs to emacs, missing shell mode feature |
Date: |
Mon, 30 Apr 2007 09:48:28 -0700 |
>> pull up the previous command that starts with that prefix....
>> Does emacs have a similar feature?
>
> shell-mode M-r, which is comint-previous-matching-input.
> Sometimes I repeat the command ...
Icicles provides two ways to reuse previous shell commands that match some
pattern (possibly editing them). In comint mode and derived modes such as
shell mode and inferior Lisp mode:
C-TAB - Complete your input (possibly a regexp) against
'comint-input-ring', which can include shell commands you
issued in previous sessions. Cycle among matches.
C-` - Complete your input (possibly a regexp) against previous
shell input visible in the buffer. Cycle among matches.
This is a search command, and it lets you use secondary
patterns to refine matching. If the region is active,
only it is searched.
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Other_Search_Commands#Icicle
sShell