From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode-prefix doen't work? Date: Wed, 02 Nov 2005 11:19:24 +0100 Organization: The Church of Emacs Message-ID: 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 1130928690 4830 80.91.229.2 (2 Nov 2005 10:51:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 10:51:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 11:51:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXGCs-0001Pz-Nm for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 11:51:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXGCr-00064B-Go for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 05:51:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!colt.net!peernews3.colt.net!news0.de.colt.net!newsfeed.cw.net!news-FFM2.ecrc.de!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: sheridan.dina.kvl.dk Original-X-Trace: news.net.uni-c.dk 1130926818 27059 130.225.40.227 (2 Nov 2005 10:20:18 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Wed, 2 Nov 2005 10:20:18 +0000 (UTC) X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:USSzieBGanaApoMe7F7fI9m8b2s= Original-Xref: shelby.stanford.edu gnu.emacs.help:135165 Original-To: help-gnu-emacs@gnu.org 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:30756 Archived-At: 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.