all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "paul.mead" <paul.d.mead@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: won't load .emacs init file
Date: Fri, 1 Aug 2008 02:47:51 -0700 (PDT)	[thread overview]
Message-ID: <7679b0db-9692-4749-b583-35000c93c943@c65g2000hsa.googlegroups.com> (raw)
In-Reply-To: mailman.15697.1217579952.18990.help-gnu-emacs@gnu.org

On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> paul.mead wrote:
> > On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> > <lennart.borg...@gmail.com> 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'

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?


  parent reply	other threads:[~2008-08-01  9:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 14:00 won't load .emacs init file paul.d.mead
2008-07-31 14:19 ` paul.d.mead
2008-07-31 22:33   ` Lennart Borgman (gmail)
2008-08-01  8:16   ` Nikolaj Schumacher
     [not found]   ` <mailman.15676.1217543598.18990.help-gnu-emacs@gnu.org>
     [not found]     ` <c7359844-354e-44a3-92cf-3b69b74fe277@a1g2000hsb.googlegroups.com>
2008-08-01  8:38       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.15697.1217579952.18990.help-gnu-emacs@gnu.org>
2008-08-01  9:47         ` paul.mead [this message]
2008-08-01 16:51           ` Lennart Borgman (gmail)
     [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
2008-08-03 11:33             ` paul.mead
2008-08-03 12:14               ` paul mead
2008-08-05  8:56             ` paul.mead
2008-08-14 15:45               ` paul.mead
2008-08-14 15:49                 ` paul.mead

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7679b0db-9692-4749-b583-35000c93c943@c65g2000hsa.googlegroups.com \
    --to=paul.d.mead@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.