unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: abc <arcadiorubiogarcia@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Setting user-emacs-directory
Date: Wed, 22 Oct 2008 02:25:29 +0200	[thread overview]
Message-ID: <200810220025.m9M0PTT5018863@zogzog.maillard.mobi> (raw)
In-Reply-To: <1e908a82-ab50-4240-85cd-9092b94a97ab@y29g2000hsf.googlegroups.com> (message from abc on Tue, 21 Oct 2008 07:08:15 -0700 (PDT))

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.org
http://www.april.org
http://www.lolica.org




  reply	other threads:[~2008-10-22  0:25 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 [this message]
     [not found] ` <mailman.1754.1224635369.25473.help-gnu-emacs@gnu.org>
2008-10-22 14:26   ` abc
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200810220025.m9M0PTT5018863@zogzog.maillard.mobi \
    --to=xma@gnu.org \
    --cc=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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).