unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* editing previous command in the *shell* buffer
@ 2015-04-27 23:06 cplum987
  2015-04-28 14:18 ` Doug Lewan
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: cplum987 @ 2015-04-27 23:06 UTC (permalink / raw)
  To: help-gnu-emacs

How can I do one or both of the following:

(1) Find a previous command in the *shell* buffer via search C-s, and have pressing enter insert the command as the current command, but without execution. This would allow me to edit the command before executing it, but not have to modify the command as it previously exists in the *shell* buffer.

(2) type the first part of the command, and have M-p search for the previous occurrence of the command that starts with the same pattern I've typed in. This is an xemacs feature I sorely miss.  C-s just isn't the same. If often finds all sorts of other cruft you have to skip over.
thanks,

thanks,

Chris


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

end of thread, other threads:[~2015-04-29 20:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 23:06 editing previous command in the *shell* buffer cplum987
2015-04-28 14:18 ` Doug Lewan
2015-04-28 17:10 ` HASM
2015-04-28 19:39   ` cplum987
2015-04-28 21:29     ` Barry Margolin
2015-04-29  0:20     ` Robert Thorpe
     [not found]     ` <mailman.1854.1430266854.904.help-gnu-emacs@gnu.org>
2015-04-29  4:22       ` cplum987
     [not found] ` <mailman.1792.1430230730.904.help-gnu-emacs@gnu.org>
2015-04-28 19:23   ` cplum987
2015-04-29 11:57 ` Steve Perry
2015-04-29 20:14   ` cplum987

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