delorie.com/archives/browse.cgi | search |
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 10:37:02 +0100 |
Message-ID: | <4677-Tue02Oct2001103702+0100-starksb@ebi.ac.uk> |
X-Mailer: | emacs 20.7.1 (via feedmail 9-beta-7 I); |
VM 6.92 under Emacs 20.7.1 | |
From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
MIME-Version: | 1.0 |
To: | Matt Landau <matt AT atg DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | bash 2.04 can't complete ~/name if $HOME set to c:/users/foo? |
In-Reply-To: | <5.1.0.14.2.20011001192343.00a74568@pop.atg.com> |
References: | <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20011001192343 DOT 00a74568 AT pop DOT atg DOT com> |
On Monday 1 Oct 01, Matt Landau writes: > My environment has HOME set to c:/users/matt, but bash seems to insist on > converting this to a cygwin-style path, /c/users/matt. This confuses the > hell out of programs like Emacs that don't understand cygwin paths, of > course. More precisely, Cygwin sets HOME to a *POSIX*-style path. Cygwin is a POSIX emulation layer. Note that it only does this with certain environment variables that it knows about, like HOME and PATH. If your non-Cygwin application (like Emacs) requires HOME be set in a non-Cygwin way, then don't start emacs from your Cygwin bash shell. If you must invoke your emacs command from the Cygwin bash shell, you could put the emacs command in a windows .bat file, and invoke that file from Cygwin bash. In the .bat file, your HOME variable should be set the way Emacs needs it. Hope this helps. Regards, David -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |