diff options
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ef607e8025..d3c5610972b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,22 @@ | |||
| 1 | 2010-03-30 Juri Linkov <juri@jurta.org> | 1 | 2010-03-30 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | Make occur handle multi-line matches cleanly with context. | ||
| 4 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html | ||
| 5 | |||
| 6 | * replace.el (occur-accumulate-lines): Add optional arg `pt'. | ||
| 7 | (occur-engine): Add local variables `ret', `prev-after-lines', | ||
| 8 | `prev-lines'. Use more arguments for `occur-context-lines'. | ||
| 9 | Set first elem of its returned list to `data', and the second elem | ||
| 10 | to `prev-after-lines'. Don't print the separator line. | ||
| 11 | In the end, print remaining context after-lines. | ||
| 12 | (occur-context-lines): Add new arguments `begpt', `endpt', | ||
| 13 | `lines', `prev-lines', `prev-after-lines'. Rewrite to combine | ||
| 14 | after-lines of the previous match with before-lines of the | ||
| 15 | current match and not overlap them. Return a list with two | ||
| 16 | values: the output line and the list of context after-lines. | ||
| 17 | |||
| 18 | 2010-03-30 Juri Linkov <juri@jurta.org> | ||
| 19 | |||
| 3 | * replace.el (occur-accumulate-lines): Fix a bug where the first | 20 | * replace.el (occur-accumulate-lines): Fix a bug where the first |
| 4 | context line at the beginning of the buffer was missing. | 21 | context line at the beginning of the buffer was missing. |
| 5 | 22 | ||