From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.help Subject: How to specify path to .emacs.d Date: Mon, 29 Oct 2012 16:37:51 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b677afab35db704cd38a47f X-Trace: ger.gmane.org 1351543080 10464 80.91.229.3 (29 Oct 2012 20:38:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 20:38:00 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 21:38:07 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 1TSw63-0002vz-24 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 21:38:07 +0100 Original-Received: from localhost ([::1]:50211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSw5u-0000Av-UU for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 16:37:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSw5q-0000Aq-6K for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 16:37:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSw5p-000651-7q for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 16:37:54 -0400 Original-Received: from mail-vb0-f41.google.com ([209.85.212.41]:46616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSw5o-00064q-Vs for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 16:37:53 -0400 Original-Received: by mail-vb0-f41.google.com with SMTP id v13so6542600vbk.0 for ; Mon, 29 Oct 2012 13:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6KXtsy8jdmQ02UhgwdoQu+FUHAwjBqffz3mA/+DvOcA=; b=VnQEjkMO/N3lp9wFFSvMnnUn0oaWcla7FJIElQOUO4vUYtclSGPOjSK19X+pLP6OOz 7fJhxCB9KlHA0DDpMkU6WPWlNlVRyCZeIifaVViG64t5qHyj51Y/uIuS5gEqPx14n+1R 0K9EFUN771kSoxSwNbDYY3++ozs/SdfJ+cDRxXXL0rRo6dkTfoo9EDNIvXvXCIFVfayy YuMQk42bpZbGp/29jeBpI/YgR4kxw8Xv+qLCtTAQG49pEAwsqNPb+zGBqZVZiV6VXnQN +LvMgygFZBuo/U5+hYqgtIdBdLeogQIH6AbMKwii2lSDTxIKQ0InohYxaYxI11VYyMcl Y6sg== Original-Received: by 10.58.201.73 with SMTP id jy9mr55113289vec.29.1351543071923; Mon, 29 Oct 2012 13:37:51 -0700 (PDT) Original-Received: by 10.58.156.71 with HTTP; Mon, 29 Oct 2012 13:37:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.41 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:87486 Archived-At: --047d7b677afab35db704cd38a47f Content-Type: text/plain; charset=ISO-8859-1 Hi, I'd like to know how to specify at the command line which directory Emacs should use as the .emacs.d directory. I see the --user flag, but it seems unnecessarily inflexible. One use case I would like this for is so as I can run Emacs unintrusively on a colleague's computer. --user flag doesn't serve the purpose for technical reasons and I currently symlink their ~/.emacs.d to my .emacs.d on a network share. For my colleagues who also use Emacs, this creates an awkwardness whereby I backup their .emacs.d before creating my symlink, and then remember to restore it later when finished. Another use case is that I'm getting my Emacs configuration to work on Windows, and I discovered that Windows shortcuts are apparently .lnk files and don't function like a symlink. I'm unsure how to use a .emacs.d at an arbitrary location, and only know to copy it to home instead. This is inconvenient because I want to use a .emacs.d straight out of a Mercurial repo located elsewhere. Specifying a .emacs.d location as a command line flag would be a big help. --047d7b677afab35db704cd38a47f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
I'd like to know how to specify at the command line which direct= ory Emacs should use as the .emacs.d directory.=A0 I see the --user flag, b= ut it seems unnecessarily inflexible.

One use case I would like this= for is so as I can run Emacs unintrusively on a colleague's computer.= =A0 --user flag doesn't serve the purpose for technical reasons and I c= urrently symlink their ~/.emacs.d to my .emacs.d on a network share.=A0 For= my colleagues who also use Emacs, this creates an awkwardness whereby I ba= ckup their .emacs.d before creating my symlink, and then remember to restor= e it later when finished.

Another use case is that I'm getting my Emacs configuration to work= on Windows, and I discovered that Windows shortcuts are apparently .lnk fi= les and don't function like a symlink.=A0 I'm unsure how to use a .= emacs.d at an arbitrary location, and only know to copy it to home instead.= =A0 This is inconvenient because I want to use a .emacs.d straight out of a= Mercurial repo located elsewhere.

Specifying a .emacs.d location as a command line flag would be a big he= lp.

--047d7b677afab35db704cd38a47f--