Commit graph

52 commits

Author SHA1 Message Date
Stefan Monnier
cb27312117 (outline-mode-prefix-map): Add bindings for outline-promote and outline-demote.
(outline-minor-mode-menu-bar-map): New var.
(outline-minor-mode): Use it.
(outline-heading-alist): New var (renamed from outline-level-heading).
(outline-level): Use it.
(outline-insert-heading, outline-promote, outline-demote):
Update to use outline-heading-alist.
2001-12-02 08:39:39 +00:00
Stefan Monnier
a16db7fe3c (outline-promote, outline-demote): Typo. 2001-11-30 09:23:19 +00:00
Stefan Monnier
7d7715b5f6 (outline-up-heading): Add `invisible-ok' arg.
(outline-up-heading-all): Remove.
(hide-sublevels): Move to end-of-heading before calling flag-region.
(outline-copy-overlay, outline-discard-overlays): Remove.
(outline-flag-region): Use `remove-overlays'.
Don't move to end-of-heading.
(outline-next-visible-heading, outline-back-to-heading)
(outline-on-heading-p): Use outline-invisible-p.
(outline-font-lock-level): Use outline-up-heading's new arg.
(outline-minor-mode): Simplify.
(outline-map-tree, outline-reveal-toggle-invisible): New funs.
(outline): Put a `reveal-toggle-invisible' property.
(outline-level-heading): New var.
(outline-insert-heading, outline-promote, outline-demote)
(outline-toggle-children): New commands.
2001-11-29 02:15:03 +00:00
Richard M. Stallman
89889a00ac (outline-regexp): Doc fix.
Initialize it in the defcustom, the usual way.
2001-09-12 20:42:08 +00:00
Gerd Moellmann
ac7b494762 (outline-mode): Use `^' and a shy group
when constructing imenu-generic-expression from outline-regexp.
2001-09-11 08:30:54 +00:00
Stefan Monnier
393d2dbf4a (outline-mode): Fix font-lock-defaults.
(outline-invisible-p): New function.
(hide-leaves): Save excursion.
(hide-other): Stop looping when reaching bobp.
2001-05-28 12:21:59 +00:00
Gerd Moellmann
21975a1fd9 (outline-font-lock-level): Remove the
condition-case, test what outline-level returns instead, to ease
debugging.
2001-05-16 11:35:43 +00:00
Dave Love
ae4eaaada5 (outline-mode) <font-lock-defaults>: Add
backward-paragraph as font-lock-beginning-of-syntax-function.
2001-01-23 11:56:21 +00:00
Stefan Monnier
75056d4015 (outline-discard-overlays): Missing paren. 2000-11-23 00:41:42 +00:00
Stefan Monnier
9cd5d49aee (outline-flag-region):
Don't bind inhibit-read-only since we don't modify the buffer.
(outline-isearch-open-invisible): Don't jump to overlay-start
since we're trying to unhide text around point.
(outline-discard-overlays): Use dolist.
2000-11-23 00:04:36 +00:00
Stefan Monnier
d8c201f535 (outline-minor-mode): Use define-minor-mode.
(outline-mode): Use define-derived-mode.
2000-09-29 03:36:26 +00:00
Stefan Monnier
7e86942c8a (outline-minor-mode): Don't quote lambda. 2000-08-16 20:34:25 +00:00
Dave Love
a23cf8c2bd Fix year ranges in copyright notice. 2000-01-31 22:21:01 +00:00
Dave Love
c90e1eb8a8 Copyright up-date. 2000-01-05 22:59:31 +00:00
Dave Love
7549d20746 (outline-mode-menu-bar-map): Add outline-headers-as-kill.
(outline-mode): Define imenu-generic-expression.
(outline-headers-as-kill): New command.
2000-01-05 22:47:58 +00:00
Richard M. Stallman
fd702fdb11 (outline-previous-heading): New function.
(outline-up-heading-all): Use outline-previous-heading.
(outline-next-heading): Delete definition inserted yesterday.
1999-08-05 14:50:30 +00:00
Richard M. Stallman
39db9c5c69 (outline-next-heading): New function.
(outline-up-heading-all): New function.
(outline-font-lock-level): Using outline-up-heading-all.
Tell outline-back-to-heading to accept invisible headings.
1999-08-01 16:26:59 +00:00
Karl Heuer
9ab2d2839d (outline-regexp): Doc fix. 1999-04-26 05:14:12 +00:00
Karl Heuer
7da6666ad9 (outline-back-to-heading): fix invisible-ok. 1999-03-09 03:13:28 +00:00
Karl Heuer
7abbd5fe02 (outline-get-last-sibling): Doc fix. 1999-03-05 23:01:03 +00:00
Dave Love
4679533511 (hide-region-body): Bind
outline-view-change-hook to nil while making repeated calls to
outline-flag-region.  Run it once at the end.
(hide-other, hide-sublevels, show-children): Likewise.
1998-10-02 14:38:12 +00:00
Richard M. Stallman
41bee2813d (outline-discard-overlays):
Interpret PROP as a value for `invisible', not as property name.
1998-04-27 01:41:22 +00:00
Karl Heuer
f06552d463 (outline-font-lock-level): New function. 1998-04-15 06:28:28 +00:00
Dan Nicolaescu
8d4d1e65d5 *** empty log message *** 1998-04-08 19:38:37 +00:00
Dan Nicolaescu
f35605f3d3 *** empty log message *** 1998-04-08 19:29:35 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Karl Heuer
1122ecea84 (outline-next-preface):
Don't try to move back if already at beginning of buffer.
1997-12-07 21:49:09 +00:00
Karl Heuer
ef5c41bd83 (outline-font-lock-keywords): Highlight the
whole line, not just the part that matches the regexp.
1997-10-24 19:37:53 +00:00
Karl Heuer
dafc511c1d (outline-back-to-heading): New arg INVISIBLE-OK.
(outline-on-heading-p):
(show-entry): If the heading is invisible, show it too.
(hide-other):
1997-10-15 23:48:01 +00:00
Richard M. Stallman
167bed8638 (outline-up-heading): Avoid infinite loop at beginning of buffer. 1997-09-20 00:32:30 +00:00
Richard M. Stallman
24b96659f1 (outline-discard-overlays): Don't use let inside a cycle. 1997-06-24 02:26:42 +00:00
Richard M. Stallman
65c1b8a19e (outline-mode): Use `add-to-invisibility-spec' and
set the invisible property to `outline'.
(outline-minor-mode): Likewise.
Also, use `remove-from-invisibility-spec'.
(outline-flag-region): Set `outline' as the invisible property.
1997-05-17 03:12:03 +00:00
Richard M. Stallman
1438d2d528 Fix customization change. 1997-05-07 04:01:44 +00:00
Richard M. Stallman
322454d48d (outline-mode): Autoload cookie added.
(outline-minor-mode): Likewise.
1997-05-07 03:57:01 +00:00
Richard M. Stallman
c6a04157c1 Use defgroup and defcustom. 1997-05-07 03:54:03 +00:00
Richard M. Stallman
7e60d5d365 (outline-discard-overlays): Fix the case
where an overlay extends on both sides of the region.
(outline-mark-subtree): New function.
(outline-mode-prefix-map): Put outline-mark-subtree on C-c @.
1997-03-26 07:30:26 +00:00
Richard M. Stallman
48cbe093bb (outline-discard-overlays): Fix the case
where an overlay extends on both sides of the region.
1997-03-26 06:05:58 +00:00
Richard M. Stallman
21cd2849ae (outline-discard-overlays):
Use overlays-in, to ensure we get rid of empty overlays.
1996-12-14 22:24:35 +00:00
Richard M. Stallman
be166d1726 (outline-minor-mode): No longer permanent local. 1996-06-26 18:03:44 +00:00
Richard M. Stallman
56ade26139 (outline-up-heading): Fix error message.
(outline-backward-same-level, outline-forward-same-level): Likewise.
1996-06-20 19:22:11 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
203108d8e6 (outline-view-change-hook): New hook variable.
(outline-flag-region): Run the hook.
1995-10-20 23:15:02 +00:00
Richard M. Stallman
b297554a28 (outline-next-visible-heading): Rewritten to handle
backwards motion and handle beg/end of buffer properly.
1995-07-19 03:19:03 +00:00
Richard M. Stallman
7ca5423eb9 Provide noutline as well as outline. 1995-05-07 17:32:17 +00:00
Richard M. Stallman
3595955ca6 All autoload cookies disabled. 1995-05-06 01:52:22 +00:00
Richard M. Stallman
ac1eea7911 (outline-minor-mode-prefix): Change to C-c @. 1995-05-02 01:50:32 +00:00
Karl Heuer
a57c6a283a (outline-minor-mode): Use force-mode-line-update. 1995-04-25 22:27:27 +00:00
Richard M. Stallman
612abcae5d Comment change. 1995-04-14 23:24:11 +00:00
Richard M. Stallman
6e2fb845ba entered into RCS 1995-03-14 05:43:48 +00:00