unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Wu <wus@qwest.net>
Subject: Re: Eshell help.
Date: Sun, 05 Oct 2003 01:38:43 -0700	[thread overview]
Message-ID: <pMQfb.591$8q2.78769@news.uswest.net> (raw)
In-Reply-To: <1zy8w2zonm.fsf@tcdec3.bham.ac.uk>



Matt Hodges wrote:
>>>>>>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 "^[$#] ")
> 

Thanks. Last time when I changed the prompt-regexp and prompt-function 
seperately, and that's why it didn't work. I just tried it, and it 
worked fine.

steve

      parent reply	other threads:[~2003-10-05  8:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01  8:26 Eshell help Steven Wu
2003-10-01 17:50 ` Dan Anderson
2003-10-03  7:38   ` Vincenzo Di Somma
     [not found]   ` <mailman.1051.1065166758.21628.help-gnu-emacs@gnu.org>
2003-10-03  8:51     ` Lute Kamstra
2003-10-03  9:20       ` Vincenzo Di Somma
2003-10-03 10:28     ` punkind
2003-10-03 22:58       ` Sean Richards
     [not found] ` <mailman.950.1065031212.21628.help-gnu-emacs@gnu.org>
2003-10-01 19:25   ` FRC
2003-10-03  8:55 ` Matt Hodges
2003-10-03 14:40   ` Peter Lee
2003-10-04  8:45     ` Matt Hodges
2003-10-05  8:38   ` Steven Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pMQfb.591$8q2.78769@news.uswest.net' \
    --to=wus@qwest.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).