From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode-prefix doen't work? Date: Sun, 06 Nov 2005 13:50:39 +0100 Organization: Organization?!? Message-ID: <858xw2uehs.fsf@lola.goethe.zz> References: <87zmov5569.fsf@gmail.com> <878xwdpq1n.fsf@emacsfans.tsinghua.edu.cn> <87hdax2dm2.fsf-monnier+gnu.emacs.help@gnu.org> <87br0y7yy9.fsf@lab.emacs.tsinghua.edu.cn> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131281754 22462 80.91.229.2 (6 Nov 2005 12:55:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2005 12:55:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 13:55:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYk3J-0002N9-Ep for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2005 13:55:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYk3I-00076n-IT for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2005 07:55:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!news-FFM2.ecrc.de!newsfeed.stueberl.de!uucp.gnuu.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:/vFlqTQ8kWv1lzt2IfqB0/vY4lU= Original-Lines: 33 Original-NNTP-Posting-Date: 06 Nov 2005 13:50:46 MET Original-NNTP-Posting-Host: 501c3259.newsread4.arcor-online.net Original-X-Trace: DXC=Z^mZZK3WAC\kVRFeeUa4iQ:ejgIfPPldTjW\KbG]kaMX1BZS; MmC65V; YY]C_N8_KTQ1Yo0:e7@P[c[Wn>\JAZHPEc?`[F:Wf@\Mk2kP7? 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:30866 Archived-At: Zhang Wei writes: > Stefan Monnier writes: > >> Why do you need to (require 'outline)? > > If (setq outline-minor-mode-prefix "\C-o") is put before any statement involve > outline mode, such as (setq default-major-mode 'outline), it will take effect, > otherwise it won't. > > So (require 'outline) could _guarantee_ > (setq outline-minor-mode-prefix "\C-o") takes effect, No. If outline is loaded before the setting of outline-minor-mode-prefix, (require 'outline) will not magically make it become reloaded again. If outline is not loaded before the setting of outline-minor-mode-prefix, one does not need the (require 'outline) to guarantee that it won't be loaded before the setting. And requiring outline will not make the stuff work when it is already loaded. > though it's ugly, but it's better than talking about: "Put it as the > first statement of your .emacs file, or you may suck." No, it isn't better. It is snake oil: it helps in absolutely no case at all, and it causes additional startup delays for no conceivable reason whatsoever. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum