From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: single init file/directory for windows and linux using version control svn or cvs Date: Fri, 22 Sep 2006 15:39:09 +0300 Message-ID: References: <45128250.8090009@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1158928868 3163 80.91.229.2 (22 Sep 2006 12:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2006 12:41:08 +0000 (UTC) Cc: chenggao@gmail.com, emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 22 14:41:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQkKX-0005M6-UR for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 14:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQkKX-0004ll-B0 for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 08:40:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQkJT-0004HW-Ca for emacs-devel@gnu.org; Fri, 22 Sep 2006 08:39:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQkJR-0004GT-If for emacs-devel@gnu.org; Fri, 22 Sep 2006 08:39:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQkJR-0004G9-4v for emacs-devel@gnu.org; Fri, 22 Sep 2006 08:39:25 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQkMz-00040q-Am; Fri, 22 Sep 2006 08:43:06 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-163-171.inter.net.il [84.228.163.171]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id ANO01980 (AUTH halo1); Fri, 22 Sep 2006 15:39:09 +0300 (IDT) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 21 Sep 2006 16:15:24 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60101 Archived-At: > From: Richard Stallman > Date: Thu, 21 Sep 2006 16:15:24 -0400 > Cc: emacs-devel@gnu.org, chenggao@gmail.com > > The case found by the original poster is when $HOME is not set in the > environment. In Emacs 22 we default to the user specific APPDATA system > directory, but we first check that C:\.emacs and C:\_emacs do not exist, > in case the user used a previous version of Emacs that defaulted to > C:\. The original poster had created C:\.emacs.d\init.el, but we do not > check for this file when deciding whether to default to the old HOME > location, since it is only supported since Emacs 22. > > Perhaps Emacs should check for C:\.emacs.d\ also. > Why not? I think Jason gave the reason in the last sentence above: becase the ~/.emacs.d/init.el feature was added only in Emacs 22, so users of older versions will not have their init files there.