all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: abc <arcadiorubiogarcia@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Setting user-emacs-directory
Date: Wed, 22 Oct 2008 07:26:30 -0700 (PDT)	[thread overview]
Message-ID: <d2e473e9-b179-49cd-a62e-3ef45111a6ea@h60g2000hsg.googlegroups.com> (raw)
In-Reply-To: mailman.1754.1224635369.25473.help-gnu-emacs@gnu.org

Thanks for your reply.

I had already tried setting user-init-file and user-emacs-directory
from a .emacs in $HOME.

However, Emacs insists on writing stuff in my .emacs.d directory. In
particular it creates it and puts auto-save-list inside. Any ideas?

- Arcadio

On 22 oct, 02:25, Xavier Maillard <x...@gnu.org> wrote:
> Hi,
>
>    I'd like change the user directory (usually ~/.emacs.d) and the init
>    file placing them inside ~/Library/Preferences/Emacs and ~/Library/
>    Preferences/Emacs/Preferences.el, respectively. Currently I'm
>    achieving this by using symbolic links.
>
> I have set up a minimal .emacs (in my $HOME directory) which is
> in charge of this (see below).
>
> (setq user-init-file "blah blah")
> (setq user-emacs-directory "my emacs.d directory")
> (add-to-list 'load-path .....)  ;; long list of directories here  
> (require 'xma-autoloads "/home/xma/usr/share/emacs/autoloads")
> (require 'slime-autoloads)
> (load user-init-file)
>
> Hope that'll help.
>
>         Xavier
> --http://www.gnu.orghttp://www.april.orghttp://www.lolica.org



  parent reply	other threads:[~2008-10-22 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 14:08 Setting user-emacs-directory abc
2008-10-22  0:25 ` Xavier Maillard
     [not found] ` <mailman.1754.1224635369.25473.help-gnu-emacs@gnu.org>
2008-10-22 14:26   ` abc [this message]
2008-11-12 23:25     ` Xavier Maillard
2008-11-13  0:06 ` Juanma Barranquero
2008-11-13 23:25   ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2e473e9-b179-49cd-a62e-3ef45111a6ea@h60g2000hsg.googlegroups.com \
    --to=arcadiorubiogarcia@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.