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: Wed, 20 Sep 2006 06:24:52 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1158722721 13205 80.91.229.2 (20 Sep 2006 03:25:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2006 03:25:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 20 05:25:18 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 1GPsi1-0006yg-TA for ged-emacs-devel@m.gmane.org; Wed, 20 Sep 2006 05:25:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPsi1-0003YU-D1 for ged-emacs-devel@m.gmane.org; Tue, 19 Sep 2006 23:25:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GPsho-0003YA-K3 for emacs-devel@gnu.org; Tue, 19 Sep 2006 23:25:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GPshm-0003Wm-75 for emacs-devel@gnu.org; Tue, 19 Sep 2006 23:24:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPshm-0003WT-2U for emacs-devel@gnu.org; Tue, 19 Sep 2006 23:24:58 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GPsky-00019n-H7 for emacs-devel@gnu.org; Tue, 19 Sep 2006 23:28:16 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-74-121.inter.net.il [80.230.74.121]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FUJ94625 (AUTH halo1); Wed, 20 Sep 2006 06:24:51 +0300 (IDT) Original-To: Patrick Drechsler In-reply-to: (message from Patrick Drechsler on Wed, 20 Sep 2006 01:09:10 +0200) 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:60028 Archived-At: > From: Patrick Drechsler > Date: Wed, 20 Sep 2006 01:09:10 +0200 > > Can I put a directory ".emacs.d" including an init.el somewhere under > Windows/Cygwin so that it will be recognized by a default Emacs > installation (C:\.emacs.d\init.el is ignored when there is no C:\.emacs > or C:\_emacs)? Why can't you set the HOME environment variable on Windows to point to the place where you keep your .emacs.d directory? To keep the bulk of init.el in a single place, you could have a minimal ~/.emacs.d/init.el, one for each OS, that loads the rest from a single place. > Furthermore: What would be the current Emacs variable to tweak for using an > > IF windows > use this path > ELSEIF Cygwin > use another path > ELSE ;; linux > use yet another path > > construct? Try system-configuration. > Since both versions are not stable I am wondering if they are compatible > or if I should chose another combination... Quite compatible. > If they are compatible: What is the best approach for a multi-platform > install file? What do you mean by ``install file''?