From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Re: OS independent way to specify location of .emacs.d directory Date: Thu, 04 Apr 2013 23:56:03 +0300 Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net Message-ID: <878v4yt3q4.fsf@gavenkoa.example.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365108992 11038 80.91.229.3 (4 Apr 2013 20:56:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 20:56:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 22:57:00 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 1UNrDP-0001v6-GE for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 22:56:59 +0200 Original-Received: from localhost ([::1]:39250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNrD0-0002fN-OA for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 16:56:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNrCm-0002ex-QU for help-gnu-emacs@gnu.org; Thu, 04 Apr 2013 16:56:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNrCi-0001zI-88 for help-gnu-emacs@gnu.org; Thu, 04 Apr 2013 16:56:20 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNrCi-0001z2-2T for help-gnu-emacs@gnu.org; Thu, 04 Apr 2013 16:56:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UNrD4-0001d8-Ij for help-gnu-emacs@gnu.org; Thu, 04 Apr 2013 22:56:38 +0200 Original-Received: from 5.248.35.167 ([5.248.35.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Apr 2013 22:56:38 +0200 Original-Received: from gavenkoa by 5.248.35.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Apr 2013 22:56:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5.248.35.167 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:DqCc2L6qxY4ErLkrowtAPtUNffE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:89996 Archived-At: On 2013-04-04, Stefan Monnier wrote: >> Is there way that specifies the path to the .emacs.d >> directory that works on Linux, Windows, and Mac? > > AFAIK "~/.emacs.d" should work. > I see many times such code: (expand-file-name "~/.emacs.d") -- Best regards!