From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Emacs on Windows, isn't ~ supposed to be home dir? Date: Sat, 6 Jun 2009 06:00:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9f7baaff-c170-48dd-a5ec-194e91c3d93e@g1g2000yqh.googlegroups.com> References: <6377028f-938f-47b5-86a6-3f4034244d5b@h2g2000yqg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244362877 14280 80.91.229.12 (7 Jun 2009 08:21:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2009 08:21:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 10:21:13 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDDcv-0003xh-BJ for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 10:21:13 +0200 Original-Received: from localhost ([127.0.0.1]:57649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDDcu-00019C-OX for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 04:21:12 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g1g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1244293212 27690 127.0.0.1 (6 Jun 2009 13:00:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 6 Jun 2009 13:00:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g1g2000yqh.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.65 Safari/525.19, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169758 X-Mailman-Approved-At: Sun, 07 Jun 2009 04:20:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64995 Archived-At: On Jun 5, 6:12 pm, Eli Zaretskii wrote: > > From: Xah Lee > > Newsgroups: gnu.emacs.help,comp.emacs > > Date: Fri, 5 Jun 2009 10:52:53 -0700 (PDT) > > > in emacsW32 on Windows, =E2=80=9C~/=E2=80=9D points to > > =E2=80=9Cc:/Users/xah/AppData/Roaming/=E2=80=9D > > but i was expecting it to point to: > > =E2=80=9Cc:/Users/xah/=E2=80=9D. > > It is supposed to point by default to whatever CSIDL_APPDATA is set to > on that machine. That is, to the `Application Data' subdirectory of > your user profile directory. Setting HOME in the environment > overrides that. If Emacs does not behave like that, it's a bug that > should be reported. Thanks all. Setting Windows's env var HOME to c:\Users\xah helped. However, it seems that when emacs starts as server/client, it still loads from =E2=80= =9Cc:/ Users/xah/AppData/Roaming/=E2=80=9D. I vaguely recall similar question asked here recently. Am not familiar with server/client feature of emacs 23 yet... in particular, how can i make it so that emacs just have one single dir for the init files? (or if i should try to do that at all?) Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84