From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matt Hodges Newsgroups: gmane.emacs.help Subject: Re: Eshell help. Date: Fri, 03 Oct 2003 09:55:09 +0100 Organization: The University of Birmingham news server Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1zy8w2zonm.fsf@tcdec3.bham.ac.uk> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065172628 6186 80.91.224.253 (3 Oct 2003 09:17:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2003 09:17:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 11:17:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5M3e-0003Q4-00 for ; Fri, 03 Oct 2003 11:17:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5M2Y-00040M-Gs for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2003 05:15:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!skynet.be!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!news.bham.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: tcdec3.bham.ac.uk Original-X-Trace: sun3.bham.ac.uk 1065171204 20299 147.188.105.127 (3 Oct 2003 08:53:24 GMT) Original-X-Complaints-To: usenet@sun3.bham.ac.uk Original-NNTP-Posting-Date: Fri, 3 Oct 2003 08:53:24 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:59xd1b0ePDvLvZOCCnwpQLYjMSU= Original-Xref: shelby.stanford.edu gnu.emacs.help:117045 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12974 >>>>> Steven Wu writes: > I looked into eshell, and felt that I really like it. > Unfortunately, I wasn't able to find much documentation about it. > Here is a question that I found: if I redefine > eshell-prompt-function to something I like, i.e. no pathname, then > completetion doesn't work. I kinda like to have the pathname > printed on the window title bar, not at the prompt. You need to change eshell-prompt-regexp as well. For example: (setq eshell-prompt-function (lambda () (if (= (user-uid) 0) "# " "$ ")) eshell-prompt-regexp "^[$#] ") (You may have to restart Eshell after making this change.) Matt