mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-22 20:42:26 -08:00
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html * replace.el (occur-accumulate-lines): Add optional arg `pt'. (occur-engine): Add local variables `ret', `prev-after-lines', `prev-lines'. Use more arguments for `occur-context-lines'. Set first elem of its returned list to `data', and the second elem to `prev-after-lines'. Don't print the separator line. In the end, print remaining context after-lines. (occur-context-lines): Add new arguments `begpt', `endpt', `lines', `prev-lines', `prev-after-lines'. Rewrite to combine after-lines of the previous match with before-lines of the current match and not overlap them. Return a list with two values: the output line and the list of context after-lines. * search.texi (Other Repeating Search): Remove line that `occur' can not handle multiline matches. * occur-testsuite.el (occur-tests): Add tests for context lines. |
||
|---|---|---|
| .. | ||
| cedet | ||
| bytecomp-testsuite.el | ||
| ChangeLog | ||
| icalendar-testsuite.el | ||
| newsticker-testsuite.el | ||
| occur-testsuite.el | ||
| README | ||
| redisplay-testsuite.el | ||
This directory contains files intended to test various aspects of Emacs's functionality. Please help add tests! (Also, see etc/compilation.txt for compilation mode font lock tests.)