emacs-devel
[Top][All Lists]
Advanced

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

Re: Package initialization


From: Dmitry Gutov
Subject: Re: Package initialization
Date: Mon, 20 Jul 2015 23:54:37 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 07/20/2015 08:01 PM, Helmut Eller wrote:

I have the impression that the left hand doesn't know what the right
hand wants.  In the manual they say that it's ok to add things to
auto-mode-alist, but then Stefan says that packages should not be
enabled automatically.

I agree we should have clearer guidelines there. The third-party community has had these discussions a couple of years ago (https://github.com/skeeto/skewer-mode/issues/22#issuecomment-18301023, https://github.com/purcell/elisp-slime-nav/pull/6), and the average consensus landed on not even modifying hooks inside autoloads (not something I necessarily agree with, but it's an okay guideline). Changing auto-mode-alist is usually okay, but even that can lead to problems: https://github.com/purcell/mmm-mode/issues/36

Also see https://github.com/bbatsov/emacs-lisp-style-guide/#loading-and-autoloading.



reply via email to

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