help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: winows emacs - portable app


From: Eli Zaretskii
Subject: Re: winows emacs - portable app
Date: Wed, 19 Apr 2006 20:47:42 +0300

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Wed, 19 Apr 2006 08:08:36 -0700
> 
>     > M-x load-file
> 
>     But note that this will not always have the same effect as loading
>     .emacs as an init file, because Emacs loads the init file half way
>     through its startup procedure, precisely in time to customize certain
>     aspects of the appearance before they are set to default.  For
>     example, if your .emacs is setting parameters of the initial frame,
>     those settings will not work if you load .emacs after startup.
> 
> I'm not an expert here, and I don't know how you happen to launch Emacs, but
> if you do it from (the equivalent of) a command line, and you use the "-l"
> option to load a file, then the same processing that Eli described for
> .emacs will take place for that file. At least that's what I find wrt the
> initial frame, standalone minibuffer frame etc.

Loading .emacs from the command line is similar, but not identical to
loading it automatically from the user's home directory.  For example,
the after-init-hook is run _before_ any files mentioned on the command
line are loaded.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]