aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/isearch.el
Commit message (Collapse)AuthorAgeFilesLines
* (isearch-cmds): Add docstring.Stefan Monnier2002-09-091-103/+107
| | | | | | | | (isearch-mouse-2): Lookup binding in the proper buffer. Use call-interactively and remove the now useless `arg'. (isearch-search-fun-function): New var. (isearch-search-fun): New fun. (isearch-search, isearch-lazy-highlight-search): Use it.
* Don't require timer.Richard M. Stallman2002-04-271-2/+0
|
* (isearch-mode): Don't call make-frame-visibleRichard M. Stallman2002-04-101-7/+7
| | | | if frame is already visible.
* (isearch-message-prefix): Use minibuffer-prompt face for prompt.Pavel Janík2002-04-091-1/+1
|
* (isearch-update): Don't update display in kbd macro.Richard M. Stallman2002-02-061-1/+3
| | | | (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
* (isearch-forward, isearch-edit-string): Make docKarl Fogel2001-12-191-7/+8
| | | | | | | strings mention keybinding for `isearch-yank-word-or-char', rather than `isearch-yank-word', since the former is bound now and the latter is not. (isearch-yank-word-or-char): Fix formatting.
* (isearch-edit-string): When we set isearch-stringRichard M. Stallman2001-12-161-1/+5
| | | | to the default, also set isearch-message.
* (isearch-start-hscroll): New variable.Richard M. Stallman2001-12-161-2/+9
| | | | | (isearch-mode): Set isearch-start-hscroll. (isearch-update): Restore original hscrolling if possible.
* (isearch-edit-string):Richard M. Stallman2001-12-161-2/+3
| | | | Treat isearch-yank-word-or-char specially, like isearch-yank-word.
* (isearch-yank-word-or-char): New function.Richard M. Stallman2001-12-101-1/+10
| | | | (isearch-mode-map): Bind C-w to that.
* Remove unnecessary spaces in doc-string.Pavel Janík2001-12-031-1/+1
|
* (isearch-resume-enabled): New variable.Kim F. Storm2001-12-021-6/+12
| | | | (isearch-done): Use that variable.
* (isearch-yank-internal): New helper function.Karl Fogel2001-11-281-10/+18
| | | | | | (isearch-yank-char): New function. (isearch-yank-word, isearch-yank-line): Rewrite to use isearch-yank-internal.
* Comment change.Richard M. Stallman2001-11-191-0/+2
|
* (isearch): Use magenta2 as bg for (background light)Richard M. Stallman2001-11-181-1/+1
|
* (isearch-mode): Handle negative search-slow-window-lines correctly.Richard M. Stallman2001-11-131-2/+3
| | | | (isearch-whitespace-chars): Doc fix.
* (isearch-mode-map): Bind `mouse-movement' to nil.Gerd Moellmann2001-10-181-0/+1
|
* (isearch-last-case-fold-search): New variable.Gerd Moellmann2001-10-051-2/+6
| | | | | | | | (isearch-mode): Remember value of isearch-case-fold-search in isearch-last-case-fold-search. (isearch-done): Quote value of isearch-case-fold-search. (isearch-repeat): When resuming a search, restore isearch-case-fold-search from isearch-last-case-fold-search.
* (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.