[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
controlling visibility in outline-(minor-)modus?
From: |
schmitt . bernd |
Subject: |
controlling visibility in outline-(minor-)modus? |
Date: |
31 May 2007 07:21:12 -0700 |
User-agent: |
G2/1.0 |
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-<up>") 'hide-entry)
(global-set-key (kbd "C-S-<down>") 'show-entry)
(global-set-key (kbd "C-S-<left>") 'hide-body)
(global-set-key (kbd "C-S-<right>") '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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- controlling visibility in outline-(minor-)modus?,
schmitt . bernd <=