delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/02/07:20:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 2 Oct 2001 13:18:20 +0200
Message-Id: <200110021118.NAA10782@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: " Roman Adar" <radar AT cacheware DOT com>
Subject: Re: How to make cygwin/bash shell work in emacs
CC: cygwin AT cygwin DOT com
In-reply-to: <NMEHIGJBPAKOAODKKENBCEFOCDAA.radar@cacheware.com> (message from
Roman Adar on Mon, 1 Oct 2001 21:20:27 -0700)
Organization: Mivtach-Simon Insurance agencies
Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il
References: <NMEHIGJBPAKOAODKKENBCEFOCDAA DOT radar AT cacheware DOT com>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.105)
MIME-Version: 1.0

On Mon, 1 Oct 2001 21:20:27 -0700, Roman Adar <radar AT cacheware DOT com> wrote:
> 
> Adding the: (setenv "BASH_ENV" "/etc/profile") to my .emacs file did not
> solve the problem of the path, where the "perl" is picked from. It still
> stays /usr/bin.

Debug it. Check that you really set the Emacs env by M-x getenv RET
BASH_ENV RET. Also check the values of the Emacs variables:
`sh-shell-file' and `shell-file-name' (they should be "bash" NOT "sh").
Add set -x as the 1st line of your /etc/profile and check if it is 
called or any later command changes the PATH. 

Just to give you hope, I can tell you that it works fine for me and 
other users.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud AT unix DOT simonwiesel DOT co DOT il    http://www.simonwiesel.co.il

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019