From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Sun, 14 Sep 2008 14:55:17 -0400 Message-ID: References: <38b2ab8a0809141130g161f24di9ae7091e9577485c@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1221421246 1776 80.91.229.12 (14 Sep 2008 19:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 19:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 21:41:42 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KexTX-00020b-NY for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 21:41:39 +0200 Original-Received: from localhost ([127.0.0.1]:33697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KexSX-0004Zz-1z for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 15:40:37 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 14 Sep 2008 13:55:17 -0500 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Original-Lines: 33 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 24.34.108.171 Original-X-Trace: sv3-esQzDkwAkf/iYVbLoErRWk1gzVYZ8K1NC59Dt0G2ZN/JpZJbQvXNRXEN3cKfBMC7m28fB3VnkP+4BD4!PK22neK6NfVsSDP+vs1KqUylzP7Wn06Xyrh7sAMY18tE0M9XWcY68J/TAc8LgjcALoHMdnKAxjH2!vWqL+zmU3EvlaDVGJLM3pM53OJsVpRBDtZR+M4M= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:162239 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57581 Archived-At: In article , Thierry Volpiatto wrote: > "Francis Moreau" writes: > > > On Sun, Sep 14, 2008 at 12:43 AM, Chris F.A. Johnson > > wrote: > >> On 2008-09-12, Francis Moreau wrote: > >> ... > >>> 4/ There's no readline "yank-last-arg" function which inserts the last > >>> argument to the previous commands > >> > >> C-up > >> > > > > really ? > > > > could you tell me on which function this is binded ? > > runs the command comint-previous-input But that yanks the whole command line, not just the last argument. I still the shell's history features for !$ and !*. The nice thing is that Emacs recognizes them and substitutes them into its history list, so that if I use commands like C-up it will yank them with the appropriate values. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***