unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Justin <ng@maritime333source.ca>
Subject: Re: changing default shell
Date: Tue, 22 Mar 2005 19:58:35 GMT	[thread overview]
Message-ID: <LN_%d.3322$Ln.147540@ursa-nb00s0.nbnet.nb.ca> (raw)
In-Reply-To: <87psxzpmkx.fsf@thalassa.informatimago.com>

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 <ng@maritime333source.ca> 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")
> 
> 

  reply	other threads:[~2005-03-22 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 15:17 changing default shell Justin
2005-03-16 15:41 ` Peter Dyballa
2005-03-16 16:09 ` Kevin Rodgers
2005-03-16 16:44 ` Pascal Bourguignon
2005-03-22 19:58   ` Justin [this message]
2005-03-22 22:39     ` Peter Lee
2005-03-23  0:17     ` Kevin Rodgers

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='LN_%d.3322$Ln.147540@ursa-nb00s0.nbnet.nb.ca' \
    --to=ng@maritime333source.ca \
    /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).