[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package initialization
From: |
Stefan Monnier |
Subject: |
Re: Package initialization |
Date: |
Sun, 19 Jul 2015 20:11:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Before the package stuff everybody had this in .emacs:
> (require 'slime-autoloads)
> (slime-setup)
> Now with the package stuff the (require 'slime-autoloads) line is
> unnecessary. But additionally somebody claimed that it's idiomatic to
> call slime-setup automatically in slime-autoloads.
> I quite like to see the explicit call to slime-setup in my .emacs, but
> others might not.
Since it's a configuration choice, it should not be imposed by the
autoloads file. Instead, the way this is normally handled is by making
a slime-minor-mode, which when enabled does something like
(slime-setup), and when disabled, undoes it.
The important aspect is that it should be possible to install a package
without using it, so the autoloads file should only set things up so
that they *can* be used, but not so that they're automatically used
without being explicitly requested.
Stefan
- Re: Package initialization, (continued)
- Re: Package initialization, Helmut Eller, 2015/07/19
- Re: Package initialization, Stephen J. Turnbull, 2015/07/19
- Re: Package initialization, Helmut Eller, 2015/07/20
- Re: Package initialization, Chad Brown, 2015/07/20
- Re: Package initialization, Helmut Eller, 2015/07/20
- Re: Package initialization, Artur Malabarba, 2015/07/20
- Re: Package initialization, Dmitry Gutov, 2015/07/20
- Re: Package initialization, Stephen J. Turnbull, 2015/07/21
- Re: Package initialization, Helmut Eller, 2015/07/21
- Re: Package initialization, Eli Zaretskii, 2015/07/19
- Re: Package initialization,
Stefan Monnier <=
- Re: Package initialization, Helmut Eller, 2015/07/20
- Re: Package initialization, Stefan Monnier, 2015/07/20
- Re: Package initialization, Stephen J. Turnbull, 2015/07/21
- Re: Package initialization, David Kastrup, 2015/07/21
- Re: Package initialization, Helmut Eller, 2015/07/21