From 8a26c16552f49f7a61e1e338952110b59e5b2664 Mon Sep 17 00:00:00 2001 From: Deepak Goel Date: Sun, 18 Sep 2005 12:25:02 +0000 Subject: Message format spec fixes (1) --- lisp/isearch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/isearch.el') diff --git a/lisp/isearch.el b/lisp/isearch.el index 9e396f2754..5d0c24280b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1016,7 +1016,7 @@ If first char entered is \\[isearch-yank-word-or-char], then do word search inst ;; read a key the normal way. ;; Word search does not apply (yet) to regexp searches, ;; no check is made here. - (message (isearch-message-prefix nil nil t)) + (message "%s" (isearch-message-prefix nil nil t)) (if (memq (lookup-key isearch-mode-map (vector e)) '(isearch-yank-word isearch-yank-word-or-char)) -- cgit v1.2.3 From b3612973a791616b1a92277d5925605b544d1d13 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 26 Sep 2005 00:02:37 +0000 Subject: (isearch-forward, isearch-forward-regexp): Doc fixes. --- lisp/isearch.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lisp/isearch.el') diff --git a/lisp/isearch.el b/lisp/isearch.el index 5d0c24280b..6792baea9d 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -533,6 +533,9 @@ Type \\[isearch-quote-char] to quote control character to search for it. \\[isearch-abort] when search is successful aborts and moves point to\ starting point. +If you try to exit with the search string still empty, it invokes + nonincremental search. + Type \\[isearch-query-replace] to start `query-replace' with string to\ replace from last search string. Type \\[isearch-query-replace-regexp] to start `query-replace-regexp'\ @@ -579,7 +582,7 @@ is treated as a regexp. See \\[isearch-forward] for more info. In regexp incremental searches, a space or spaces normally matches any whitespace (the variable `search-whitespace-regexp' controls precisely what that means). If you want to search for a literal space -and nothing else, enter `[ ]'." +and nothing else, enter C-q SPC. (interactive "P\np") (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) -- cgit v1.2.3 From 1b1fb2efc7d512ebece860fe4132c28a6a1f2660 Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Mon, 26 Sep 2005 06:34:32 +0000 Subject: (isearch-forward-regexp): Close doc string. --- lisp/ChangeLog | 4 ++++ lisp/isearch.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lisp/isearch.el') diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7194f92c8b..3d7b0724a0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-09-26 Romain Francoise + + * isearch.el (isearch-forward-regexp): Close doc string. + 2005-09-25 Richard M. Stallman * simple.el (blink-matching-open): Don't no-op when point is BEGV+1. diff --git a/lisp/isearch.el b/lisp/isearch.el index 6792baea9d..c474ea3b51 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -582,7 +582,7 @@ is treated as a regexp. See \\[isearch-forward] for more info. In regexp incremental searches, a space or spaces normally matches any whitespace (the variable `search-whitespace-regexp' controls precisely what that means). If you want to search for a literal space -and nothing else, enter C-q SPC. +and nothing else, enter C-q SPC." (interactive "P\np") (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) -- cgit v1.2.3 From 92cc4a30314e628d70853e3a5df6c400f9dba813 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 29 Sep 2005 22:55:53 +0000 Subject: (isearch, lazy-highlight): Add group `basic-faces'. --- lisp/isearch.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lisp/isearch.el') diff --git a/lisp/isearch.el b/lisp/isearch.el index c474ea3b51..cdddd47cba 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -219,7 +219,8 @@ Default value, nil, means edit the string instead." (:background "magenta4" :foreground "cyan1")) (t (:inverse-video t))) "Face for highlighting Isearch matches." - :group 'isearch) + :group 'isearch + :group 'basic-faces) (defvar isearch 'isearch) (defcustom isearch-lazy-highlight t @@ -289,7 +290,8 @@ A value of nil means highlight all matches." (:background "turquoise3")) (t (:underline t))) "Face for lazy highlighting of matches other than the current one." - :group 'lazy-highlight) + :group 'lazy-highlight + :group 'basic-faces) (put 'isearch-lazy-highlight-face 'face-alias 'lazy-highlight) (defvar lazy-highlight-face 'lazy-highlight) (define-obsolete-variable-alias 'isearch-lazy-highlight-face -- cgit v1.2.3