From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: abc Newsgroups: gmane.emacs.help Subject: Setting user-emacs-directory Date: Tue, 21 Oct 2008 07:08:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1e908a82-ab50-4240-85cd-9092b94a97ab@y29g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224600421 12179 80.91.229.12 (21 Oct 2008 14:47:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 14:47:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 16:47:50 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 1KsITB-00088b-4o for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 16:44:25 +0200 Original-Received: from localhost ([127.0.0.1]:39249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsIS5-0007CU-Sg for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 10:43:17 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!y29g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 80.167.171.121 Original-X-Trace: posting.google.com 1224598095 29547 127.0.0.1 (21 Oct 2008 14:08:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 21 Oct 2008 14:08:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y29g2000hsf.googlegroups.com; posting-host=80.167.171.121; posting-account=x0DxoAoAAAAiEcu3CQhdtzJIGAmMw1Ns User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; es-es) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163643 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:58985 Archived-At: Hi everyone, I'm a recent Emacs convert. I'm trying to customize a little bit GNU Emacs 23 for my Mac OS X system. 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'd like to know if there's a cleaner way to do this other than editing Emacs scripts (subr.el), e.g. by setting some environment variables. I've tried to set the user-emacs-directory from my init file, but Emacs ignores me, and still creates auto-save-list inside ~/.emacs.d. Thanks in advance.