From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode-prefix doen't work? Date: Wed, 02 Nov 2005 19:47:12 +0800 Organization: the Church of Emacs Message-ID: <87oe532rwf.fsf@williamxwl.com> References: <87zmov5569.fsf@gmail.com> <878xwdpq1n.fsf@emacsfans.tsinghua.edu.cn> <87hdax2dm2.fsf-monnier+gnu.emacs.help@gnu.org> <85zmooshla.fsf@lola.goethe.zz> <85wtjsped8.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130933675 20723 80.91.229.2 (2 Nov 2005 12:14:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 12:14:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 13:14:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXHUM-0000WD-P8 for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 13:13:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXHUL-0008PN-Q9 for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 07:13:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXH5R-00011V-Sq for help-gnu-emacs@gnu.org; Wed, 02 Nov 2005 06:47:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXH5O-0000zq-Mb for help-gnu-emacs@gnu.org; Wed, 02 Nov 2005 06:47:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXH5N-0000zd-WF for help-gnu-emacs@gnu.org; Wed, 02 Nov 2005 06:47:22 -0500 Original-Received: from [59.66.131.181] (helo=williamxu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXH5M-0002QW-2V for help-gnu-emacs@gnu.org; Wed, 02 Nov 2005 06:47:21 -0500 Original-Received: from williamxu ([127.0.0.1]) by williamxu with esmtp (Exim 3.36 #1 (Debian)) id 1EXH5F-0001kv-00 for ; Wed, 02 Nov 2005 19:47:13 +0800 Original-To: help-gnu-emacs@gnu.org In-Reply-To: (Per Abrahamsen's message of "Wed, 02 Nov 2005 11:19:24 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30759 Archived-At: Per Abrahamsen writes: > William Xu 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"))