From: David Kastrup <dak@gnu.org>
Subject: Re: loading site start before .emacs
Date: 18 May 2004 09:02:23 +0200 [thread overview]
Message-ID: <x5u0yep69s.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.5930.1084846695.1061.help-gnu-emacs@gnu.org
Micha Feigin <michf@post.tau.ac.il> writes:
> On Tue, May 18, 2004 at 01:08:46AM +0200, David Kastrup wrote:
> > Micha Feigin <michf@post.tau.ac.il> writes:
> >
> > > Is it possible (and are there any issues) to make the site startup
> > > files load before .emacs?
> > >
> > > the desktop package seems to have problems with a lot of things if they
> > > are not being loaded before desktop-read is called (I had issues with
> > > ecp and now with preview-latex).
> >
> > What issues? preview-latex should work fine with desktop as long as
> > the respective autoloads for AUCTeX (in tex-site.el) and
> > preview-latex have already been defined. This is not about _loading_
> > those packages, but about providing the necessary load information
> > when desktop-read decides to call upon them.
> >
>
> preview-latex is loaded automatically by the site file, so when I open
> new latex files it is available.
Obviously false. preview-latex might be added into the load-path by
your site file, but that appears to be about it.
> When using desktop, unless I add (load "preview-latex") before
> desktop-read then preview latex is not available for latex files
> opened by desktop for some reason.
(load "preview-latex") does not load preview-latex. Take a look at
that file's contents. It merely defines the autoloads for
preview-latex so that any references to preview-latex functions will
then cause preview-latex to be loaded. In addition, it enters the
preview-latex setup function into LaTeX-mode-hook.
In short: preview-latex is most certainly not loaded, and not even
initialized, automatically by the site file as you claim.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2004-05-18 7:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5898.1084833435.1061.help-gnu-emacs@gnu.org>
2004-05-17 23:08 ` loading site start before .emacs David Kastrup
2004-05-18 2:19 ` Micha Feigin
2004-05-18 14:07 ` Harry Putnam
[not found] ` <mailman.5930.1084846695.1061.help-gnu-emacs@gnu.org>
2004-05-18 7:02 ` David Kastrup [this message]
2004-05-18 9:15 ` Tim X
2004-05-18 12:16 ` Micha Feigin
2004-05-18 17:45 ` Stefan Monnier
2004-05-17 22:30 Micha Feigin
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=x5u0yep69s.fsf@lola.goethe.zz \
--to=dak@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.