From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "paul.mead" Newsgroups: gmane.emacs.help Subject: Re: won't load .emacs init file Date: Fri, 1 Aug 2008 02:47:51 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7679b0db-9692-4749-b583-35000c93c943@c65g2000hsa.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1217587365 10328 80.91.229.12 (1 Aug 2008 10:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 10:42:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 12:43:35 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 1KOs6g-0000Dp-7E for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 12:43:34 +0200 Original-Received: from localhost ([127.0.0.1]:47015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOs5l-0004r2-JW for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 06:42:37 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!c65g2000hsa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: 193.117.23.129 Original-X-Trace: posting.google.com 1217584071 10959 127.0.0.1 (1 Aug 2008 09:47:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 1 Aug 2008 09:47:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c65g2000hsa.googlegroups.com; posting-host=193.117.23.129; posting-account=0RWtKwkAAADW6vvkgzdLrsToqRwJmkP2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:160770 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:56118 Archived-At: On Aug 1, 9:38=A0am, "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 runni= ng > >>>> 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 se= t > >>>> 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 ini= t > >>> file perfectly, it just doesn't load when I start emacs. > >> Do you mean that if you start with > > >> =A0 =A0emacs -Q > > >> then the M-x load-file ~/.emacs works? > > > No, I just srart with > > =A0 =A0 =A0 emacs > > but loading the ~/.emacs file manually sets the config up ok. > > If you start with > > =A0 =A0emacs > > instead of > > =A0 =A0emacs -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' 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?