From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bev Newsgroups: gmane.emacs.help Subject: Open Outline-mode file in collapsed state Date: Mon, 24 Mar 2008 20:28:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206421519 30517 80.91.229.12 (25 Mar 2008 05:05:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 05:05:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 25 06:05:49 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Je1LW-0005t3-QR for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2008 06:05:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Je1Kv-0002qW-Oe for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Mar 2008 01:04:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d21g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 67.164.66.199 Original-X-Trace: posting.google.com 1206415688 6604 127.0.0.1 (25 Mar 2008 03:28:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 25 Mar 2008 03:28:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d21g2000prf.googlegroups.com; posting-host=67.164.66.199; posting-account=BmgeLAoAAAD1M9a8l4SdHemxlRwuAbRB User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7 SUSE/1.0.7-0.1,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157305 X-Mailman-Approved-At: Tue, 25 Mar 2008 01:04:13 -0400 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:52676 Archived-At: Hi all. I'd like to figure out a way to open an outline file in it's fully collapsed state, so that all I see is the headers. As things stand now, when I open a file in outline-mode it's fully expanded and I have to run \C-c \C-q - (hide-subtrees) - to get it into the collapsed state. It's a bore to have to do that every single time I open one of those files. I tried adding (eval-after-load (hide-subtrees)) to the outline-mode- hook, but that doesn't work. Any ideas? Thanks Bev