From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Justin Newsgroups: gmane.emacs.help Subject: Re: changing default shell Date: Tue, 22 Mar 2005 19:58:35 GMT Organization: Aliant Internet Message-ID: References: <87psxzpmkx.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111521619 24602 80.91.229.2 (22 Mar 2005 20:00:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2005 20:00:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 22 21:00:17 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDpXr-0005Sf-CM for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Mar 2005 21:00:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDppC-0003MT-Ik for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Mar 2005 15:18:02 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!wns14feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!ursa-nb00s0.nbnet.nb.ca!53ab2750!not-for-mail User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <87psxzpmkx.fsf@thalassa.informatimago.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Original-Lines: 54 Original-NNTP-Posting-Host: 156.34.175.209 Original-X-Complaints-To: abuse@aliant.net Original-X-Trace: ursa-nb00s0.nbnet.nb.ca 1111521515 156.34.175.209 (Tue, 22 Mar 2005 15:58:35 AST) Original-NNTP-Posting-Date: Tue, 22 Mar 2005 15:58:35 AST Original-Xref: shelby.stanford.edu gnu.emacs.help:129546 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25096 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25096 Hi Guys, Thanks for the help. Yes, customize-variable was the one I was looking for. I have cygwin installed on my windows xp system. I have used customize-variable to change the shell to C:/cygwin/bin/bash.exe I clicked "Save for Future Sessions" and it put this in my ~/.emacs: (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(shell-file-name "C:/cygwin/bin/bash.exe")) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. ) The problem is when I go: M-x shell it still uses the cripled ms command prompt. Any suggestions? -Justin Pascal Bourguignon wrote: > Justin writes: > > >>Hi, >> >>I stopped using emacs for awhile and it seems I forgot a few >>things. Before, I remembered typing M-x to enter the name of a >>function which would allow me to modify certain environment variables >>for emacs. I'd enter the name of the function, hit enter, then emacs >>would ask for the variable name then a new buffer would open which >>would show the current value and allow me to graphically modify >>it. This buffer would also provide more information about the variable >>itself. > > > customize-variable > > >>My end goal is to change the default shell to bash. > > > I don't know an emacs variable for this. I just use the environment variable: > > (setf (getenv "SHELL") "/usr/bin/clisp") > >