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

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

bug#15272: 24.3.50; Cannot open load file tex-site


From: Sebastien Vauban
Subject: bug#15272: 24.3.50; Cannot open load file tex-site
Date: Thu, 05 Sep 2013 15:17:01 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Stefan Monnier wrote:
>> Using the latest one compiled by Dani (r114118), I have the following error:
>> --8<---------------cut here---------------start------------->8---
>> (info) Loading `d:/Users/fni/src/emacs-leuven/.emacs-minimal.el'...
>> M1
>> M2
>> eval-buffer: Cannot open load file: no such file or directory, tex-site
>> --8<---------------cut here---------------end--------------->8---
>
> Hmm... indeed I see that loading files from the <pkg>-autoloads.el is
> more common than I thought.

Please confirm or infirm this: They way I do use package is the right one?

--8<---------------cut here---------------start------------->8---
(require 'package)

;; archives from which to fetch
(setq package-archives
      (append '(("org"       . "http://orgmode.org/elpa/";)
                ("melpa"     . "http://melpa.milkbox.net/packages/";)
                ("marmalade" . "http://marmalade-repo.org/packages/";))
              package-archives))

(package-initialize)
--8<---------------cut here---------------end--------------->8---

I had read, somewhere, that `package-initialize' wasn't necessary as it now
*would* be done automatically (by Emacs) after the init is eval'ed.

Is this true?

Anyway, I've got the feeling it's too late: some packages must be loaded
before my customizations; for example, if I want to add something to a list
(which wouldn't exist yet, except if I protect all my code chunks in
eval-after-load constructions).

> You can work around the problem by re-installing auctex, and I'll fix it
> in the trunk so reinstalling is not needed.

Answer with the next Windows binary...

Best regards,
  Seb

-- 
Sebastien Vauban





reply via email to

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