aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2010-03-23 18:09:45 +0200
committerJuri Linkov2010-03-23 18:09:45 +0200
commit774642e5492984eceb237d6fc4de129fd3996ed5 (patch)
treed0d6c434335db2b462e836bf2fe6f95073615a8a /etc
parent53e87c57beb29757236032939c9333cb2e56d024 (diff)
downloademacs-774642e5492984eceb237d6fc4de129fd3996ed5.tar.gz
emacs-774642e5492984eceb237d6fc4de129fd3996ed5.zip
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'.
Diffstat (limited to 'etc')
-rw-r--r--etc/TODO3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/TODO b/etc/TODO
index a20ffdaa0d3..6ce2947bd93 100644
--- a/etc/TODO
+++ b/etc/TODO
@@ -105,9 +105,6 @@ for users to customize.
105 105
106** erase-buffer should perhaps disregard read-only properties of text. 106** erase-buffer should perhaps disregard read-only properties of text.
107 107
108** Make occur correctly handle matches that span more than one line,
109 as well as overlapping matches.
110
111** Fix the kill/yank treatment of invisible text. At the moment, 108** Fix the kill/yank treatment of invisible text. At the moment,
112 invisible text is placed in the kill-ring, so that the contents of 109 invisible text is placed in the kill-ring, so that the contents of
113 the ring may not correspond to the text as displayed to the user. 110 the ring may not correspond to the text as displayed to the user.