From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: brakjoller@hotmail.com (Barman Brakjoller) Newsgroups: gmane.emacs.help Subject: Re: Does eshell have something similar to bash's yank-last-rag Date: 5 Mar 2003 06:41:37 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1c58a7c3.0303050641.3e1df885@posting.google.com> References: <1c58a7c3.0303041351.27e20634@posting.google.com> <87ptp6ahqt.fsf@alice.dynodns.net> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046926062 16954 80.91.224.249 (6 Mar 2003 04:47:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 04:47:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 05:47:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qnID-0004PB-00 for ; Thu, 06 Mar 2003 05:47:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qnHE-0005Ou-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2003 23:46:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!sjc70.webusenet.com!news.webusenet.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: 193.41.170.225 Original-X-Trace: posting.google.com 1046875297 5778 127.0.0.1 (5 Mar 2003 14:41:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 5 Mar 2003 14:41:37 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:110879 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7380 John Wiegley wrote > > Does eshell have something similar to bash's yank-last-rag: > > You can use $_ to refer to the value of the last argument, but no, > there is no way to "yank" the last argument in the way you mentioned. Then I suppose I could hack together a new eshell/yank-last-arg. I'll see what I can come up with.