Mercurial > emacs
annotate admin/README @ 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 | b08ffdff79c7 |
children | 376148b31b5e |
rev | line source |
---|---|
107187 | 1 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
2 2010 Free Software Foundation, Inc. | |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
3 See the end of the file for license conditions. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
4 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
5 |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
6 The admin directory |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
7 |
38873 | 8 This directory contains scripts and other things useful for developing |
9 and maintaining Emacs. These files are not part of Emacs releases | |
10 because they are not deemed generally useful, and you have to know | |
11 what you do when using them. | |
12 | |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
13 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
14 * Instructions and scripts used to prepare an Emacs release. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
15 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
16 ** FOR-RELEASE |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
17 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
18 Living list of activities that must be completed before the next release. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
19 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
20 ** make-tarball.txt |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
21 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
22 Instructions to create pretest or release tarballs, annoucements, etc. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
23 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
24 ** admin.el |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
25 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
26 Utilities for setting version numbers and alike. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
27 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
28 ** make-announcement, make-changelog-diff |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
29 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
30 Scripts used to prepare release announcements. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
31 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
32 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
33 * Scripts that can be used to build and test Emacs. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
34 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
35 ** build-configs |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
36 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
37 Build Emacs in various configurations. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
38 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
39 ** make-emacs |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
40 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
41 Build Emacs in various ways. |
38873 | 42 |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
43 ** quick-install-emacs |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
44 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
45 Install emacs quickly (`incrementally'). |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
46 |
107187 | 47 ** alloc-colors.c |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
48 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
49 A utility program that allocates a given number of colors on X. Can |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
50 be used to debug Emacs with dense colormaps (PseudoColor). |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
51 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
52 ** check-doc-strings |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
53 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
54 Check doc strings against documentation. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
55 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
56 ** cus-test.el |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
57 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
58 Tests for custom types and load problems. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
59 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
60 ** diff-tar-files |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
61 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
62 Show files added/removed between two tar files. |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
63 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
64 |
94833
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
65 Brief description of sub-directories: |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
66 |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
67 charsets scripts for generating charset map files |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
68 in ../etc/charsets |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
69 unidata scripts for generating character property files |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
70 in ../lisp/international |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
71 |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
72 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
73 This file is part of GNU Emacs. |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
74 |
94833
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
75 GNU Emacs is free software: you can redistribute it and/or modify |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
76 it under the terms of the GNU General Public License as published by |
94833
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
77 the Free Software Foundation, either version 3 of the License, or |
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
78 (at your option) any later version. |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
79 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
80 GNU Emacs is distributed in the hope that it will be useful, |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
81 but WITHOUT ANY WARRANTY; without even the implied warranty of |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
82 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
83 GNU General Public License for more details. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
84 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
71721
diff
changeset
|
85 You should have received a copy of the GNU General Public License |
94833
e6db9ee945b8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
91327
diff
changeset
|
86 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
71721
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
87 |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
88 Local variables: |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
89 mode: outline |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
90 paragraph-separate: "[ ]*$" |
8852a07538af
Use outline format. Add FOR-RELEASE.
Kim F. Storm <storm@cua.dk>
parents:
52401
diff
changeset
|
91 end: |
52401 | 92 |
93 # arch-tag: 812b9461-bc0a-46a7-925e-24bd41118463 |