all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: "cplum987@gmail.com" <cplum987@gmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: editing previous command in the *shell* buffer
Date: Tue, 28 Apr 2015 14:18:40 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9892BF35CF@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <b490db23-410d-45b6-b3ec-e8da1ed32456@googlegroups.com>

> -----Original Message-----
> On
> Behalf Of cplum987
> Subject: editing previous command in the *shell* buffer
> 
> 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.

I agree. This is a bit of a hole. I copy and paste and edit all the time.
It doesn't seem like it would be too hard to build, 
but it's probably too little to bother getting permission from my employer
to give away. :(

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

This sounds like it would be a good addition. I use M-/ to do such a thing,
but that does get a little tedious.
Does the xemacs lisp port to GNU emacs?

> thanks,
> 
> Chris
[Doug Lewan] 


-- 
,Doug
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224 or ext 4335

The human brain is the most complex thing known to man, according to the human brain.



  reply	other threads:[~2015-04-28 14:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 23:06 editing previous command in the *shell* buffer cplum987
2015-04-28 14:18 ` Doug Lewan [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9892BF35CF@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=cplum987@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.