changeset 41623:8cf1bafe44b1

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 28 Nov 2001 07:26:37 +0000
parents 2c3898d7bbef
children 7ccd94cedad7
files etc/NEWS lisp/ChangeLog
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Wed Nov 28 07:25:03 2001 +0000
+++ b/etc/NEWS	Wed Nov 28 07:26:37 2001 +0000
@@ -168,6 +168,12 @@
 change the `fill-column', `window-margins' and `tab-stop-list'
 settings.
 
+*** The reveal.el package provides the minor modes `reveal-mode' and
+`global-reveal-mode' which will make text visible on the fly as you
+move your cursor into hidden region of the buffer.
+It should work with any package that uses overlays to hide parts
+of a buffer, such as outline-minor-mode, hs-minor-mode, hide-ifdef-mode, ...
+
 *** master-mode.el implements a minor mode for scrolling a slave
 buffer without leaving your current buffer, the master buffer.
 
--- a/lisp/ChangeLog	Wed Nov 28 07:25:03 2001 +0000
+++ b/lisp/ChangeLog	Wed Nov 28 07:26:37 2001 +0000
@@ -1,3 +1,27 @@
+2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
+
+	* reveal.el: New file.
+
+	* progmodes/hideif.el: Misc cleanup.
+	(hide-ifdef-mode-submap): Put the def in the defvar.
+	Use substitute-key-definition.
+	(hide-ifdef-mode): Use define-minor-mode.
+	(hif-outline-flag-region): Remove.
+	(hif-show-all): Define in terms of hif-show-ifdef-region.
+	(hif-after-revert-function): Rename from hif-before-revert-function.
+	(hide-ifdef-region, hif-show-ifdef-region): Use overlays.
+	(hif-tokenize): Use with-syntax-table.
+	(hif-make-range): Use `else' also for `else-p'.
+	(hif-range-else-p): Remove.
+	(hif-find-range): Simplify.
+	(hif-hide-line): Don't bother preserving buffer-modified-p.
+	(hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
+	Don't use selective-display and inhibit-read-only.
+
+	* subr.el (copy-overlay, remove-overlays): New funs.
+
+	* emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
+
 2001-11-27  Sam Steingold  <sds@gnu.org>
 
 	* ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el