From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: change location of .emacs Date: Thu, 22 Feb 2007 06:26:00 +0200 Message-ID: References: <871wkjpiaz.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1172118387 24876 80.91.229.12 (22 Feb 2007 04:26:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2007 04:26:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 22 05:26:21 2007 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 1HK5XA-0002yH-Sn for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Feb 2007 05:26:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HK5X9-0001O2-FV for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Feb 2007 23:26:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HK5Ww-0001Nf-PY for help-gnu-emacs@gnu.org; Wed, 21 Feb 2007 23:26:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HK5Wu-0001NT-EM for help-gnu-emacs@gnu.org; Wed, 21 Feb 2007 23:26:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HK5Wu-0001NQ-8y for help-gnu-emacs@gnu.org; Wed, 21 Feb 2007 23:26:04 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HK5Wt-0006n0-HE for help-gnu-emacs@gnu.org; Wed, 21 Feb 2007 23:26:03 -0500 Original-Received: from HOME-C4E4A596F7 ([81.5.48.28]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GCJ06244 (AUTH halo1); Thu, 22 Feb 2007 06:25:57 +0200 (IST) In-reply-to: (message from Maarten Bergvelt on Wed, 21 Feb 2007 19:33:03 +0000 (UTC)) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:41400 Archived-At: > From: Maarten Bergvelt > Date: Wed, 21 Feb 2007 19:33:03 +0000 (UTC) > >> > >> emacs -q -l lispdirectory/your.emacs.file > > > > This suggestion could have surprising effects, as loading .emacs via > > the -l switch is subtly different from what Emacs does when it finds > > .emacs in the user's home directory. > > Hm, I didn't realize this. What can go wrong? Emacs loads .emacs at a specific stage in its initialization; doing that after the initialization will work differently. For example, initial-frame-alist will not have its full effect. > Well, the OP didn't want to have a .emacs in his home directory, if I > understood him correctly. I think he only wanted to maintain the bulk of it elsewhere. But that's a guess; you may well be right (although I fail to see how the existence of .emacs can be of any burden).