From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cplum987@gmail.com Newsgroups: gmane.emacs.help Subject: editing previous command in the *shell* buffer Date: Mon, 27 Apr 2015 16:06:52 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430176322 28096 80.91.229.3 (27 Apr 2015 23:12:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 23:12:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 01:12:02 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YmsC0-0001UP-VM for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 01:12:01 +0200 Original-Received: from localhost ([::1]:58044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmsBv-0005l2-0j for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 19:11:55 -0400 X-Received: by 10.42.235.14 with SMTP id ke14mr25189515icb.24.1430176013161; Mon, 27 Apr 2015 16:06:53 -0700 (PDT) X-Received: by 10.182.19.194 with SMTP id h2mr45191obe.41.1430176013106; Mon, 27 Apr 2015 16:06:53 -0700 (PDT) Original-Path: usenet.stanford.edu!l13no10940638iga.0!news-out.google.com!n7ni18831igk.0!nntp.google.com!m20no6740442iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.87.19.218; posting-account=rIGGBgoAAAAEMg3u-3XZX2iW8W_yvSoQ Original-NNTP-Posting-Host: 148.87.19.218 User-Agent: G2/1.0 Injection-Date: Mon, 27 Apr 2015 23:06:53 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:211739 X-Mailman-Approved-At: Mon, 27 Apr 2015 19:11:45 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104021 Archived-At: 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 execu= tion. 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 previou= s 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 oft= en finds all sorts of other cruft you have to skip over. thanks, thanks, Chris