aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Jasper2014-11-17 21:06:33 +0100
committerUlf Jasper2014-11-17 21:06:33 +0100
commit9e35ff6bcf9c52fb295b4eb5d4dcde37b6a60b65 (patch)
treeb641b8c903c4529c7585594cd544ddf8f3fd55ad
parentcc5519db12f554a40591ac8a7f4febe17a3bd53b (diff)
parent5813f93cab1a81eba6eef735add5ca7cb1d15e8e (diff)
downloademacs-9e35ff6bcf9c52fb295b4eb5d4dcde37b6a60b65.tar.gz
emacs-9e35ff6bcf9c52fb295b4eb5d4dcde37b6a60b65.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/bindings.el2
-rw-r--r--test/ChangeLog6
-rw-r--r--test/automated/occur-tests.el21
5 files changed, 23 insertions, 14 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cb34e9b4613..ecbbf747713 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -51,7 +51,7 @@ Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
51 51
52** C-h l now also lists the commands that were run. 52** C-h l now also lists the commands that were run.
53 53
54** The new M-s M-s key binding uses eww to search the web for the 54** The new M-s M-w key binding uses eww to search the web for the
55text in the region. 55text in the region.
56 56
57** M-x suggests shorthands and ignores obsolete commands for completion. 57** M-x suggests shorthands and ignores obsolete commands for completion.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b232210f3c7..a4dec7af492 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -7,6 +7,10 @@
7 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm): 7 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
8 New functions for exporting alarms. 8 New functions for exporting alarms.
9 9
102014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11
12 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
13
102014-11-17 Paul Eggert <eggert@cs.ucla.edu> 142014-11-17 Paul Eggert <eggert@cs.ucla.edu>
11 15
12 Port new time stamp handling to old Emacs and to XEmacs. 16 Port new time stamp handling to old Emacs and to XEmacs.
@@ -112,7 +116,7 @@
112 * progmodes/python.el (python-indent-region): 116 * progmodes/python.el (python-indent-region):
113 Use python-indent-line and skip special cases. (Bug#18843) 117 Use python-indent-line and skip special cases. (Bug#18843)
114 118
1152014-11-16 Peder O. Klingenberg <peder@klingenberg.no> (tiny change) 1192014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
116 120
117 * mail/emacsbug.el (report-emacs-bug): Make a better guess at 121 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
118 envelope-from when reporting through sendmail (bug#19054). 122 envelope-from when reporting through sendmail (bug#19054).
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 46ff522c731..110774082e0 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -926,7 +926,7 @@ if `inhibit-field-text-motion' is non-nil."
926(define-key esc-map "s" search-map) 926(define-key esc-map "s" search-map)
927 927
928(define-key search-map "o" 'occur) 928(define-key search-map "o" 'occur)
929(define-key search-map "\M-s" 'eww-search-words) 929(define-key search-map "\M-w" 'eww-search-words)
930(define-key search-map "hr" 'highlight-regexp) 930(define-key search-map "hr" 'highlight-regexp)
931(define-key search-map "hp" 'highlight-phrase) 931(define-key search-map "hp" 'highlight-phrase)
932(define-key search-map "hl" 'highlight-lines-matching-regexp) 932(define-key search-map "hl" 'highlight-lines-matching-regexp)
diff --git a/test/ChangeLog b/test/ChangeLog
index 6e350cf8ec1..2dfd5151f09 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
12014-11-17 Glenn Morris <rgm@gnu.org>
2
3 * automated/occur-tests.el (occur-test-case, occur-test-create):
4 In case of failure, show the actual string, rather than just nil.
5 (occur-tests): Update for apparent change in output re control-chars.
6
12014-11-17 Ulf Jasper <ulf.jasper@web.de> 72014-11-17 Ulf Jasper <ulf.jasper@web.de>
2 8
3 * automated/icalendar-tests.el (icalendar-tests--test-export): New 9 * automated/icalendar-tests.el (icalendar-tests--test-export): New
diff --git a/test/automated/occur-tests.el b/test/automated/occur-tests.el
index b15e3dc9933..5b90dab494c 100644
--- a/test/automated/occur-tests.el
+++ b/test/automated/occur-tests.el
@@ -52,7 +52,7 @@ a
52a 52a
53a 53a
54" "\ 54" "\
552 matches for \"a^Ja\" in buffer: *test-occur* 552 matches for \"a\na\" in buffer: *test-occur*
56 1:a 56 1:a
57 :a 57 :a
58 3:a 58 3:a
@@ -68,7 +68,7 @@ c
68a 68a
69b 69b
70" "\ 70" "\
712 matches for \"a^Jb\" in buffer: *test-occur* 712 matches for \"a\nb\" in buffer: *test-occur*
72 1:a 72 1:a
73 :b 73 :b
74 4:a 74 4:a
@@ -82,7 +82,7 @@ c
82a 82a
83 83
84" "\ 84" "\
852 matches for \"a^J\" in buffer: *test-occur* 852 matches for \"a\n\" in buffer: *test-occur*
86 1:a 86 1:a
87 : 87 :
88 4:a 88 4:a
@@ -97,7 +97,7 @@ d
97ex 97ex
98fx 98fx
99" "\ 99" "\
1002 matches for \"x^J.x^J\" in buffer: *test-occur* 1002 matches for \"x\n.x\n\" in buffer: *test-occur*
101 1:ax 101 1:ax
102 :bx 102 :bx
103 :c 103 :c
@@ -232,7 +232,7 @@ i
232jx 232jx
233kx 233kx
234" "\ 234" "\
2353 matches for \"x^J.x\" in buffer: *test-occur* 2353 matches for \"x\n.x\" in buffer: *test-occur*
236 1:ax 236 1:ax
237 :bx 237 :bx
238 :c 238 :c
@@ -256,7 +256,7 @@ f
256gx 256gx
257hx 257hx
258" "\ 258" "\
2592 matches for \"x^J.x\" in buffer: *test-occur* 2592 matches for \"x\n.x\" in buffer: *test-occur*
260 1:ax 260 1:ax
261 :bx 261 :bx
262 :c 262 :c
@@ -321,7 +321,6 @@ Each element has the format:
321 (let ((regexp (nth 0 test)) 321 (let ((regexp (nth 0 test))
322 (nlines (nth 1 test)) 322 (nlines (nth 1 test))
323 (input-buffer-string (nth 2 test)) 323 (input-buffer-string (nth 2 test))
324 (output-buffer-string (nth 3 test))
325 (temp-buffer (get-buffer-create " *test-occur*"))) 324 (temp-buffer (get-buffer-create " *test-occur*")))
326 (unwind-protect 325 (unwind-protect
327 (save-window-excursion 326 (save-window-excursion
@@ -329,9 +328,8 @@ Each element has the format:
329 (erase-buffer) 328 (erase-buffer)
330 (insert input-buffer-string) 329 (insert input-buffer-string)
331 (occur regexp nlines) 330 (occur regexp nlines)
332 (equal output-buffer-string 331 (with-current-buffer "*Occur*"
333 (with-current-buffer "*Occur*" 332 (buffer-substring-no-properties (point-min) (point-max)))))
334 (buffer-string)))))
335 (and (buffer-name temp-buffer) 333 (and (buffer-name temp-buffer)
336 (kill-buffer temp-buffer))))) 334 (kill-buffer temp-buffer)))))
337 335
@@ -343,7 +341,8 @@ Each element has the format:
343 `(ert-deftest ,testname () 341 `(ert-deftest ,testname ()
344 ,testdoc 342 ,testdoc
345 (let (occur-hook) 343 (let (occur-hook)
346 (should (occur-test-case (nth ,n occur-tests)))))))) 344 (should (equal (occur-test-case (nth ,n occur-tests))
345 (nth 3 (nth ,n occur-tests)))))))))
347 346
348(dotimes (i (length occur-tests)) 347(dotimes (i (length occur-tests))
349 (occur-test-create i)) 348 (occur-test-create i))