From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: OS independent way to specify location of .emacs.d directory Date: Wed, 3 Apr 2013 17:01:19 -0700 Message-ID: <20130403170119.2bef743a@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365033707 31593 80.91.229.3 (4 Apr 2013 00:01:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 00:01:47 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 02:02:15 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNXd7-0005Kk-29 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 02:02:13 +0200 Original-Received: from localhost ([::1]:38263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNXci-0000PL-Bo for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 20:01:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNXcT-0000O6-1r for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 20:01:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNXcO-0007i0-He for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 20:01:32 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:37144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNXcO-0007ey-EJ for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 20:01:28 -0400 X-Authority-Analysis: v=2.0 cv=TO3HuiZa c=1 sm=0 a=GGzZdJT2oJO+GUpSCk/8YQ==:17 a=A67dEwaWxOsA:10 a=WgEpPKrNjxsA:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=5H4n5VSQR00A:10 a=g1Yo9mD88tlDH5uAtL0A:9 a=CjuIK1q_8ugA:10 a=GGzZdJT2oJO+GUpSCk/8YQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 66.75.5.27 Original-Received: from [66.75.5.27] ([66.75.5.27:44049] helo=gauss) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id A6/06-06772-5D2CC515; Thu, 04 Apr 2013 00:01:25 +0000 X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.120 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89967 Archived-At: Is there way that specifies the path to the .emacs.d directory that works on Linux, Windows, and Mac? Currently I use (format "%s/.emacs.d" (getenv "HOME")) However, I doubt that is necessarily correct on Windows. -- Joe Riel