diff options
| author | Gerd Moellmann | 1999-12-28 13:08:05 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-28 13:08:05 +0000 |
| commit | 0d43b60dfed8ebc1a6ae9598a89b24470da0b46a (patch) | |
| tree | e8771788cc878ffd7ce4507fab890a61ddfe23fc /etc | |
| parent | 6448a6b36f95745b1d5f1c03d4df77f6cc5a0133 (diff) | |
| download | emacs-0d43b60dfed8ebc1a6ae9598a89b24470da0b46a.tar.gz emacs-0d43b60dfed8ebc1a6ae9598a89b24470da0b46a.zip | |
Hideshow changes.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 34 |
1 files changed, 34 insertions, 0 deletions
| @@ -305,6 +305,40 @@ specifies a number of lines. If nil, don't resize. | |||
| 305 | 305 | ||
| 306 | Default is 0.25. | 306 | Default is 0.25. |
| 307 | 307 | ||
| 308 | ** Changes to hideshow.el | ||
| 309 | |||
| 310 | Hideshow is now at version 5.x. It uses a new algorithms for block | ||
| 311 | selection and traversal and includes more isearch support. | ||
| 312 | |||
| 313 | *** Generalized block selection and traversal | ||
| 314 | |||
| 315 | A block is now recognized by three things: its start and end regexps | ||
| 316 | (both strings), and a match-data selector (an integer) specifying | ||
| 317 | which sub-expression in the start regexp serves as the place where a | ||
| 318 | `forward-sexp'-like function can operate. Hideshow always adjusts | ||
| 319 | point to this sub-expression before calling `hs-forward-sexp-func' | ||
| 320 | (which for most modes evaluates to `forward-sexp'). | ||
| 321 | |||
| 322 | If the match-data selector is not specified, it defaults to zero, | ||
| 323 | i.e., the entire start regexp is valid, w/ no prefix. This is | ||
| 324 | backwards compatible with previous versions of hideshow. Please see | ||
| 325 | the docstring for variable `hs-special-modes-alist' for details. | ||
| 326 | |||
| 327 | *** Isearch support for updating mode line | ||
| 328 | |||
| 329 | During incremental search, if Hideshow minor mode is active, hidden | ||
| 330 | blocks are temporarily shown. The variable `hs-headline' records the | ||
| 331 | line at the beginning of the opened block (preceding the hidden | ||
| 332 | portion of the buffer), and the mode line is refreshed. When a block | ||
| 333 | is re-hidden, the variable is set to nil. | ||
| 334 | |||
| 335 | To show `hs-headline' in the mode line, you may wish to include | ||
| 336 | something 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 | ||
| 310 | Change Log mode now adds a file's version number to change log entries | 344 | Change Log mode now adds a file's version number to change log entries |