annotate lisp/README @ 107476:dc9e20df2b90
Implement Occur multi-line matches.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
* replace.el (occur): Doc fix.
(occur-engine): Set `begpt' to the beginning of the first line.
Set `endpt' to the end of the last match line. At first, count
line numbers between `origpt' and `begpt'. Split out code from
`out-line' variable to new let-bindings `match-prefix' and
`match-str'. In `out-line' add non-numeric prefix to all
non-first lines of multi-line matches. Finally, count lines
between `begpt' and `endpt' and add to `lines'.
author |
Juri Linkov <juri@jurta.org> |
date |
Tue, 23 Mar 2010 18:09:45 +0200 |
parents |
1ae53bd2e777 |
children |
|
rev |
line source |
35378
|
1 This directory contains source code for the parts of Emacs that are
|
|
2 written in Emacs Lisp. *.el files are Emacs Lisp source, and the
|
|
3 corresponding *.elc files are byte-compiled versions. Byte-compiled
|
|
4 files are architecture-independent.
|
|
5
|
|
6 The term subdirectory contains Lisp files that customize Emacs for
|
|
7 certain terminal types. When Emacs starts, it checks the TERM
|
|
8 environment variable to get the terminal type and loads
|
|
9 `term/${TERM}.el' if it exists.
|
|
10
|
|
11 The other subdirectories hold Lisp packages grouped by their general
|
|
12 purpose.
|
|
13
|