From: "Eric Lilja" <mindcooler@gmail.com>
Subject: $EMACS, used to be set to "t", now it's set to the path of the emacs binary?
Date: 26 Nov 2006 03:05:58 -0800 [thread overview]
Message-ID: <1164539157.973085.297010@j44g2000cwa.googlegroups.com> (raw)
Hi, I used to have this section in my .bashrc-file:
if [ "$EMACS" == "t" ]
then
PS1='\n\[\033[32m\]\u@\h \[\033[33m\w\033[0m\]\n$ '
fi
in order to get a good looking prompt in shell mode under cygwin
(otherwise it would contain ugly control chars). Now I noticed it
doesn't work anymore and it seems that $EMACS no longer contains t (for
true I guess), but instead it contains the path of the emacs binary
used to start this invocation of emacs. When was this changed?
I changed my .bashrc to if [ "$EMACS" != "" ] and that seems to work.
Is there a better way?
/ E
next reply other threads:[~2006-11-26 11:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 11:05 Eric Lilja [this message]
2006-11-26 12:59 ` $EMACS, used to be set to "t", now it's set to the path of the emacs binary? Eric Lilja
2006-11-26 14:10 ` Markus Triska
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=1164539157.973085.297010@j44g2000cwa.googlegroups.com \
--to=mindcooler@gmail.com \
/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).