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: Sun, 3 Aug 2008 04:33:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3c0cb972-8ed9-4dad-b64a-de6ed7e3cd03@r66g2000hsg.googlegroups.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 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1217763721 23314 80.91.229.12 (3 Aug 2008 11:42:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Aug 2008 11:42: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 Sun Aug 03 13:42:52 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 1KPbz8-0004cm-Ki for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 13:42:50 +0200 Original-Received: from localhost ([127.0.0.1]:34821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPbyD-0008Ie-Qm for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 07:41:53 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r66g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: 82.0.213.30 Original-X-Trace: posting.google.com 1217763184 13450 127.0.0.1 (3 Aug 2008 11:33:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 3 Aug 2008 11:33:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r66g2000hsg.googlegroups.com; posting-host=82.0.213.30; posting-account=0RWtKwkAAADW6vvkgzdLrsToqRwJmkP2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:160833 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:56179 Archived-At: On Aug 1, 5:51=A0pm, "Lennart Borgman (gmail)" wrote: > 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 run= ning > >>>>>> 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 i= nit > >>>>> 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' > > 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? Thanks, I'll give that a try. Never compiled anything under cygwin, should be a learning experience ;-)