From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Setting user-emacs-directory Date: Wed, 22 Oct 2008 02:25:29 +0200 Organization: GNU's Not UNIX! Message-ID: <200810220025.m9M0PTT5018863@zogzog.maillard.mobi> References: <1e908a82-ab50-4240-85cd-9092b94a97ab@y29g2000hsf.googlegroups.com> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224635459 5649 80.91.229.12 (22 Oct 2008 00:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 00:30:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: abc Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 02:31:59 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KsRdi-0000rh-Cq for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 02:31:54 +0200 Original-Received: from localhost ([127.0.0.1]:56140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsRcc-0001jk-Uy for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 20:30:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsRbL-00015y-P2 for help-gnu-emacs@gnu.org; Tue, 21 Oct 2008 20:29:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsRbK-00015G-Nn for help-gnu-emacs@gnu.org; Tue, 21 Oct 2008 20:29:26 -0400 Original-Received: from [199.232.76.173] (port=36438 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsRbK-000151-6Y for help-gnu-emacs@gnu.org; Tue, 21 Oct 2008 20:29:26 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]:37980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsRbJ-0002Zw-TT for help-gnu-emacs@gnu.org; Tue, 21 Oct 2008 20:29:26 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 0A2D3F6DA1; Wed, 22 Oct 2008 02:28:11 +0200 (CEST) Original-Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.2/8.13.8) with ESMTP id m9M0PTo6018864; Wed, 22 Oct 2008 02:25:29 +0200 Original-Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.2/8.13.8/Submit) id m9M0PTT5018863; Wed, 22 Oct 2008 02:25:29 +0200 In-reply-to: <1e908a82-ab50-4240-85cd-9092b94a97ab@y29g2000hsf.googlegroups.com> (message from abc on Tue, 21 Oct 2008 07:08:15 -0700 (PDT)) User-Agent: Rmail in GNU Emacs 23.0.60.12 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.4, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59013 Archived-At: 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