[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outline-minor-mode-prefix doen't work?
From: |
William Xu |
Subject: |
Re: outline-minor-mode-prefix doen't work? |
Date: |
Wed, 02 Nov 2005 19:47:12 +0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> William Xu <william.xwl@gmail.com> writes:
>
>> The point is that setting of outline-minor-mode-prefix should be done
>> before loading outline.el, or more exactly, defining the keymap. Do we
>> agree on this? If yes, adding (require 'outline) afterwards is just
>> explicitly to guarantee this.
>
> The point Stefan and David are trying to make is that Emacs packages
> are in general designed to be loaded as late as possible, and relying
> on autoload are therefore better than using an explicit require.
>
> You can, again in general, do lots of customizations to a package
> before it is loaded.
>
> The reason Emacs work like this is to make upstart faster, and avoid
> loading stuff that might not be used in a given session.
>
> Some independently developed packages are designed to take effect just
> by loading them, but the Emacs developers try to fix that before
> including them in the main distribution.
Thanks. That helps a lot.
--
William
((email . "william.xwl@gmail.com")
(blog . "http://matchsticker.mysmth.net"))
Re: outline-minor-mode-prefix doen't work?, Zhang Wei, 2005/11/06