Mercurial > emacs
annotate test/ChangeLog @ 107653:bfde3c2dbef5
Make occur handle multi-line matches cleanly with context.
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.
| author | Juri Linkov <juri@jurta.org> |
|---|---|
| date | Tue, 30 Mar 2010 19:03:08 +0300 |
| parents | 1039cde2a81b |
| children | 6db4a0b4404d |
| rev | line source |
|---|---|
|
107653
bfde3c2dbef5
Make occur handle multi-line matches cleanly with context.
Juri Linkov <juri@jurta.org>
parents:
107477
diff
changeset
|
1 2010-03-30 Juri Linkov <juri@jurta.org> |
|
bfde3c2dbef5
Make occur handle multi-line matches cleanly with context.
Juri Linkov <juri@jurta.org>
parents:
107477
diff
changeset
|
2 |
|
bfde3c2dbef5
Make occur handle multi-line matches cleanly with context.
Juri Linkov <juri@jurta.org>
parents:
107477
diff
changeset
|
3 * occur-testsuite.el (occur-tests): Add tests for context lines. |
|
bfde3c2dbef5
Make occur handle multi-line matches cleanly with context.
Juri Linkov <juri@jurta.org>
parents:
107477
diff
changeset
|
4 |
|
107477
1039cde2a81b
* occur-testsuite.el: New file.
Juri Linkov <juri@jurta.org>
parents:
107367
diff
changeset
|
5 2010-03-23 Juri Linkov <juri@jurta.org> |
|
1039cde2a81b
* occur-testsuite.el: New file.
Juri Linkov <juri@jurta.org>
parents:
107367
diff
changeset
|
6 |
|
1039cde2a81b
* occur-testsuite.el: New file.
Juri Linkov <juri@jurta.org>
parents:
107367
diff
changeset
|
7 * occur-testsuite.el: New file. |
|
1039cde2a81b
* occur-testsuite.el: New file.
Juri Linkov <juri@jurta.org>
parents:
107367
diff
changeset
|
8 |
|
107367
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107199
diff
changeset
|
9 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
|
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107199
diff
changeset
|
10 |
|
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107199
diff
changeset
|
11 * Branch for 23.2. |
|
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107199
diff
changeset
|
12 |
|
107199
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
13 2010-02-19 Ulf Jasper <ulf.jasper@web.de> |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
14 |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
15 * icalendar-testsuite.el |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
16 (icalendar-testsuite--run-function-tests): Added new tests. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
17 (icalendar-testsuite--test-diarytime-to-isotime): Added another |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
18 testcase. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
19 (icalendar-testsuite--test-convert-ordinary-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
20 (icalendar-testsuite--test-convert-weekly-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
21 (icalendar-testsuite--test-convert-yearly-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
22 (icalendar-testsuite--test-convert-block-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
23 (icalendar-testsuite--test-convert-cyclic-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
24 (icalendar-testsuite--test-convert-anniversary-to-ical): New. |
|
8ce4f8460ed4
Fixed bug#5549 (icalendar.el)
Ulf Jasper <ulf.jasper@web.de>
parents:
106895
diff
changeset
|
25 |
|
106895
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
26 2010-01-18 Juanma Barranquero <lekktu@gmail.com> |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
27 |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
28 * cedet/semantic-tests.el (semanticdb-test-gnu-global) |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
29 (semantic-lex-test-full-depth, semantic-symref-test-count-hits-in-tag): |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
30 Fix typos in docstrings and error messages. |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
31 (semanticdb-ebrowse-run-tests): Fix typos in error messages. |
|
181539c8b6a4
Fix typos in docstrings, error messages, etc.
Juanma Barranquero <lekktu@gmail.com>
parents:
106840
diff
changeset
|
32 |
|
106840
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
33 2010-01-14 Juanma Barranquero <lekktu@gmail.com> |
|
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
34 |
|
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
35 * cedet/cedet-utests.el (cedet-utest-log-shutdown, pulse-test): |
|
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
36 * cedet/semantic-ia-utest.el (semantic-ia-utest-error-log-list) |
|
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
37 (semantic-ia-utest-buffer-refs): Fix typos in docstrings. |
|
5df8e547a422
Fix typos in docstrings.
Juanma Barranquero <lekktu@gmail.com>
parents:
106815
diff
changeset
|
38 |
|
106617
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
39 2009-12-18 Ulf Jasper <ulf.jasper@web.de> |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
40 |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
41 * icalendar-testsuite.el |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
42 (icalendar-testsuite--run-function-tests): Added |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
43 icalendar-testsuite--test-parse-vtimezone. |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
44 (icalendar-testsuite--test-parse-vtimezone): New. |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
45 (icalendar-testsuite--do-test-cycle): Doc changes. |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
46 (icalendar-testsuite--run-real-world-tests): Removed trailing |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
47 whitespace -- see change of icalendar--add-diary-entry in |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
48 icalendar.el. |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
49 (icalendar-testsuite--run-cycle-tests): Re-enabled all tests. |
|
78f92ffeb7ab
Fixed timezone handling problem in icalendar.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
105301
diff
changeset
|
50 |
| 105301 | 51 2009-09-30 Glenn Morris <rgm@gnu.org> |
| 52 | |
| 53 * cedet/semantic-utest-c.el: Relicense under GPLv3+. | |
| 54 | |
|
105268
e2a8152a5eba
* cedet/*: New unit tests, from CEDET repository.
Chong Yidong <cyd@stupidchicken.com>
parents:
103593
diff
changeset
|
55 2009-06-26 Eric Ludlam <zappo@gnu.org> |
|
e2a8152a5eba
* cedet/*: New unit tests, from CEDET repository.
Chong Yidong <cyd@stupidchicken.com>
parents:
103593
diff
changeset
|
56 |
|
e2a8152a5eba
* cedet/*: New unit tests, from CEDET repository.
Chong Yidong <cyd@stupidchicken.com>
parents:
103593
diff
changeset
|
57 * cedet/*: New unit tests, from CEDET repository. |
|
e2a8152a5eba
* cedet/*: New unit tests, from CEDET repository.
Chong Yidong <cyd@stupidchicken.com>
parents:
103593
diff
changeset
|
58 |
|
103593
3acb65a2fdd5
* redisplay-testsuite.el: New file.
Chong Yidong <cyd@stupidchicken.com>
parents:
103507
diff
changeset
|
59 2009-06-26 Chong Yidong <cyd@stupidchicken.com> |
|
3acb65a2fdd5
* redisplay-testsuite.el: New file.
Chong Yidong <cyd@stupidchicken.com>
parents:
103507
diff
changeset
|
60 |
|
3acb65a2fdd5
* redisplay-testsuite.el: New file.
Chong Yidong <cyd@stupidchicken.com>
parents:
103507
diff
changeset
|
61 * redisplay-testsuite.el: New file. |
|
3acb65a2fdd5
* redisplay-testsuite.el: New file.
Chong Yidong <cyd@stupidchicken.com>
parents:
103507
diff
changeset
|
62 |
|
103507
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
101457
diff
changeset
|
63 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
|
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
101457
diff
changeset
|
64 |
|
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
101457
diff
changeset
|
65 * Branch for 23.1. |
|
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
101457
diff
changeset
|
66 |
|
101457
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
67 2009-01-25 Ulf Jasper <ulf.jasper@web.de> |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
68 |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
69 * icalendar-testsuite.el |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
70 (icalendar-testsuite--run-function-tests): Added |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
71 icalendar-testsuite--test-diarytime-to-isotime. |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
72 (icalendar-testsuite--test-parse-summary-and-rest): Adjusted to |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
73 recent icalendar fixes. |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
74 (icalendar-testsuite--test-diarytime-to-isotime): New. |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
75 (icalendar-testsuite--test-create-uid): Adjusted to recent |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
76 icalendar changes. |
|
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
77 |
|
100067
b9da91c473e1
* bytecomp-testsuite.el: New file,
Chong Yidong <cyd@stupidchicken.com>
parents:
99286
diff
changeset
|
78 2008-11-30 Shigeru Fukaya <shigeru.fukaya@gmail.com> |
|
b9da91c473e1
* bytecomp-testsuite.el: New file,
Chong Yidong <cyd@stupidchicken.com>
parents:
99286
diff
changeset
|
79 |
| 100467 | 80 * bytecomp-testsuite.el: New file. |
|
100067
b9da91c473e1
* bytecomp-testsuite.el: New file,
Chong Yidong <cyd@stupidchicken.com>
parents:
99286
diff
changeset
|
81 |
|
101457
feab64c71ad0
icalendar: uid-format, bug fixes.
Ulf Jasper <ulf.jasper@web.de>
parents:
100950
diff
changeset
|
82 2008-10-31 Ulf Jasper <ulf.jasper@web.de> |
|
99286
34d4bb11f58f
icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents:
95913
diff
changeset
|
83 |
|
34d4bb11f58f
icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents:
95913
diff
changeset
|
84 * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): |
|
34d4bb11f58f
icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents:
95913
diff
changeset
|
85 Added `icalendar-testsuite--test-create-uid'. |
|
34d4bb11f58f
icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents:
95913
diff
changeset
|
86 (icalendar-testsuite--test-create-uid): New. |
|
34d4bb11f58f
icalendar: uid-creation improved
Ulf Jasper <ulf.jasper@web.de>
parents:
95913
diff
changeset
|
87 |
|
95913
e9cff1f5a026
Added newsticker-testsuite.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
95272
diff
changeset
|
88 2008-06-14 Ulf Jasper <ulf.jasper@web.de> |
|
e9cff1f5a026
Added newsticker-testsuite.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
95272
diff
changeset
|
89 |
|
e9cff1f5a026
Added newsticker-testsuite.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
95272
diff
changeset
|
90 * newsticker-testsuite.el: New file. |
|
e9cff1f5a026
Added newsticker-testsuite.el.
Ulf Jasper <ulf.jasper@web.de>
parents:
95272
diff
changeset
|
91 |
| 95272 | 92 2008-05-24 Ulf Jasper <ulf.jasper@web.de> |
| 93 | |
| 94 * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): | |
| 95 Add icalendar-testsuite--test-datestring-to-isodate, | |
| 96 icalendar-testsuite--test-datetime-to-diary-date, and | |
| 97 icalendar-testsuite--test-calendar-style. | |
| 98 (icalendar-testsuite--test-format-ical-event): | |
| 99 (icalendar-testsuite--test-parse-summary-and-rest): | |
| 100 Doc fix. Remove european-calendar-style. | |
| 101 (icalendar-testsuite--get-ical-event): Doc fix. | |
| 102 (icalendar-testsuite--test-first-weekday-of-year): | |
| 103 (icalendar-testsuite--run-cycle-tests): Add doc string. | |
| 104 (icalendar-testsuite--test-datestring-to-isodate): | |
| 105 (icalendar-testsuite--test-datetime-to-diary-date): | |
| 106 (icalendar-testsuite--test-calendar-style): New functions. | |
| 107 (icalendar-testsuite--test-export): Handle iso date style. | |
| 108 New arg INPUT-ISO. Use calendar-date-style. | |
| 109 (icalendar-testsuite--test-import): Handle iso date style. | |
| 110 New arg EXPECTED-ISO. Use calendar-date-style. | |
| 111 (icalendar-testsuite--test-cycle): Handle iso date style. | |
| 112 (icalendar-testsuite--run-import-tests): | |
| 113 (icalendar-testsuite--run-export-tests): | |
| 114 (icalendar-testsuite--run-real-world-tests): Add iso style tests. | |
| 115 | |
| 92344 | 116 2008-02-29 Glenn Morris <rgm@gnu.org> |
| 117 | |
| 118 * README: New file. | |
| 119 | |
| 92339 | 120 2008-02-29 Ulf Jasper <ulf.jasper@web.de> |
| 121 | |
| 122 * icalendar-testsuite.el: New file. | |
| 123 | |
| 124 ;; Local Variables: | |
| 93296 | 125 ;; coding: utf-8 |
| 92339 | 126 ;; add-log-time-zone-rule: t |
| 127 ;; End: | |
| 128 | |
| 106815 | 129 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. |
| 92339 | 130 |
| 131 This file is part of GNU Emacs. | |
| 132 | |
|
94717
f9e1a40c4f47
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93296
diff
changeset
|
133 GNU Emacs is free software: you can redistribute it and/or modify |
| 92339 | 134 it under the terms of the GNU General Public License as published by |
|
94717
f9e1a40c4f47
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93296
diff
changeset
|
135 the Free Software Foundation, either version 3 of the License, or |
|
f9e1a40c4f47
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93296
diff
changeset
|
136 (at your option) any later version. |
| 92339 | 137 |
| 138 GNU Emacs is distributed in the hope that it will be useful, | |
| 139 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 140 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 141 GNU General Public License for more details. | |
| 142 | |
| 143 You should have received a copy of the GNU General Public License | |
|
94717
f9e1a40c4f47
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
93296
diff
changeset
|
144 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 92339 | 145 |
| 146 ;;; arch-tag: 6f0d1c86-c141-46da-b387-cf17e38c7bf7 |
