1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

291 Commits

Author SHA1 Message Date
Gerd Moellmann
17635d50f6 (isearch-other-meta-char): Fix last change. 2001-07-25 14:51:10 +00:00
Gerd Moellmann
3fb01f36c5 (isearch-other-meta-char): Don't modify mode-line and
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.
2001-07-25 14:02:28 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
1e14b09539 (isearch-forward): Doc fix. 2001-02-05 17:15:07 +00:00
Kenichi Handa
37b20c9be5 (isearch-forward): Add description about input method in the docsting. 2001-02-05 00:39:48 +00:00
Eli Zaretskii
8005142f86 (isearch-highlight): Don't punt if the display
doesn't support colors, since isearch faces are defined for
monochrome displays as well.
2001-01-28 13:13:00 +00:00
Gerd Moellmann
46daf6c747 (isearch-lazy-highlight-case-fold-search)
(isearch-lazy-highlight-regexp): New variables.
(isearch-lazy-highlight-cleanup): Update lazy highlight if
case-fold search or regexp search has been toggled.
2001-01-22 11:23:38 +00:00
Gerd Moellmann
871e0439db (isearch-lazy-highlight-initial-delay): Set default
to 0.25.
2001-01-22 10:20:06 +00:00
Eli Zaretskii
6c551d4e1f (isearch-forward): Add isearch-toggle-case-fold,
isearch-toggle-regexp and isearch-edit-string to doc string.
2001-01-19 17:13:17 +00:00
Gerd Moellmann
b8fbd47499 (isearch-lazy-highlight-initial-delay)
(isearch-lazy-highlight-interval): Default to 0.
2001-01-17 14:11:06 +00:00
Gerd Moellmann
c982ab2168 (isearch-highlight): Set isearch-overlay priority to
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.
2001-01-17 14:10:25 +00:00
Dave Love
39f2174e95 (isearch-lazy-highlight): Add :version. 2001-01-16 17:27:20 +00:00
Gerd Moellmann
c5348233d2 (isearch-search): In the condition-case handler for
`error', set isearch-invalid-regexp to the whole error message.
2001-01-11 15:31:12 +00:00
Richard M. Stallman
7742ee1924 (isearch-lazy-highlight-update):
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.
2001-01-11 08:08:51 +00:00
Gerd Moellmann
d196f58d91 (isearch-done): Set isearch-lazy-highlight-start
to nil.
2001-01-10 17:20:35 +00:00
Eli Zaretskii
29910493a8 (isearch, isearch-lazy-highlight-face): New
definitions for face colors and attributes.
2001-01-09 11:38:12 +00:00
Gerd Moellmann
7e56ea04ca (isearch-old-signal-hook): Removed.
(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.
2001-01-08 12:26:23 +00:00
Eli Zaretskii
380866a2a5 (isearch-lazy-highlight-remove-overlays): Doc fix.
(isearch-lazy-highlight-update): Doc fix.
2001-01-06 19:04:32 +00:00
Gerd Moellmann
1f4139d5ae (isearch-old-signal-hook): New variable.
(isearch-mode): Set signal-hook-function to isearch-done.
(isearch-done): Restore old signal-hook-function.
----------------------------
2001-01-05 14:41:53 +00:00
Richard M. Stallman
67ecad4e09 Do highlighting of alternative matches all at once,
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.
2001-01-03 00:18:53 +00:00
Gerd Moellmann
68ebbb959e (isearch-lazy-highlight-max): New user-option.
(isearch-lazy-highlight-update): Don't highlight more than
isearch-lazy-highlight-max matches.
2000-12-15 13:22:21 +00:00
Miles Bader
ae1a21c634 (isearch-original-minibuffer-message-timeout): New var.
(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'.
2000-11-22 01:36:08 +00:00
Stefan Monnier
02b2f510d0 (isearch-mode-map): Fix docstring. Init in defvar.
(minibuffer-local-isearch-map): Init in defvar.  Use inheritance.
(isearch-clean-overlays, isearch-range-invisible, isearch-unread):
Use mapc rather than map.
2000-11-21 21:28:05 +00:00
Miles Bader
4fb2ad9831 (isearch-set-lazy-highlight-faces-at): New function.
(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'.
2000-10-12 07:39:14 +00:00
Gerd Moellmann
45c477b462 (isearch-lazy-highlight-update): Don't put a lazy
highlighting overlay with a different face over the overlay
isearch uses to highlight the current match because that can lead
to bad face combinations.
2000-10-02 19:51:03 +00:00
Gerd Moellmann
18ca20aa86 (isearch-faces): New custom group.
(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'.
2000-10-02 19:18:09 +00:00
Stefan Monnier
143736774c (isearch-text-char-description): Pointless rewrite. 2000-09-29 02:35:56 +00:00
Gerd Moellmann
c40a4de1df (isearch-resume): New function.
(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.
2000-07-26 14:48:00 +00:00
Kenichi Handa
ed5c183bc9 (isearch-other-meta-char): Fix previous change. 2000-06-02 03:19:24 +00:00
Stefan Monnier
c5def0db86 (isearch-highlight): Turn internal-find-face into facep. 2000-06-02 00:48:43 +00:00
Kenichi Handa
a5cc922e6a (isearch-update): Set disable-point-adjustment to t
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.
2000-06-01 06:22:31 +00:00
Kenichi Handa
3c487103b8 (isearch-printing-char): If keyboard coding system is
being used, call isearch-process-search-multibyte-characters.
2000-05-31 03:49:22 +00:00
Gerd Moellmann
1ea1fb7e14 (isearch-mode-map): Define M-C-s like C-s and M-C-r
like C-r.
2000-04-04 21:04:34 +00:00
Dave Love
3cf0730529 (isearch-highlight): Use display-color-p. 2000-03-12 14:42:58 +00:00
Gerd Moellmann
44336afbad Add lazy highlighting. 1999-11-11 13:39:21 +00:00
Gerd Moellmann
b7b66466a9 (isearch-ring-advance-edit, isearch-complete-edit):
Use delete-field instead of erase-field.
1999-11-04 20:43:05 +00:00
Gerd Moellmann
3157c24a8e (isearch-complete-edit, isearch-ring-advance-edit):
Use erase-field instead of erase-buffer.
1999-11-03 16:26:28 +00:00
Dave Love
117132a6a6 (isearch): Add :links in defgroup.
(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.
1999-09-27 22:15:50 +00:00
Richard M. Stallman
e952bf4445 (isearch-mode-map): Undo previous change. 1999-09-12 03:40:44 +00:00
Dave Love
c9961ecaeb (isearch-mode-map): Add mouse-2. 1999-09-06 21:33:27 +00:00
Richard M. Stallman
8f3c1d763f (isearch-process-search-char): Write octal 200 correctly. 1999-07-05 16:49:22 +00:00
Richard M. Stallman
3c75023fda (isearch-quote-char): Call unibyte-char-to-multibyte for \200...\240 also.
(isearch-printing-char): Use unibyte-char-to-multibyte.
1999-07-03 19:45:04 +00:00
Richard M. Stallman
df01192be7 (isearch-done): If search ends in middle of intangible
text (due to text property), move on to the limit of that text.
1999-07-02 12:53:04 +00:00
Kenichi Handa
c20d35d515 (isearch-quote-char): Don't assume character codes
0200 - 0237 stand for characters in some single-byte character
charset.
1999-05-28 00:16:09 +00:00
Karl Heuer
ec0a2f45a2 (isearch-search-and-update): Properly
handle upper case letters in the reverse-search special case.
1998-09-25 16:53:04 +00:00
Karl Heuer
8617e346f1 (isearch-forward): Doc fix. 1998-08-26 18:13:55 +00:00
Richard M. Stallman
dcb6bf2b6f (search-whitespace-regexp): Doc fix. 1998-08-18 07:45:27 +00:00
Kenichi Handa
99848db078 (isearch-input-method-function): New variable.
(isearch-input-method-local-p): New variable.
(isearch-mode): Setup the above two variable.  Set
input-method-function to nil locally.
(isearch-done): Restore the previous value of
input-method-function.
1998-07-19 05:17:35 +00:00
Kenichi Handa
52e3ccbf8d (isearch-mode-map): Make all multibyte characters
search for themselves.
1998-07-06 06:33:55 +00:00
Andreas Schwab
5786b3ed4c (search-upper-case): Use `other' widget type. 1998-06-24 09:13:36 +00:00
Kenichi Handa
de207f5af3 (isearch-range-invisible): Handle the case that
buffer-invisibility-spec is t (i.e. not a list).
1998-06-20 02:59:51 +00:00
Richard M. Stallman
57ff063d0b (isearch-yank-x-selection): Doc fix. 1998-04-27 22:05:53 +00:00
Richard M. Stallman
bd6a841426 (isearch-*-char): Do nothing special if quoted with \. 1998-03-05 02:28:44 +00:00
Richard M. Stallman
7e97482bb7 (isearch-range-invisible): Avoid infinite loop when search-invisible is nil. 1998-02-02 00:18:33 +00:00
Richard M. Stallman
6b0f9bdfdd (isearch-mode-map): Don't count above 256
when setting up printing characters.
1997-12-21 02:33:57 +00:00
Karl Heuer
9cf081fa5c (isearch-yank-string): New helper function.
(isearch-yank-kill, isearch-yank-word, isearch-yank-line): Use it.
(isearch-yank-x-selection): New function.
(isearch-yank): Function deleted.
1997-11-18 22:31:16 +00:00
Karl Heuer
45b94eb2e9 (isearch-printing-char): Change S-SPC to SPC.
(isearch-mode-map): Bind S-SPC like SPC.
1997-10-15 23:15:09 +00:00
Richard M. Stallman
e2b992cbc6 (search-whitespace-regexp): Doc fix. 1997-09-05 23:33:10 +00:00
Richard M. Stallman
af56433dc5 (isearch-printing-char): Handle nonascii-insert-offset. 1997-08-28 00:33:03 +00:00
Kenichi Handa
5b56d4e4bd (isearch-multibyte-characters-flag): Deleted.
(isearch-mode): Do not bind isearch-multibyte-characters-flag and
isearch-input-method.
(isearch-printing-char): Use current-input-method instead of
isearch-input-method.
(isearch-message-prefix): Likewise.
1997-08-18 10:53:05 +00:00
Richard M. Stallman
8bc15fa853 (isearch-quote-char): Fix handling of control
characters, copied from quoted-insert.
1997-08-04 19:03:37 +00:00
Richard M. Stallman
4fd017e78e (isearch-other-meta-char): Don't switch windows to exit
if that would switch to an inactive minibuffer.
1997-08-04 05:09:49 +00:00
Richard M. Stallman
68c18d6d0a (isearch-hide-immediately): Doc fix. 1997-08-01 04:53:34 +00:00
Richard M. Stallman
79c7a4fa5f (search-invisible): Fix typo.
(isearch-search): Bind inhibit-point-motion-hooks because we might
have to search inside invisible and intangible text.
(isearch-open-overlay-temporary): Delete forgoten debug message.
(isearch-range-invisible): Fix typo in doc-string.
1997-07-19 05:34:23 +00:00
Richard M. Stallman
92d874e687 (isearch-char-to-string): Use char-to-string.
(isearch-quote-char): Add nonascii-insert-offset.
1997-07-15 00:23:03 +00:00
Kenichi Handa
8c5d9782ec (isearch-message-prefix): Adjusted
for the previous change of variables related to input methods.
1997-07-10 06:44:55 +00:00
Richard M. Stallman
d64b1d967b (isearch-search-and-update): When a reverse search
need not actually search, update isearch-case-fold-search anyway.
(isearch-mode-map): Define latin-iso8859-9 as self-searching.
1997-06-25 03:45:38 +00:00
Richard M. Stallman
0352b20571 (isearch-hide-immediately): New variable.
(isearch-close-unecessary-overlays): New function.
(isearch-range-invisible): Use them.

