From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow 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 19:51:59 -0700 Message-ID: <877izydj8w.fsf@offby1.atm01.sea.blarg.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158807224 2067 80.91.229.2 (21 Sep 2006 02:53:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Sep 2006 02:53:44 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 21 04:53:41 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 1GQEgz-0005zQ-9t for ged-emacs-devel@m.gmane.org; Thu, 21 Sep 2006 04:53:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQEgy-0002Dj-Q9 for ged-emacs-devel@m.gmane.org; Wed, 20 Sep 2006 22:53:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQEgk-00029f-5L for emacs-devel@gnu.org; Wed, 20 Sep 2006 22:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQEgg-00022o-RU for emacs-devel@gnu.org; Wed, 20 Sep 2006 22:53:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQEgg-00022X-O7 for emacs-devel@gnu.org; Wed, 20 Sep 2006 22:53:18 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GQEk6-00075D-Mb for emacs-devel@gnu.org; Wed, 20 Sep 2006 22:56:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQEgW-0005ul-Vj for emacs-devel@gnu.org; Thu, 21 Sep 2006 04:53:08 +0200 Original-Received: from q-static-138-125.avvanta.com ([206.124.138.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 04:53:08 +0200 Original-Received: from offby1 by q-static-138-125.avvanta.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 04:53:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: q-static-138-125.avvanta.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:CYoOJvEqtpGOF1KdKPzSoPKYG1k= 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:60048 Archived-At: 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)? Even though I don't really understand your question, I suspect the answer is "yes". For what it's worth, I too keep my home directory under subversion, and use the same emacs init file for all platforms. Furthermore: What would be the current Emacs variable to tweak for using an You probably are looking for something like this: (case system-type ((windows-nt darwin) (do-some-stuff)) (t (do-other-stuff))) -- That is the true genius of America ... that our votes will be counted, at least most of the time. -- Barack Obama, 2004 Democratic National Convention