unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Samuel Karl Peterson <skpeterson@nospam.please.ucdavis.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: ~/.emacs_bash setting PS1
Date: Wed, 06 Feb 2008 09:32:04 -0800	[thread overview]
Message-ID: <o36wspiyorv.fsf@pc10.cs.ucdavis.edu> (raw)
In-Reply-To: jwvodauf7o8.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> on Wed, 06 Feb 2008 10:05:51
-0500 didst step forth and proclaim thus:

>> file doesn't seem to work.  Oddly enough, I can type 'exit' and then
>> I'll have a shell with the proper PS1 variable set.
>
> Could you give a precise recipe to reproduce this very odd behavior?
>

C-x C-f ~/.emacs_bash
; put this as the only line in the file
export PS1="[\u@\h \W]$ "
C-x C-s
C-x C-k
M-x shell
exit

Emacs version: GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version
2.12.0) of 2007-11-06 on terranova, modified by Ubuntu

-- 
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown


  reply	other threads:[~2008-02-06 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05  1:41 ~/.emacs_bash setting PS1 Samuel Karl Peterson
2008-02-05  9:09 ` Sven Joachim
2008-02-05 15:44   ` Samuel Karl Peterson
2008-02-05  9:25 ` Peter Dyballa
2008-02-05 10:27 ` Ehud Karni
2008-02-06 15:05 ` Stefan Monnier
2008-02-06 17:32   ` Samuel Karl Peterson [this message]
2008-02-08  2:57     ` Stefan Monnier

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=o36wspiyorv.fsf@pc10.cs.ucdavis.edu \
    --to=skpeterson@nospam.please.ucdavis.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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).