summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
Commit message (Collapse)AuthorAgeFilesLines
* (isearch-forward): Fix typo.Juanma Barranquero2003-01-241-46/+46
|
* (isearch-mode-map): Bind `mouse-movement' to nil.Gerd Moellmann2001-10-181-0/+1
|
* (isearch-intersects-p): Fix end checks.Gerd Moellmann2001-09-121-4/+4
|
* (isearch-intersects-p): New function.Gerd Moellmann2001-09-071-24/+27
| | | | | (isearch-close-unnecessary-overlays): Renamed from *unecessary*, use isearch-intersects-p, and clean up.
* (isearch-mouse-2): Renamed from isearch-mouse-yank.Gerd Moellmann2001-08-311-6/+16
| | | | | Instead of running mouse-yank-at-click, see what the event is bound to outside Isearch and run that.
* (isearch-other-meta-char): Don't switch to theGerd Moellmann2001-08-101-2/+17
| | | | | buffer of a window clicked on, when the current buffer is in Isearch mode.
* (isearch-other-meta-char): Fix last change.Gerd Moellmann2001-07-251-1/+2
|
* (isearch-other-meta-char): Don't modify mode-line andGerd Moellmann2001-07-251-14/+13
| | | | | | similar events for which fake prefix keys are generated. It's no longer necessary since read_key_sequence doesn't modify these events for internal purposes anymore.
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-1/+1
|
* (isearch-forward): Doc fix.Eli Zaretskii2001-02-051-2/+2
|
* (isearch-forward): Add description about input method in the docsting.Kenichi Handa2001-02-051-0/+9
|
* (isearch-highlight): Don't punt if the displayEli Zaretskii2001-01-281-1/+1
| | | | | doesn't support colors, since isearch faces are defined for monochrome displays as well.
* (isearch-lazy-highlight-case-fold-search)Gerd Moellmann2001-01-221-0/+8
| | | | | | (isearch-lazy-highlight-regexp): New variables. (isearch-lazy-highlight-cleanup): Update lazy highlight if case-fold search or regexp search has been toggled.
* (isearch-lazy-highlight-initial-delay): Set defaultGerd Moellmann2001-01-221-1/+1
| | | | to 0.25.
* (isearch-forward): Add isearch-toggle-case-fold,Eli Zaretskii2001-01-191-0/+4
| | | | isearch-toggle-regexp and isearch-edit-string to doc string.
* (isearch-lazy-highlight-initial-delay)Gerd Moellmann2001-01-171-2/+2
| | | | (isearch-lazy-highlight-interval): Default to 0.
* (isearch-highlight): Set isearch-overlay priority toGerd Moellmann2001-01-171-163/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 here rather than each time through isearch-lazy-highlight-new-loop. (isearch-lazy-highlight-max): Variable deleted. (isearch-lazy-highlight-max-at-a-time): New user variable, like isearch-lazy-highlight-max but controls a single invocation of isearch-lazy-highlight-update. (isearch-lazy-highlight-wrapped): Variable recreated. (isearch-lazy-highlight-window-start): New variable. (isearch-lazy-highlight-cleanup): Restored to behavior of before 2-Jan. (isearch-lazy-highlight-remove-overlays): Function deleted; behavior folded into isearch-lazy-highlight-cleanup. "Keep" behavior removed. (isearch-lazy-highlight-new-loop): Restore old behavior of calling isearch-lazy-highlight-update in a loop rather than just once. Test isearch-invalid-regexp here and decide not to start a new loop, rather than testing it each time through isearch-lazy-highlight-update. (isearch-lazy-highlight-search): Function restored. (isearch-lazy-highlight-update): Get called in a timer loop again, but this time highlight more than one match each time through. Only highlight matches in the visible part of the window. Start at point, move in the direction of the search, and wrap around at the edge of the window. Use sit-for to force redisplay and ensure window-start is credible. "Face suppressing" behavior removed; overlay priorities should make it unnecessary, right? (isearch-highlight): Face suppressing behavior removed. (isearch-dehighlight): Face suppressing behavior removed. (isearch-set-lazy-highlight-faces-at): Removed.
* (isearch-lazy-highlight): Add :version.Dave Love2001-01-161-0/+1
|
* (isearch-search): In the condition-case handler forGerd Moellmann2001-01-111-2/+2
| | | | `error', set isearch-invalid-regexp to the whole error message.
* (isearch-lazy-highlight-update):Richard M. Stallman2001-01-111-16/+20
| | | | | | Don't look for more potential matches once maximum is exceeded. Use overlays-in to check correctly for overlap with current match. Ignore empty matches.
* (isearch-done): Set isearch-lazy-highlight-startGerd Moellmann2001-01-101-0/+2
| | | | to nil.
* (isearch, isearch-lazy-highlight-face): NewEli Zaretskii2001-01-091-4/+16
| | | | definitions for face colors and attributes.
* (isearch-old-signal-hook): Removed.Gerd Moellmann2001-01-081-6/+2
| | | | | | (isearch-mode): Add isearch-done to kbd-macro-termination-hook instead of setting signal-hook-function. (isearch-done): Remove isearch-done from kbd-macro-termination-hook.
* (isearch-lazy-highlight-remove-overlays): Doc fix.Eli Zaretskii2001-01-061-4/+4
| | | | (isearch-lazy-highlight-update): Doc fix.
* (isearch-old-signal-hook): New variable.Gerd Moellmann2001-01-051-3/+10
| | | | | | (isearch-mode): Set signal-hook-function to isearch-done. (isearch-done): Restore old signal-hook-function. ----------------------------
* Do highlighting of alternative matches all at once,Richard M. Stallman2001-01-031-86/+76
| | | | | | | | | | | | | | | | | | but only do it in the text that's visible in the selected window. (isearch-lazy-highlight-cleanup): Arg now says to remove all the current alternative-match highlighting. If nil, remove only what's outside the current window. (isearch-lazy-highlight-remove-overlays): Take optional region within which NOT to remove them. (isearch-lazy-highlight-new-loop): Greatly simplified. (isearch-lazy-highlight-update): Find all the other occurrences visible in the window, in just one call. (isearch-lazy-highlight-start): Now holds start of region to scan. (isearch-lazy-highlight-end): Now holds end of region to scan. (isearch-lazy-highlight-wrapped): Variable deleted. (isearch-lazy-highlight-search): Function deleted.
* (isearch-lazy-highlight-max): New user-option.Gerd Moellmann2000-12-151-1/+10
| | | | | (isearch-lazy-highlight-update): Don't highlight more than isearch-lazy-highlight-max matches.
* (isearch-original-minibuffer-message-timeout): New var.Miles Bader2000-11-221-1/+16
| | | | | | | | | (isearch-mode): Set `minibuffer-message-timeout' to nil, after stashing away its original value. (isearch-edit-string): Temporarily restore `minibuffer-message-timeout' in the recursive edit. Bind `isearch-original-minibuffer-message-timeout' to protect it. (isearch-done): Restore `minibuffer-message-timeout'.
* (isearch-mode-map): Fix docstring. Init in defvar.Stefan Monnier2000-11-211-123/+113
| | | | | | (minibuffer-local-isearch-map): Init in defvar. Use inheritance. (isearch-clean-overlays, isearch-range-invisible, isearch-unread): Use mapc rather than map.
* (isearch-set-lazy-highlight-faces-at): New function.Miles Bader2000-10-121-20/+50
| | | | | | | | | (isearch-highlight): Restore lazy-isearch face properties at old position, and suppress them at new position. (isearch-dehighlight): Restore lazy-isearch face properties. (isearch-lazy-highlight-update): Add lazy-isearch overlays even over the real isearch overlay, but in that case, don't give it a face property. Use `push'.
* (isearch-lazy-highlight-update): Don't put a lazyGerd Moellmann2000-10-021-13/+22
| | | | | | highlighting overlay with a different face over the overlay isearch uses to highlight the current match because that can lead to bad face combinations.
* (isearch-faces): New custom group.Gerd Moellmann2000-10-021-8/+18
| | | | | | (isearch): New defface; was already tested for in the code. (isearch-lazy-highlight-face): Changed to defface from defcustom. (isearch-highlight): Always use face `isearch'.
* (isearch-text-char-description): Pointless rewrite.Stefan Monnier2000-09-291-3/+4
|
* (isearch-resume): New function.Gerd Moellmann2000-07-261-2/+24
| | | | | | | (isearch-done): Add something to command-history to resume the search. (isearch-yank-line, isearch-yank-word): Use buffer-substring-no-properties instead of buffer-substring.
* (isearch-other-meta-char): Fix previous change.Kenichi Handa2000-06-021-1/+1
|
* (isearch-highlight): Turn internal-find-face into facep.Stefan Monnier2000-06-021-3/+2
|
* (isearch-update): Set disable-point-adjustment to tKenichi Handa2000-06-011-3/+20
| | | | | | | | to prevent the point moving to the end of a composition when a part of a composition is searched. (isearch-other-meta-char): If the key invoking this command can be mapped by function-key-map to a printing char, call isearch-process-search-char directly.
* (isearch-printing-char): If keyboard coding system isKenichi Handa2000-05-311-1/+3
| | | | being used, call isearch-process-search-multibyte-characters.
* (isearch-mode-map): Define M-C-s like C-s and M-C-rGerd Moellmann2000-04-041-1/+7
| | | | like C-r.
* (isearch-highlight): Use display-color-p.Dave Love2000-03-121-1/+1
|
* Add lazy highlighting.Gerd Moellmann1999-11-111-1/+174
|
* (isearch-ring-advance-edit, isearch-complete-edit):Gerd Moellmann1999-11-041-2/+2
| | | | Use delete-field instead of erase-field.
* (isearch-complete-edit, isearch-ring-advance-edit):Gerd Moellmann1999-11-031-2/+2
| | | | Use erase-field instead of erase-buffer.
* (isearch): Add :links in defgroup.Dave Love1999-09-271-47/+42
| | | | | | | | | | | | (isearch-mode-map): Bind mouse-2 to isearch-mouse-yank. (isearch-switch-frame-handler): Comment out (unused). (isearch-yank-x-selection, isearch-ring-advance-edit): Doc fix. (isearch-ring-retreat-edit): Doc fix. (isearch-mouse-yank): New command. (isearch-last-command-char): Removed. Callers changed to use last-command-char. (isearch-char-to-string): Removed. Callers changed to use char-to-string.
* (isearch-mode-map): Undo previous change.Richard M. Stallman1999-09-121-3/+4
|
* (isearch-mode-map): Add mouse-2.Dave Love1999-09-061-0/+4
|
* (isearch-process-search-char): Write octal 200 correctly.Richard M. Stallman1999-07-051-1/+1
|
* (isearch-quote-char): Call unibyte-char-to-multibyte for \200...\240 also.Richard M. Stallman1999-07-031-3/+3
| | | | (isearch-printing-char): Use unibyte-char-to-multibyte.
* (isearch-done): If search ends in middle of intangibleRichard M. Stallman1999-07-021-6/+17
| | | | text (due to text property), move on to the limit of that text.
* (isearch-quote-char): Don't assume character codesKenichi Handa1999-05-281-5/+5
| | | | | 0200 - 0237 stand for characters in some single-byte character charset.