all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* controlling visibility in outline-(minor-)modus?
@ 2007-05-31 14:21 schmitt.bernd
  2007-06-10  1:00 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: schmitt.bernd @ 2007-05-31 14:21 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: controlling visibility in outline-(minor-)modus?
  2007-05-31 14:21 controlling visibility in outline-(minor-)modus? schmitt.bernd
@ 2007-06-10  1:00 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2007-06-10  1:00 UTC (permalink / raw)
  To: help-gnu-emacs

> I put this at the end of my elisp-file:
>     ; Local Variables:
>     ; outline-regexp: ";;;;+"
>     ; mode: outline-minor
>     ; End:

Have you tried to set outline-level to nil as well.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-10  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 14:21 controlling visibility in outline-(minor-)modus? schmitt.bernd
2007-06-10  1:00 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.