aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-11-19 20:07:39 +0000
committerRichard M. Stallman2004-11-19 20:07:39 +0000
commit6de891db98164cc4981a953257dec7fc7c97f2b1 (patch)
treebcdddc26328d7ad4a2e97bfb3f712bd35fb4f995
parent5d4faedacc2e40d18ee0041accab896b24c2a07f (diff)
downloademacs-6de891db98164cc4981a953257dec7fc7c97f2b1.tar.gz
emacs-6de891db98164cc4981a953257dec7fc7c97f2b1.zip
*** empty log message ***
-rw-r--r--etc/NEWS9
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lispref/ChangeLog4
-rw-r--r--src/ChangeLog4
4 files changed, 21 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0c412e115bc..aa8cbe932a3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -98,6 +98,15 @@ types any more. Add -DUSE_LISP_UNION_TYPE if you want union types.
98 98
99* Changes in Emacs 21.4 99* Changes in Emacs 21.4
100 100
101+++
102** The new variable search-whitespace-regexp controls how to search
103for spaces in a regular expression. If it is non-nil, it should be a
104regular expression, and any series of spaces stands for that regular
105expression. If it is nil, spaces stand for themselves.
106
107Spaces inside of constructs such as [..] and *, +, ? are never
108replaced with search-whitespace-regexp.
109
101** line-move-ignore-invisible now defaults to t. 110** line-move-ignore-invisible now defaults to t.
102 111
103** In Outline mode, hide-body no longer hides lines at the top 112** In Outline mode, hide-body no longer hides lines at the top
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 060232490c2..652ab2c3b3b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12004-11-19 Richard M. Stallman <rms@gnu.org>
2
3 * info.el (Info-search): Use search-whitespace-regexp.
4
12004-11-19 Thien-Thi Nguyen <ttn@gnu.org> 52004-11-19 Thien-Thi Nguyen <ttn@gnu.org>
2 6
3 * vc-rcs.el (vc-rcs-parse): New function. 7 * vc-rcs.el (vc-rcs-parse): New function.
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 319cb87a097..295b8317534 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12004-11-19 Richard M. Stallman <rms@gnu.org>
2
3 * searching.texi (Regexp Search): Add search-whitespace-regexp.
4
12004-11-19 CHENG Gao <chenggao@gmail.com> (tiny change) 52004-11-19 CHENG Gao <chenggao@gmail.com> (tiny change)
2 6
3 * tips.texi (Coding Conventions): Fix typo. 7 * tips.texi (Coding Conventions): Fix typo.
diff --git a/src/ChangeLog b/src/ChangeLog
index dda9d1cc972..395872b1e44 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,10 @@
5 (compile_pattern_1): Call re_set_whitespace_regexp with it. 5 (compile_pattern_1): Call re_set_whitespace_regexp with it.
6 (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp 6 (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp
7 is non-nil. 7 is non-nil.
8 (struct regexp_cache): New element whitespace_regexp.
9 (syms_of_search): Initialize whitespace_regexp elements.
10 (compile_pattern): Compare whitespace_regexp elements.
11 (compile_pattern_1): Set whitespace_regexp elements.
8 12
9 * regex.c (regex_compile): Substitute whitespace_regexp 13 * regex.c (regex_compile): Substitute whitespace_regexp
10 for spaces, if it is nonzero. 14 for spaces, if it is nonzero.