[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to make emacs+w32 read the cygwin .bashrc file
From: |
emacs user |
Subject: |
Re: how to make emacs+w32 read the cygwin .bashrc file |
Date: |
21 Aug 2006 19:54:32 -0700 |
User-agent: |
G2/0.2 |
Lennart Borgman wrote:
> emacs user wrote:
> > This doesn't seem to happen by defaulty for me after setting
> >
> > ... '(w32shell-cygwin-bin "c:/cygwin/bin"))...
> > (require 'w32shell)
> > (w32shell-add-emacs)
> > (w32shell-set-shell "cygwin")
> >
> > anyone happens to know? thanks...
> >
> See the node "(info) Interactive Inferior Shell" in Info in Emacs. I
> have not tried this myself but it looks like you should use the file
> ~/.emacs_bash for initialization of the shell. (Cygwin uses bash.exe.)
>
> If you try this, could you report here the outcome of your test?
thanks... so if I put "source .../.bashrc" in the .emacs_bash file,
this certainly helps with a shell mode buffer. but it does not help
when I compile a latex file for example, as the inferior shell then
does not seem to use the .emacs_bash file.