[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting user-emacs-directory
From: |
abc |
Subject: |
Re: Setting user-emacs-directory |
Date: |
Wed, 22 Oct 2008 07:26:30 -0700 (PDT) |
User-agent: |
G2/1.0 |
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