From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Inexplicable flaw: non-overridable .emacs Date: Sat, 17 Mar 2007 09:11:15 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174144331 7581 80.91.229.12 (17 Mar 2007 15:12:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Mar 2007 15:12:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 17 16:11:56 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 1HSaZY-0004od-9W for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Mar 2007 16:11:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSaan-00058G-7c for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Mar 2007 10:13:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HSaaa-00057v-G5 for help-gnu-emacs@gnu.org; Sat, 17 Mar 2007 11:13:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HSaaX-00057U-Rs for help-gnu-emacs@gnu.org; Sat, 17 Mar 2007 11:12:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSaaX-00057R-MK for help-gnu-emacs@gnu.org; Sat, 17 Mar 2007 10:12:57 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HSaZI-0005q7-Cq for help-gnu-emacs@gnu.org; Sat, 17 Mar 2007 11:11:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HSaZ9-0003Pb-Gh for help-gnu-emacs@gnu.org; Sat, 17 Mar 2007 16:11:31 +0100 Original-Received: from c-67-162-159-170.hsd1.co.comcast.net ([67.162.159.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Mar 2007 16:11:31 +0100 Original-Received: from kevin.d.rodgers by c-67-162-159-170.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Mar 2007 16:11:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-162-159-170.hsd1.co.comcast.net User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:42031 Archived-At: kj wrote: > In Eli Zaretskii writes: > >>> From: kj >>> Date: Thu, 15 Mar 2007 18:15:15 +0000 (UTC) >>> >>> Please correct me if I'm wrong, it is my understanding that one >>> cannot use a command-line switch to tell emacs to read a config >>> file *other* than the standard ~/.emacs. > >> You are only partly wrong: Emacs has a --load command-line switch that >> would load any file you name. But such loading is not 100% equivalent >> to how Emacs loads a .emacs file, because .emacs is read at a certain >> point during the Emacs session startup, while files given via --load >> are read at a different point. So the effects could be subtly >> different, especially with respect to display setup. > > That's good to know, thanks, but, again, I'm puzzled: why would > Emacs treat ~/.emacs differently from a user-specified alternative? Because ~/.emacs is loaded between default.el and site-start.el, after the so-called initial command line options are processed but before the so-called action options. If your installation doesn't have a site-start.el file, you should be OK -- modulo display setup, as Eli points out. > It seems perversely unaccommodating on Emacs' part (even if only > in a passive-agressive sort of way :) ) -- Kevin Rodgers Denver, Colorado, USA