From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: schmitt.bernd@googlemail.com Newsgroups: gmane.emacs.help Subject: controlling visibility in outline-(minor-)modus? Date: 31 May 2007 07:21:12 -0700 Organization: http://groups.google.com Message-ID: <1180621272.858209.266480@p47g2000hsd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1180628091 3153 80.91.229.12 (31 May 2007 16:14:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 May 2007 16:14:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 31 18:14:45 2007 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 1HtnIP-0003IA-Ua for geh-help-gnu-emacs@m.gmane.org; Thu, 31 May 2007 18:14:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtnIP-0008CH-Ax for geh-help-gnu-emacs@m.gmane.org; Thu, 31 May 2007 12:14:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p47g2000hsd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 61 Original-NNTP-Posting-Host: 130.83.156.186 Original-X-Trace: posting.google.com 1180621273 9007 127.0.0.1 (31 May 2007 14:21:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 31 May 2007 14:21:13 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20060927 BonEcho/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p47g2000hsd.googlegroups.com; posting-host=130.83.156.186; posting-account=38xjSQwAAADEbHEmD1YI-rms1mn2EA3t Original-Xref: shelby.stanford.edu gnu.emacs.help:148982 X-Mailman-Approved-At: Thu, 31 May 2007 12:14:25 -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:44571 Archived-At: Hello. I read the info-file about outline-modus, but some things are not clear to me. I put this at the end of my elisp-file: ; Local Variables: ; outline-regexp: ";;;;+" ; mode: outline-minor ; End: If i do (hide-body), I get something like this: ;;; el-test.el (add-hook 'write-file-hooks 'time-stamp) ;;;; key-map (global-set-key (kbd "C-S-") 'hide-entry) (global-set-key (kbd "C-S-") 'show-entry) (global-set-key (kbd "C-S-") 'hide-body) (global-set-key (kbd "C-S-") 'show-all) (global-set-key (kbd "C-x C-]") 'forward-page) (global-set-key (kbd "C-x C-[") 'backward-page) (global-set-key (kbd "C-x C-p") 'bernd-eval-commented-paragraph) (global-set-key (kbd "C-x C-c") 'save-buffers-kill-emacs) (defun bernd-lookup-key-global-map (kbd-key-name) ... (defun bernd-keyboard-generate-f-key-overview () ... ;;;;; buffer-management (defun fixate-window-buffer () ... (defun unfixate-window-buffer () ... (defun bernd-save-win-conf () ... (defun bernd-restore-win-conf () ... ;;;;; bernd-search (defun bernd-search-backward-word-at-point () ... (defun bernd-search-forward-word-at-point () ... (defun bernd-insert-to-buffer (buffer &rest args) ... (defun bernd-get-list-of-matches (regexp &optional rstart rend interactive) ... ;;;;; running & evaluating (defun bernd-eval-commented-paragraph () ... (defun bernd-run-command-on-file-at-point (command) ... ;;;; printing under windows (defun winprint-buffer () ... (defun winprint-file-at-point () ... (defun winprint-region () ... but what i would like to get only the headings like this: ;;; el-test.el ... ;;;; key-map ... ;;;;; buffer-management ... ;;;;; bernd-search ... ;;;;; running & evaluating ... ;;;; printing under windows ... what am i missing? are there variables/functions to control the visibility? Thanks for hints, urls, ... Bernd