1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
Commit graph

300 commits

Author SHA1 Message Date
Richard M. Stallman
0a2ea418fc (isearch-mode, isearch-done): Delete unintended code in previous change. 2007-07-15 17:56:23 +00:00
Jason Rumney
88a337ec3d Remove dashes from front of first line. 2007-07-12 10:43:46 +00:00
Richard M. Stallman
25c185dfe3 (isearch-edit-string): Call to isearch-push-state after the search. 2007-07-09 14:46:56 +00:00
Chong Yidong
75a07f2c48 (isearch-forward): Revert 1998-08-26 doc change. 2007-04-06 18:27:43 +00:00
Kim F. Storm
aec11aff8f (isearch-message-prefix): Undo 2007-03-01 change. 2007-03-06 09:19:54 +00:00
Kim F. Storm
3a5c4810ac 2007-03-01 Lennart Borgman <lennart.borgman.073@student.lu.se>
(isearch-message-prefix): Use minibuffer-prompt-properties.
2007-03-01 22:28:14 +00:00
Chong Yidong
9a19394446 (isearch-lazy-highlight-space-regexp): New variable.
(isearch-lazy-highlight-new-loop): Bind it.
(isearch-lazy-highlight-search): Use it.
2007-02-15 16:54:09 +00:00
Stefan Monnier
c5f847b6b3 (isearch-no-upper-case-p): Look for [:upper:] as well. 2007-01-17 13:20:47 +00:00
Richard M. Stallman
d8a4fc444a (isearch-done): Use FOUND-POINT or FOUND-START
only if we restored isearch-window-configuration.
2007-01-01 21:49:04 +00:00
David Kastrup
f3b5dd74da * help.el (describe-mode): For clicks on mode-line, use "@"
interactive argument to get the major mode of the click instead of
the current buffer.

