aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerd Moellmann1999-12-28 13:08:05 +0000
committerGerd Moellmann1999-12-28 13:08:05 +0000
commit0d43b60dfed8ebc1a6ae9598a89b24470da0b46a (patch)
treee8771788cc878ffd7ce4507fab890a61ddfe23fc /etc
parent6448a6b36f95745b1d5f1c03d4df77f6cc5a0133 (diff)
downloademacs-0d43b60dfed8ebc1a6ae9598a89b24470da0b46a.tar.gz
emacs-0d43b60dfed8ebc1a6ae9598a89b24470da0b46a.zip
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.
305 305
306Default is 0.25. 306Default is 0.25.
307 307
308** Changes to hideshow.el
309
310Hideshow is now at version 5.x. It uses a new algorithms for block
311selection and traversal and includes more isearch support.
312
313*** Generalized block selection and traversal
314
315A block is now recognized by three things: its start and end regexps
316(both strings), and a match-data selector (an integer) specifying
317which sub-expression in the start regexp serves as the place where a
318`forward-sexp'-like function can operate. Hideshow always adjusts
319point to this sub-expression before calling `hs-forward-sexp-func'
320(which for most modes evaluates to `forward-sexp').
321
322If the match-data selector is not specified, it defaults to zero,
323i.e., the entire start regexp is valid, w/ no prefix. This is
324backwards compatible with previous versions of hideshow. Please see
325the docstring for variable `hs-special-modes-alist' for details.
326
327*** Isearch support for updating mode line
328
329During incremental search, if Hideshow minor mode is active, hidden
330blocks are temporarily shown. The variable `hs-headline' records the
331line at the beginning of the opened block (preceding the hidden
332portion of the buffer), and the mode line is refreshed. When a block
333is re-hidden, the variable is set to nil.
334
335To show `hs-headline' in the mode line, you may wish to include
336something like this in your .emacs.
337
338 (add-hook 'hs-minor-mode-hook
339 (lambda ()
340 (add-to-list 'mode-line-format 'hs-headline)))
341
308** Changes to Change Log mode 342** Changes to Change Log mode
309 343
310Change Log mode now adds a file's version number to change log entries 344Change Log mode now adds a file's version number to change log entries