From: Mandar Mitra <mandar.mitra@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: "emacs" and "emacs -q -l ~/.emacs.elc" behave differently
Date: Mon, 15 Oct 2012 23:53:02 +0530 [thread overview]
Message-ID: <20121015182302.GA21200@gmail.com> (raw)
In-Reply-To: <CAAeL0SQoy01CYUiPMWnn7SKcJJMMTRCvu3YF+Yc78XhWcsD9CA@mail.gmail.com>
Juanma Barranquero wrote (Mon, Oct 15, 2012 at 07:09:30PM +0200):
> On Mon, Oct 15, 2012 at 6:27 PM, mandar.mitra <mandar.mitra@gmail.com> wrote:
>
> > I was under the impression that running emacs and running
> > "emacs -q -l ~/.emacs.elc" would be the same
>
> Generally speaking, no. The sequence of actions will be different.
> Take a look at the "Startup Summary" node of the Emacs Lisp Reference
> Manual.
Thanks for the pointer!
More details in case anyone else finds this useful: init file loading
happens in step 12, and "command-line options that were not handled
earlier" (presumably this includes -l) are processed in step 21. In
between, it does a bunch of stuff like calling package-initialize,
after-init-hook, etc.
prev parent reply other threads:[~2012-10-15 18:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 16:27 "emacs" and "emacs -q -l ~/.emacs.elc" behave differently mandar.mitra
2012-10-15 17:09 ` Juanma Barranquero
2012-10-15 18:23 ` Mandar Mitra [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121015182302.GA21200@gmail.com \
--to=mandar.mitra@gmail.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.