* isearch.el (isearch-mouse-2): Use new semantics of `key-binding'
in order to better redirect mouse-2 clicks.  Also allow default
bindings to apply.
2006-10-03 14:03:46 +00:00
Kenichi Handa
6cf157df1f (isearch-process-search-char): Cancel the previous
change.
(isearch-search-string): New function.
(isearch-search): Use isearch-search-string.
(isearch-lazy-highlight-search): Likewise.
2006-09-20 06:13:43 +00:00
Romain Francoise
933f846719 (isearch-yank-line): Let-bind `inhibit-field-text-motion' to t. 2006-07-09 11:04:19 +00:00
Kim F. Storm
77e5aef9ad * isearch.el (isearch-update-ring): Use add-to-history. 2006-05-05 23:37:31 +00:00
Richard M. Stallman
a2b7dcc77d (isearch-update-ring): Doc fix. 2006-05-03 23:27:53 +00:00
Dan Nicolaescu
5719a99df5 (isearch-update-ring): Take history-delete-duplicates
into consideration. Replace one arm ifs with whens.
2006-05-03 21:36:20 +00:00
Eli Zaretskii
f438bf5c0b (isearch-other-meta-char): Handle user bindings for shifted control characters. 2006-03-18 15:11:48 +00:00
Richard M. Stallman
51a77cba21 (search-whitespace-regexp): Fix custom type. 2006-02-21 19:52:07 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
0ae859606e (isearch-forward): Doc fix. 2006-01-19 17:50:42 +00:00
Juri Linkov
fa81f0107f (isearch-query-replace): Use (mark) instead of
isearch-opoint if mark is active in transient-mark-mode.
2005-12-14 07:55:50 +00:00
Juri Linkov
e7e4ea210a (isearch-query-replace): Check for isearch-other-end. 2005-12-14 07:52:22 +00:00
Kenichi Handa
332ee54425 (isearch-process-search-char): Translate CHAR by
translation-table-for-input.
2005-12-10 01:14:23 +00:00
Juri Linkov
704d3ae7ac (isearch-highlight): Change main overlay priority from 1 to 1001. Simplify.
(isearch-lazy-highlight-update): Change lazy overlay priority from 0 to 1000.
2005-12-09 09:45:06 +00:00
Jason Rumney
76197e2865 (isearch-mode-map): Avoid exiting search on language-change event. 2005-11-30 22:53:00 +00:00
Juri Linkov
ece75c05d6 (isearch-repeat): With empty search ring set `isearch-error' to the
error string instead of signaling error with the function `error'.
2005-11-24 09:59:37 +00:00
Juri Linkov
92cc4a3031 (isearch, lazy-highlight): Add group `basic-faces'. 2005-09-29 22:55:53 +00:00
Romain Francoise
1b1fb2efc7 (isearch-forward-regexp): Close doc string. 2005-09-26 06:34:32 +00:00
Richard M. Stallman
b3612973a7 (isearch-forward, isearch-forward-regexp): Doc fixes. 2005-09-26 00:02:37 +00:00
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
Richard M. Stallman
40c7f2563b (isearch-edit-string): Erase the Search prompt
if user enters an empty string and there is no default.
2005-08-25 10:58:48 +00:00
Richard M. Stallman
f4c49513ec (isearch-repeat): When changing direction, mark search successful. 2005-08-09 11:27:18 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
6480c508bf (isearch-mode-map, isearch-other-meta-char, isearch-quote-char,
isearch-printing-char, isearch-text-char-description): "?\ " -> "?\s".
(isearch-lazy-highlight-cleanup, isearch-lazy-highlight-initial-delay,
isearch-lazy-highlight-interval, isearch-lazy-highlight-max-at-a-time,
isearch-lazy-highlight-face, isearch-lazy-highlight-cleanup): Declare with
define-obsolete-*-alias macros.
(isearch-forward): Fix typo in docstring.
(search-invisible, search-ring-yank-pointer, regexp-search-ring-yank-pointer):
Doc fixes.
2005-07-28 14:00:03 +00:00
Juri Linkov
a49ff34195 (isearch): Use not-too-dark magenta3 instead of too-light magenta2. 2005-07-19 11:39:16 +00:00
Juri Linkov
6f2df0f488 (isearch-mode-map): Remove key bindings for regexp chars * ? } |.
(isearch-fallback): Don't call `isearch-process-search-char'.
(isearch-*-char, isearch-}-char, isearch-|-char): Remove functions.
(isearch-process-search-char): Call `isearch-fallback' for regexp chars * ? } |.
(isearch-return-char): Make obsolete with `make-obsolete' instead
of simply documenting it as obsolete in the docstring.
(isearch-fallback): Refill docstring.
2005-07-18 14:32:30 +00:00
Richard M. Stallman
87e9767365 (isearch-mode-end-hook-quit): New variable.
(isearch-done): Bind it.
(isearch-mode-end-hook): Doc fix.
2005-07-16 19:13:30 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Andreas Schwab
8bdf62a786 (isearch-forward): Doc fix. 2005-04-23 15:38:07 +00:00
Stefan Monnier
e5feeb319e (isearch-edit-string): Make the search-ring available for
minibuffer history commands.
(minibuffer-local-isearch-map): Remove bindings for M-p	and M-n,
the default history commands now work just as well.
(isearch-ring-retreat-edit, isearch-ring-advance-edit): Remove.
2005-04-18 22:32:37 +00:00
Juri Linkov
d9dd1f33b6 (isearch-lazy-highlight-new-loop):
Make arguments beg and end optional.
(isearch-update): Remove optional arguments nil from
isearch-lazy-highlight-new-loop.
(isearch-lazy-highlight-search): Let-bind case-fold-search to
isearch-lazy-highlight-case-fold-search instead of
isearch-case-fold-search, and let-bind isearch-regexp to
isearch-lazy-highlight-regexp.  Use
isearch-lazy-highlight-last-string instead of isearch-string.
2005-03-18 09:59:31 +00:00
Juri Linkov
46fe9018aa (lazy-highlight-cleanup) <command>: Rename from
`isearch-lazy-highlight-cleanup', add alias to old name and
declare obsolete.  Add release numbers to other obsolete vars.
(isearch-done, isearch-lazy-highlight-new-loop): Rename
`isearch-lazy-highlight-cleanup' to `lazy-highlight-cleanup'.
(lazy-highlight-cleanup) <variable>: Doc fix.
(isearch-lazy-highlight-update): Rename obsolete
`isearch-lazy-highlight-face' to `lazy-highlight-face'.
2005-03-18 07:06:45 +00:00
Juri Linkov
5a1f9fcfea (isearch-fallback): Check for `(car previous)'
before calling `isearch-other-end-state'.
2005-03-17 19:22:55 +00:00
Juri Linkov
7f55d3b755 Put isearch-scroll' property to split-window-horizontally'. 2005-03-16 07:33:26 +00:00
Juri Linkov
ba653a53be (isearch-error): New variable.
(isearch-invalid-regexp, isearch-within-brackets): Remove.
(isearch-error-state): Renamed from `isearch-invalid-regexp-state'.
(isearch-within-brackets-state): Remove.
(isearch-case-fold-search-state, isearch-pop-fun-state):
Decrease frame index.
(isearch-mode, isearch-top-state, isearch-push-state)
(isearch-edit-string, isearch-abort, isearch-search-and-update)
(isearch-fallback, isearch-message-prefix, isearch-message-suffix)
(isearch-search, isearch-lazy-highlight-new-loop):
Replace `isearch-invalid-regexp' with `isearch-error'.
Remove `isearch-within-brackets'.
(isearch-search): Add `search-failed' handler to `condition-case'.
(isearch-lazy-highlight-search): Add `condition-case' to catch
errors and allow `isearch-lazy-highlight-update' to try
highlighting from the beginning of the window.
(isearch-repeat): Move up code to set isearch-wrapped to t
before calling isearch-wrap-function.
2005-03-15 10:45:25 +00:00
Dan Nicolaescu
ac010fca51 (isearch-forward): Document isearch-query-replace and
isearch-query-replace-regexp keybindings.
2005-02-19 20:52:47 +00:00
Richard M. Stallman
f9114cec07 (isearch-lazy-highlight-start-limit)
(isearch-lazy-highlight-end-limit): New variables limit
the region for highlighting.
(isearch-lazy-highlight-new-loop): New args BEG and END.
(isearch-lazy-highlight-search): Use the new vars.
(isearch-lazy-highlight-update): Likewise.
2005-02-16 09:41:02 +00:00
Juri Linkov
bca92193e4 (search-highlight, isearch, isearch-lazy-highlight):
Bring together isearch highlight related options.
(lazy-highlight): Replace group `replace' by `matching'.
(lazy-highlight-cleanup, lazy-highlight-initial-delay)
(lazy-highlight-interval, lazy-highlight-max-at-a-time)
(lazy-highlight): Add aliases to old names isearch-lazy-highlight-...
and declare them obsolete.
(lazy-highlight-face): Rename from isearch-lazy-highlight-face.
(isearch-faces): Remove defgroup.
(isearch-overlay, isearch-highlight, isearch-dehighlight):
Move isearch highlighting code closer to lazy highlighting code.
2005-01-11 23:03:01 +00:00
Juri Linkov
2c987fc2c1 (isearch-lazy-highlight-update): Rename
`isearch-lazy-highlight-interval' to `lazy-highlight-interval'.
2005-01-06 06:54:28 +00:00
Miles Bader
e3cde0c787 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-12
Remove "-face" suffix from lazy-highlight face name

2005-01-06  Miles Bader  <miles@gnu.org>

   * lisp/isearch.el (lazy-highlight): Renamed from `lazy-highlight-face'.
   (isearch-lazy-highlight-face): Use new name.
2005-01-06 04:44:57 +00:00
Stefan Monnier
4dbbcb46d9 (isearch-dehighlight): Remove unused arg `totally'.
(isearch-update, isearch-done): Adjust calls accordingly.
2005-01-05 20:49:11 +00:00