From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zhang Wei Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode-prefix doen't work? Date: Sun, 06 Nov 2005 20:17:18 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <87br0y7yy9.fsf@lab.emacs.tsinghua.edu.cn> References: <87zmov5569.fsf@gmail.com> <878xwdpq1n.fsf@emacsfans.tsinghua.edu.cn> <87hdax2dm2.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131280291 19278 80.91.229.2 (6 Nov 2005 12:31:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Nov 2005 12:31:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 06 13:31:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYjf7-0004Z6-6h for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2005 13:30:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYjf6-0002KS-Ld for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Nov 2005 07:30:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!lab.emacs.tsinghua.edu.cn!news Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: tu059048.ip.tsinghua.edu.cn Original-X-Trace: news.cn99.com 1131280178 930 166.111.59.48 (6 Nov 2005 12:29:38 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sun, 6 Nov 2005 12:29:38 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:g/Ghy0PybAGcuCvyhL1+Yoa+W0Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:135272 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:30865 Archived-At: 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, 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."