[Top][All Lists]

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

Re: window.el has no provide

From: Stefan Monnier
Subject: Re: window.el has no provide
Date: Thu, 12 Feb 2015 16:12:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> My init generates requires for all packages I have configurations for which
> is why I’m requiring ‘window in the first place.

Beware: some config vars can move because of file-renamings, so the
`require' might then fail.  Other problems can be that some custom vars
might be in files which shouldn't directly be required (you should
require the "parent" file instead).

FWIW, I don't have a single `require' in my ~/.emacs which sits at
about 60KB.

Usually `require' is needed in Elisp packages, but not in ~/.emacs.
So if/when you do need it there, it's worth reporting it via
M-x report-emacs-bug: there are definitely cases where it's not a bug
that the user needs to do a `require', but for "normal" use it
shouldn't be needed.

> Real problem or not, I thought it was weird that there was no provide.

Many of the preloaded files aren't really considered as independent
packages, instead they're just a convenient place to group related
functionality of the base system.
So they don't come with a `provide' statement.
I think it's good to structure even this "base system" as "independent"
packages, but there are many other things which would be nice, so we
can't do them all.


reply via email to

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