From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: won't load .emacs init file Date: Fri, 01 Aug 2008 18:51:36 +0200 Message-ID: <48933F18.5020203@gmail.com> References: <7679b0db-9692-4749-b583-35000c93c943@c65g2000hsa.googlegroups.com> 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: ger.gmane.org 1217609556 25156 80.91.229.12 (1 Aug 2008 16:52:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 16:52:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "paul.mead" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 18:53:26 2008 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 1KOxsT-00087N-Te for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 18:53:18 +0200 Original-Received: from localhost ([127.0.0.1]:57713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOxrZ-0007hn-Cs for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 12:52:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOxr4-0007fl-6Q for help-gnu-emacs@gnu.org; Fri, 01 Aug 2008 12:51:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOxr1-0007cU-IW for help-gnu-emacs@gnu.org; Fri, 01 Aug 2008 12:51:49 -0400 Original-Received: from [199.232.76.173] (port=47640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOxr0-0007bu-NN for help-gnu-emacs@gnu.org; Fri, 01 Aug 2008 12:51:47 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:59998) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KOxqz-0007Mh-W2 for help-gnu-emacs@gnu.org; Fri, 01 Aug 2008 12:51:46 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:62207 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KOxqy-000696-7A; Fri, 01 Aug 2008 18:51:44 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <7679b0db-9692-4749-b583-35000c93c943@c65g2000hsa.googlegroups.com> X-Antivirus: avast! (VPS 080801-0, 2008-08-01), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KOxqy-000696-7A. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KOxqy-000696-7A 7503766a5d2b3b37d43e2e9d9c8dcf53 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:56145 Archived-At: paul.mead wrote: > On Aug 1, 9:38 am, "Lennart Borgman (gmail)" > wrote: >> paul.mead wrote: >>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)" >>> wrote: >>>> paul.d.m...@googlemail.com wrote: >>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.com wrote: >>>>>> I'm running emacs under cygwin. For some reason my .emacs file is >>>>>> being ignored. >>>>>> The environment variable for HOME is reporting correctly as /home/ >>>>>> paul. That is where I have placed my .emacs file. I have tried running >>>>>> using --debug-init and it reports no errors. >>>>>> I have evaluated every line in the file in turn and they all work >>>>>> fine. It is as if it's running emacs -q, but there are NO aliases set >>>>>> or scripts which could be running instead. >>>>>> Close to my wits' end. Can you help? >>>>>> Thanks >>>>> Additional information - running M-x load-file ~/.emacs loads the init >>>>> file perfectly, it just doesn't load when I start emacs. >>>> Do you mean that if you start with >>>> emacs -Q >>>> then the M-x load-file ~/.emacs works? >>> No, I just srart with >>> emacs >>> but loading the ~/.emacs file manually sets the config up ok. >> If you start with >> >> emacs >> >> instead of >> >> emacs -Q >> >> then there is the possibility that something in your site-start.el or >> default.el changes HOME. > > Just tried that option - I get a message "Unknown option `-Q' That means you are running a quite old version of Emacs. Maybe the best way to proceed would be to upgrade your Emacs (if that is possible)? > Using emacs -q has the usual effect (in my case no different to using > just emacs) > > Using getenv, I can see that my HOME environment variable is reporting > corrcetly as /home/paul. I can't find how to get the value of user- > init-file. > > I don't know if this is relevant - I tried to run Customize and change > a value in there. When I tried to save changed is gave me an error > message "Saving settings from "emacs -q" would overwrite existing > customizations" - that suggests that I am using emacs -q to start, but > I'm not. There are no aliases set, is there anywhere else that a > configuration file could be hiding? >