(search-invisible): Changed the semantics,
the default value and updated the doc string.
(isearch-opened-overlays): New variable.
(isearch-mode): Initialize it.
(isearch-switch-frame-handler): Call isearch-clean-overlays.
(isearch-exit, isearch-cancel, isearch-abort): Likewise.
(isearch-other-meta-char, isearch-search):
Support the new meaning for search-invisible.
(isearch-open-necessary-overlays, isearch-open-overlay-temporary)
(isearch-clean-overlays): New functions.
(isearch-range-invisible): If we are inside overlays that can be
opened, open them, add them to isearch-opened-overlays and say
that the range is visible.
1997-06-13 21:30:38 +00:00
Richard M. Stallman
30178dde79 (search-highlight): Make it t by default.
(search-invisible): Doc fix.
1997-05-30 05:15:48 +00:00
Richard M. Stallman
01a6ef79ef (isearch-process-search-char): Use multibyte
characters to represent themselves.

(isearch-mode-map): Make Latin-4 characters search for themselves.
Use aset to set up these char sets.
1997-05-14 03:53:43 +00:00
Richard M. Stallman
280e8e043d (isearch-mode-map): Treat Latin-1, Latin-2 an Latin-3
chars as printing characters.
1997-05-12 23:18:40 +00:00
Richard M. Stallman
9c1db9293c Use defgroup and defcustom. 1997-05-03 22:35:40 +00:00
Karl Heuer
fd543be59d (isearch-yank): Handle case when CHUNK is `x-sel'. 1997-03-08 19:08:39 +00:00
Karl Heuer
f46d509102 (isearch-mode-map): Define
isearch-toggle-input-method and
isearch-toggle-specified-input-method in the map.
(isearch-multibyte-characters-flag): New variable.
(isearch-mode): Initialize it to nil.
(isearch-printing-char): Handle multibyte characters.
(isearch-message-prefix): Include title of input method if
necessary in the prefix of message.
1997-02-20 05:46:22 +00:00
Richard M. Stallman
86bfaffe40 (isearch-search): Refuse to match invisible text.
(isearch-range-invisible): New function.
(search-invisible): New user option.
1997-02-10 09:41:31 +00:00
Richard M. Stallman
e900ced401 (isearch-edit-string): When we try the search
at the end, do that outside of the let which binds all the
search state.
1996-12-20 05:58:41 +00:00
Richard M. Stallman
2ff20b7e81 (isearch-ring-adjust): Don't pop the state at the start.
Push the state at the end, not in the middle.
1996-12-17 20:24:43 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Richard M. Stallman
590571980e (isearch-no-upper-case-p): Use downcase
so that we handle arbitrary kinds of casification.
1996-12-07 22:17:50 +00:00
Richard M. Stallman
18ce7555c8 (isearch-mode): Maybe make minibuffer frame visible and/or raise it. 1996-12-07 20:31:38 +00:00
Richard M. Stallman
36bcac3fe1 (isearch-complete1): If no completion,
don't clobber isearch-string, and return nil.
1996-11-12 04:26:06 +00:00
Richard M. Stallman
de40ed8931 (isearch-forward): Doc fix. 1996-11-01 20:18:08 +00:00
Richard M. Stallman
e4de46c8ca (unread-command-event, unread-command-events)
(last-command-event): defvars deleted.
1996-09-22 22:23:25 +00:00
Richard M. Stallman
149d4fe55c (isearch-*-char): Use the isearch-other-end as new
starting point in both directions.
1996-09-01 20:46:31 +00:00
Richard M. Stallman
d4866ec362 (isearch-edit-string): When starting nonincremental
search, after peeking ahead one char, call cancel-kbd-macro-events.
1996-08-24 16:03:25 +00:00
Richard M. Stallman
9da6682fad (isearch-whitespace-chars): If isearch-invalid-regexp, insert just a space. 1996-08-11 00:19:31 +00:00
Richard M. Stallman
bfe2d334fd (isearch-mode): Use add-hook for mouse-leave-buffer-hook.
(isearch-done): Use remove-hook.
1996-04-04 16:38:59 +00:00
Karl Heuer
3f866b5324 * isearch.el (isearch-other-meta-char): Avoid error if lookup in
function-key-map gives another keymap.
1996-01-24 23:26:25 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
b7852303b8 (isearch-abort, isearch-no-upper-case-p): Doc fix. 1996-01-04 23:42:23 +00:00
Karl Heuer
99ae9e9fda (isearch-done): Use executing-kbd-macro.
(isearch-just-started): New variable.
(isearch-mode): Set it.
(isearch-search): Clear it.
(isearch-repeat): If isearch-just-started, don't test for empty match.
(isearch-unread): Use store-kbd-macro-event.

(isearch-search-and-update): Use isearch-case-fold-search
around the looking-at call.
1995-12-21 17:49:54 +00:00
Richard M. Stallman
f3acf6f52a (isearch-edit-string): Consider the case when
iserch-string is empty and so are the search rings.
1995-12-01 20:18:18 +00:00
Richard M. Stallman
7badea3036 (isearch-message-prefix):
Change "wrapped" to "overwrapped" when past original start point.
1995-10-19 22:23:57 +00:00
Richard M. Stallman
fd49e05ce5 (isearch-forward): Doc fix. 1995-10-04 16:00:11 +00:00
Richard M. Stallman
d94eb6ebc8 (isearch-other-meta-char): Avoid bug checking whether
a key is defined in the function key map.
Call cancel-kbd-macro-events.
1995-08-10 23:19:22 +00:00
Richard M. Stallman
24b5caec34 (isearch-mode-map): Don't bind tab, return, kp-N, etc.
(isearch-other-meta-char): Special handling for keys like tab, etc.
1995-07-29 22:21:55 +00:00
Karl Heuer
5f48fc17d1 (isearch-mode-map): Bind frame events to nil. 1995-06-16 22:24:42 +00:00
Karl Heuer
c79552226e (isearch-mode): Use overriding-terminal-local-map, not overriding-local-map.
(isearch-done): Likewise.
1995-06-16 06:10:21 +00:00
Karl Heuer
c6431f12aa (isearch-other-meta-char): Try downshifting
shifted control characters.
1995-06-07 20:48:53 +00:00
Karl Heuer
0f09b61610 (isearch-edit-string): Don't bind isearch-other-end. 1995-05-29 04:12:46 +00:00
Richard M. Stallman
79ce455d11 (isearch-mode): Doc fix. 1995-05-02 01:13:59 +00:00
Karl Heuer
1cd3732c0a (isearch-mode, isearch-done): Use force-mode-line-update. 1995-04-25 22:28:40 +00:00
Richard M. Stallman
fd89878d16 (isearch-update-ring): Use STRING arg, not isearch-ring. 1995-04-24 15:27:35 +00:00
Karl Heuer
133bd29b68 Comment fix. 1995-04-14 17:59:59 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Richard M. Stallman
73d2bf95bb (isearch-update-ring): New subroutine.
(isearch-done): Use that.
1995-03-23 02:25:55 +00:00
Richard M. Stallman
925a67ca07 (isearch-abort): Treat "incomplete regexp"
as failure when deciding how much to discard for C-g.
1995-03-18 18:10:21 +00:00
Richard M. Stallman
509ed182e7 (isearch-abort): Set isearch-success to nil. 1995-03-16 23:31:39 +00:00
Karl Heuer
a56687f1c0 (isearch-edit-string): Disable message logging.
(isearch-toggle-case-fold, isearch-message): Likewise.
1995-01-11 02:24:09 +00:00
Richard M. Stallman
6e5cd0ae31 (isearch-mode): Set mouse-leave-buffer-hook.
(isearch-done): Clear it.
1994-12-26 05:09:07 +00:00
Richard M. Stallman
9821535a44 (isearch-done): Don't print msg about mark if we don't set it.
Fix paren error.
1994-12-17 00:41:34 +00:00
Richard M. Stallman
ec121badad (isearch-mode-map): Move the code to set up the meta submap earlier in
the expression.
1994-12-15 02:06:45 +00:00
Richard M. Stallman
19993c5484 (isearch-cancel): New function.
(isearch-mode-map): Bind that to ESC ESC ESC.
1994-12-05 19:34:52 +00:00
Richard M. Stallman
0cabad136a (isearch-other-meta-char): Delete debugging code.
(isearch-char-to-string): Simplify--assume character is an integer.
1994-11-15 19:41:36 +00:00
Richard M. Stallman
58451992fb (isearch-gnu-emacs-events): Variable deleted.
(isearch-update): Always test unread-command-events.
(isearch-event-data-type): Variable deleted.
(isearch-pre-command-hook-exists): Variable deleted.
(isearch-last-command-char): Only use last-command-char.
1994-11-15 16:56:44 +00:00
Richard M. Stallman
bd1bd1252d (isearch-unread): Always use unread-command-events.
(isearch-other-meta-char): In the case of a mouse event with a dummy
prefix, recombine the two into a single event before unreading.
1994-11-15 16:53:29 +00:00
Richard M. Stallman
71e2ab547b (isearch-edit-string, isearch-toggle-case-fold):
Pass isearch-nonincremental to isearch-message-prefix.
1994-11-01 04:20:43 +00:00
Richard M. Stallman
48be3850d4 (isearch-mode): Don't set deactivate-mark here.
(isearch-done): In Transient Mark mode, don't set mark if is active.
1994-09-30 09:16:06 +00:00
Richard M. Stallman
7e846b1092 (isearch-edit-string): Use isearch-text-char-description. 1994-08-30 21:20:09 +00:00
Richard M. Stallman
0daa17f3fa (isearch-edit-string): In the isearch-recursive-edit case,
don't end the recursive edit and don't start another one.
(isearch-done): New arg EDIT.
(isearch-mode): Return t if search succeeded.
1994-08-30 07:03:33 +00:00
Richard M. Stallman
474f38896a (isearch-mode-map): Delete mouse-2, down-mouse-2 bindings. 1994-08-05 04:15:20 +00:00
Richard M. Stallman
eccd311755 (isearch-mode-map):
Bind the ASCII-equivalent fcn keys explicitly to nil.
1994-06-11 18:59:38 +00:00
Richard M. Stallman
e9d7d7e02d (isearch-done): Don't call deactivate-mark. 1994-05-14 09:50:26 +00:00
Karl Heuer
8eb40e74cd (isearch-edit-string): Doc fix.
(isearch-message-prefix): Initialize `isearch-within-brackets'.
1994-05-07 01:33:23 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
4453091dd3 (isearch-case-fold-search): new possible value `yes'
is like t except that mixed case in search string is ignored.
(isearch-toggle-case-fold): New function.
(isearch-search): Don't undo the work of isearch-toggle-case-fold.
1994-05-03 08:27:40 +00:00
Richard M. Stallman
5924340384 Fix copying conditions for current GPL version. 1994-04-07 20:30:18 +00:00
Richard M. Stallman
f5f6a944dc (isearch-highlight): Do nothing if not window-system. 1994-01-21 04:19:19 +00:00
Richard M. Stallman
f551b97db6 (isearch-push-state): Save isearch-case-fold-search.
(isearch-top-state): Restore it.
1994-01-19 18:45:34 +00:00
Richard M. Stallman
849cfd72e1 (isearch-mode): Set overriding-local-map locally.
Don't set isearch-old-local-map and don't call use-local-map.
(isearch-done): Set overriding-local-map to nil.
Don't call use-local-map.
(isearch-old-local-map): Variable deleted.
1994-01-16 23:40:50 +00:00
Richard M. Stallman
c5f6b35625 SPC is not special in regexp within brackets.
(isearch-within-brackets): New variable.
(isearch-mode): Set that.
(isearch-edit-string): Bind that.
(isearch-search-and-update): Set that.
(isearch-top-state): Set that.
(isearch-push-state): Use that.
(isearch-search): Set that.
1994-01-15 16:24:47 +00:00
Richard M. Stallman
292a8dff00 (isearch-mode): If not slow, clear isearch-window-configuration. 1994-01-10 22:27:52 +00:00
Richard M. Stallman
6fefdc4b48 (isearch-repeat): If we matched a null string and there's
no place to advance to, fail instead.
1994-01-02 17:43:16 +00:00
Richard M. Stallman
f7ead36120 (isearch-mode-map): Bind kp-... keys. 1993-12-25 00:50:10 +00:00
Richard M. Stallman
99afb6719f (isearch-update): If isearch-other-end is nil,
call isearch-dehighlight.
1993-12-24 03:30:11 +00:00
Richard M. Stallman
9d78ff8be7 (isearch-text-char-description): Treat TAB as ctl char.
(isearch-text-char-description): Really call
text-char-description for ctl chars.
1993-12-23 03:28:10 +00:00
Roland McGrath
d32696d43f Undo last change. 1993-11-26 22:20:23 +00:00
Roland McGrath
9bed762ea7 (isearch-search): Use real quit-char extracted from current-input-mode,
rather than always C-g.
1993-11-26 22:15:09 +00:00
Richard M. Stallman
4b43d418f3 (isearch-other-meta-char): Correct the test for a split-up
mode line or scroll bar mouse event.
1993-11-24 01:22:40 +00:00
Richard M. Stallman
30d47262d1 (isearch-yank): Handle `kill' as chunk type.
(isearch-yank-kill): New command, on M-y and mouse-2.
1993-10-24 04:05:22 +00:00
David J. MacKenzie
149df30fea comment fix 1993-10-09 20:03:33 +00:00
David J. MacKenzie
54d2ecd316 fix comment 1993-10-09 20:00:23 +00:00
Richard M. Stallman
235beb3226 (isearch-edit-string): Use read-event, not read-char. 1993-08-13 06:32:49 +00:00
Paul Eggert
ffbc30b29a (isearch-ring-adjust1, isearch-ring-advance-edit): Replace %' by mod' and simplify. 1993-08-10 04:14:17 +00:00
Richard M. Stallman
d49b6338aa (isearch-done): Move point (for small window)
before deciding whether to set the mark.
1993-07-31 18:39:09 +00:00
Roland McGrath
a9a5a9fa77 (isearch-edit-string): Bind isearch-nonincremental to its own value, not to
nil.
1993-07-15 03:46:02 +00:00
Roland McGrath
67cbb73ffd (isearch-done): Call deactivate-mark instead of setting mark-active
directly.  Do this regardless of transient-mark-mode.
1993-07-08 22:33:57 +00:00
Richard M. Stallman
285eb5ef12 (isearch-other-meta-char): Handle sequences
containing mouse clicks in scroll-bar that used another buffer's map.
1993-07-02 21:34:15 +00:00
Richard M. Stallman
82318db5ea (isearch-highlight): If no face isearch', use region'. 1993-06-13 21:43:15 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00