X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A5B5FE4.7060209@gmail.com>
References: <4A5B5FE4.7060209@gmail.com>
Date: Mon, 13 Jul 2009 17:42:32 +0100
Message-ID: <416096c60907130942y779c3c83pfa2cb766ccce4009@mail.gmail.com>
Subject: Re: wrong home directory
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2009/7/13 hvshare:
> Hello,
>
> I've searched all over the web for an answer to my problem but i couldn't
> find one, so I decided to send a mail here.
>
> After I installed Cygwin, I noticed that my home directory '~' is not
> /home/helvio, i.e. /cygdrive/c/cygwin/home/helvio (helvio is my user ID), as
> I wanted it to. Instead, my home directory is /cygdrive/c/Program
> Files/Emacs ! This is the folder where my GNU Emacs for Windows v21.3.1 is
> installed (I got it here: http://ftp.gnu.org/gnu/emacs/windows/). I'd like
> to Cygwin to open in /home/helvio by default, but I don't know how to do
> this!

I'd guess that emacs has set a system-wide HOME environment variable.
That would take precedence over the setting in Cygwin's /etc/passwd.
Check under System Properties->Advanced->Environment Variables.
(That's where they are in XP anyway.)

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

