1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

124 Commits

Author SHA1 Message Date
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