From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lucas Newsgroups: gmane.emacs.help Subject: Re: eshell: annoying filename completion Date: Tue, 04 Mar 2003 23:27:23 +0100 Organization: Conteur Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <1c58a7c3.0303041407.c629104@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046818406 11257 80.91.224.249 (4 Mar 2003 22:53:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2003 22:53:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 23:53:23 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 18qKxy-0001li-00 for ; Tue, 04 Mar 2003 23:32:55 +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 18qKw5-0000m0-09 for gnu-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2003 17:30:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!proxad.net!wanadoo.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: alyon-110-1-13-99.abo.wanadoo.fr Original-X-Trace: news-reader11.wanadoo.fr 1046816821 934 80.11.138.99 (4 Mar 2003 22:27:01 GMT) Original-X-Complaints-To: abuse@wanadoo.fr Original-NNTP-Posting-Date: 4 Mar 2003 22:27:01 GMT User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:EnEX3y/F9jmeqRbrRUr/QHnzRds= Original-Xref: shelby.stanford.edu gnu.emacs.help:110821 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:7320 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7320 Un beau jour, brakjoller@hotmail.com (Barman Brakjoller) nous a dit: > Imagine you have this: > > ~/tmp/esh $ ls > long_file_name.gif > > and want to do this > > ~/tmp/esh $ rm long_ > > That works ok, eshell completes the filename. But what if I want to > rename that file to long_file_name.jpeg? This does not work as I want: > > ~/tmp/esh $ mv long_ lo again, nothing happens, eshell just beeps at me> > > I guess eshell is trying to be smart here, but in this case it is too > smart for my taste... :) > > Any variable I might want to customize and any drawbacks? Not tested, but a little set-mark before pressing tab, then, when name is completed, a copy-region-as-kill, then the rest of your line : ~/tmp/esh $ mv long_ lo ^ ^ ^ set-mark copy-region-as-kill yank No ? :) Hope this helps. -- Lucas