unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: schmitt.bernd@googlemail.com
To: help-gnu-emacs@gnu.org
Subject: controlling visibility in outline-(minor-)modus?
Date: 31 May 2007 07:21:12 -0700	[thread overview]
Message-ID: <1180621272.858209.266480@p47g2000hsd.googlegroups.com> (raw)

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

             reply	other threads:[~2007-05-31 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 14:21 schmitt.bernd [this message]
2007-06-10  1:00 ` controlling visibility in outline-(minor-)modus? Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1180621272.858209.266480@p47g2000hsd.googlegroups.com \
    --to=schmitt.bernd@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).