unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: default startup mode
Date: Mon, 08 Aug 2005 13:32:13 -0600	[thread overview]
Message-ID: <dd8bvu$ssh$1@sea.gmane.org> (raw)
In-Reply-To: <873bpmy6va.fsf@wash.edu>

Baloff wrote:
 > I went looking for info about startup and found
 >
 > Initial Options
 > ===============
 >
 > ...
 >    Some initial options affect the loading of init files.  The normal
 > actions of Emacs are to first load `site-start.el' if it exists, then
 > your own init file `~/.emacs' if it exists, and finally `default.el' if
 > it exists; certain options prevent loading of some of these files or
 > substitute other files for them.
 >
 >
 > how do I find out if "in my case" all 3 files started up or any did
 > not.

If you look at the code in startup.el, you can see that user-init-file
is set to nil if ~/.emacs was not loaded, otherwise it should be the
full path to the file.  Emacs respects the inhibit-default-init file,
unless it it's non-nil the default library should have been loaded.
Similarly, unless site-run-file is nil the site-start library should
have been loaded.

However it is possible that any of those files was partially loaded,
then aborted due to errors.  I don't know if it's possible to detect
those cases after the fact, but if you're concerned you should start
emacs with the --debug-init option.

-- 
Kevin Rodgers

      reply	other threads:[~2005-08-08 19:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-03 22:38 default startup mode Baloff
2005-08-04 15:19 ` Kevin Rodgers
2005-08-06 18:13   ` Christian Plate
2005-08-06 18:53     ` Peter Dyballa
     [not found]     ` <878xzf7x3b.fsf-f2P8RtOhboYi5CQI31g/s0B+6BGkLq7r@public.gmane.org>
2005-08-06 18:58       ` Jochen Küpper
     [not found] ` <mailman.2587.1123169657.20277.help-gnu-emacs@gnu.org>
2005-08-06 23:37   ` Baloff
2005-08-08 19:32     ` Kevin Rodgers [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='dd8bvu$ssh$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).