From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Nicolas Richard" Newsgroups: gmane.emacs.help Subject: Re: How to specify path to .emacs.d Date: Wed, 31 Oct 2012 11:26:00 +0100 Message-ID: <87wqy7ey4n.fsf@yahoo.fr> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1351679187 11148 80.91.229.3 (31 Oct 2012 10:26:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 10:26:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 11:26:36 2012 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 1TTVVL-0007zl-1f for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 11:26:35 +0100 Original-Received: from localhost ([::1]:40914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVVC-0003oF-En for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 06:26:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVV1-0003lu-Ft for help-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:26:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTVUv-0001T1-D2 for help-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:26:15 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTVUv-0001Ri-6k for help-gnu-emacs@gnu.org; Wed, 31 Oct 2012 06:26:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TTVV0-0007WN-17 for help-gnu-emacs@gnu.org; Wed, 31 Oct 2012 11:26:14 +0100 Original-Received: from geodiff-mac3.ulb.ac.be ([164.15.131.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Oct 2012 11:26:13 +0100 Original-Received: from theonewiththeevillook by geodiff-mac3.ulb.ac.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Oct 2012 11:26:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: geodiff-mac3.ulb.ac.be User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:dyVk/Z2TtyZf0npEDU3n59qzrj8= 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:87500 Archived-At: Barry OReilly writes: > It did not work.  More precisely, Emacs did not load my/path/.emacs.d > /init.el .  C-h v does show that user-emacs-directory has the /my/ > path/.emacs.d value, however. Ok, I had not quite understood what you wanted to do. My suggestion would then be to run emacs as: emacs -q --eval '(setq user-emacs-directory "~/.my.other.emacs.d")' --eval '(load (concat user-emacs-directory "/init.el"))' It is far from optimal but maybe it can work for you. -- Nicolas.