summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-12-28 13:08:05 +0000
committerGerd Moellmann <gerd@gnu.org>1999-12-28 13:08:05 +0000
commite83798139a3518d1475aadb860dc96417a3716c6 (patch)
tree07fe4d1f045a4c4ce68d35d9353f6716e80b29e8 /etc
parentb784d7b3f22b104762ab118a1cc76621a3309bc0 (diff)
downloademacs-e83798139a3518d1475aadb860dc96417a3716c6.tar.gz
Hideshow changes.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS34
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3a36f3176ab..d4860442ff7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -305,6 +305,40 @@ specifies a number of lines. If nil, don't resize.
Default is 0.25.
+** Changes to hideshow.el
+
+Hideshow is now at version 5.x. It uses a new algorithms for block
+selection and traversal and includes more isearch support.
+
+*** Generalized block selection and traversal
+
+A block is now recognized by three things: its start and end regexps
+(both strings), and a match-data selector (an integer) specifying
+which sub-expression in the start regexp serves as the place where a
+`forward-sexp'-like function can operate. Hideshow always adjusts
+point to this sub-expression before calling `hs-forward-sexp-func'
+(which for most modes evaluates to `forward-sexp').
+
+If the match-data selector is not specified, it defaults to zero,
+i.e., the entire start regexp is valid, w/ no prefix. This is
+backwards compatible with previous versions of hideshow. Please see
+the docstring for variable `hs-special-modes-alist' for details.
+
+*** Isearch support for updating mode line
+
+During incremental search, if Hideshow minor mode is active, hidden
+blocks are temporarily shown. The variable `hs-headline' records the
+line at the beginning of the opened block (preceding the hidden
+portion of the buffer), and the mode line is refreshed. When a block
+is re-hidden, the variable is set to nil.
+
+To show `hs-headline' in the mode line, you may wish to include
+something like this in your .emacs.
+
+ (add-hook 'hs-minor-mode-hook
+ (lambda ()
+ (add-to-list 'mode-line-format 'hs-headline)))
+
** Changes to Change Log mode
Change Log mode now adds a file's version number to change log entries