emacs-devel
[Top][All Lists]
Advanced

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

Re: Package initialization


From: Stefan Monnier
Subject: Re: Package initialization
Date: Mon, 20 Jul 2015 18:25:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> 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.

> I think that's quite an important guideline that should be stated a bit
> more prominently in manual.

> It also seems to me that there is a certain conflict between what you
> say and this from the manual:

>   These autoload definitions are saved to a file named
>   ‘NAME-autoloads.el’ in the content directory.  They are typically used
>   to autoload the principal user commands defined in the package, but
>   they can also perform other tasks, such as adding an element to
>   ‘auto-mode-alist’.

I don't see a conflict there.  Opening a file with the particular
extension counts as an "explicit request".


        Stefan



reply via email to

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