;ELC ;;; compiled by kwzh@hal.gnu.ai.mit.edu on Tue Aug 30 22:33:21 1994 ;;; from file /amd/churchy/home/gd/gnu/emacs/19.0/lisp/isearch.el ;;; emacs version 19.25.95.1. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/amd/churchy/home/gd/gnu/emacs/19.0/lisp/isearch.el' was compiled for Emacs 19")) (byte-code "!!Ƈ" [fboundp set-frame-height isearch-gnu-emacs-events boundp pre-command-hook isearch-pre-command-hook-exists nil isearch-event-data-type] 2) (defconst search-exit-option t "\ *Non-nil means random control characters terminate incremental search.") (defvar search-slow-window-lines 1 "\ *Number of lines in slow search display windows. These are the short windows used during incremental search on slow terminals. Negative means put the slow search window at the top (normally it's at bottom) and the value is minus the number of lines.") (defvar search-slow-speed 1200 "\ *Highest terminal speed at which to use \"slow\" style incremental search. This is the style where a one-line window is created to show the line that the search has reached.") (defvar search-upper-case (quote not-yanks) "\ *If non-nil, upper case chars disable case fold searching. That is, upper and lower case chars must match exactly. This applies no matter where the chars come from, but does not apply to chars in regexps that are prefixed with `\\'. If this value is `not-yanks', yanked text is always downcased.") (defvar search-nonincremental-instead t "\ *If non-nil, do a nonincremental search instead if exiting immediately. Actually, `isearch-edit-string' is called to let you enter the search string, and RET terminates editing and does a nonincremental search.") (defconst search-whitespace-regexp "\\s-+" "\ *If non-nil, regular expression to match a sequence of whitespace chars. You might want to use something like \"[ \\t\\r\\n]+\" instead.") (defvar search-highlight nil "\ *Non-nil means incremental search highlights the current match.") (defvar isearch-mode-hook nil "\ Function(s) to call after starting up an incremental search.") (defvar isearch-mode-end-hook nil "\ Function(s) to call after terminating an incremental search.") (defvar search-ring nil "\ List of search string sequences.") (defvar regexp-search-ring nil "\ List of regular expression search string sequences.") (defconst search-ring-max 16 "\ *Maximum length of search ring before oldest elements are thrown away.") (defconst regexp-search-ring-max 16 "\ *Maximum length of regexp search ring before oldest elements are thrown away.") (defvar search-ring-yank-pointer nil "\ Index in `search-ring' of last string reused. nil if none yet.") (defvar regexp-search-ring-yank-pointer nil "\ Index in `regexp-search-ring' of last string reused. nil if none yet.") (defvar search-ring-update nil "\ *Non-nil if advancing or retreating in the search ring should cause search. Default value, nil, means edit the string instead.") (defvar isearch-mode-map nil "\ Keymap for isearch-mode.") (byte-code " \f8!!\fA\"\f#\nW9\f\n\"#\nT$\fA@GWS\f\n!#\nT<\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f#\f@A#\fBA#\fCD#E F\fGH!F#\fIF#)\fHJ\"K#\fLM#\fNO#\fPQ#\fRS#T\fUV#\f*ˇ" [isearch-mode-map 0 i make-keymap map vectorp 1 error "The initialization of isearch-mode-map must be updated" make-vector 256 nil define-key [t] isearch-other-control-char 32 make-string vector isearch-printing-char "" isearch-repeat-forward "" isearch-repeat-backward "" isearch-delete-char "" isearch-abort "" isearch-quote-char " " isearch-exit "\n" " " " " isearch-whitespace-chars "" isearch-yank-word "" isearch-yank-line [tab] [kp-0] [kp-1] [kp-2] [kp-3] [kp-4] [kp-5] [kp-6] [kp-7] [kp-8] [kp-9] [kp-add] [kp-subtract] [kp-multiply] [kp-divide] [kp-decimal] [kp-separator] [kp-equal] [kp-tab] [kp-space] [kp-enter] [delete] [backspace] [return] [newline] "*" isearch-*-char "?" "|" isearch-|-char make-sparse-keymap meta-map char-to-string meta-prefix-char [escape] t isearch-other-meta-char "" isearch-ring-advance "" isearch-ring-retreat "" isearch-yank-kill "" isearch-complete isearch-gnu-emacs-events [switch-frame] isearch-switch-frame-handler] 6) (defvar minibuffer-local-isearch-map nil "\ Keymap for editing isearch strings in the minibuffer.") (byte-code "/\n! # # # # # # )!8!A!J!S!\\!e!n!w!!!! !\"!#!$!%!&!'!(!)!*!+!,. .C!-!1#2#1#2#" [minibuffer-local-isearch-map copy-keymap minibuffer-local-map map define-key " " isearch-nonincremental-exit-minibuffer "" isearch-ring-advance-edit "" isearch-ring-retreat-edit "" isearch-complete-edit "" isearch-forward-exit-minibuffer "" isearch-reverse-exit-minibuffer boundp isearch-forward nil isearch-regexp isearch-word isearch-cmds isearch-string "" isearch-message isearch-success t isearch-invalid-regexp isearch-within-brackets isearch-other-end isearch-wrapped isearch-barrier 0 isearch-case-fold-search isearch-adjusted isearch-slow-terminal-mode isearch-small-window isearch-opoint isearch-window-configuration isearch-yank-flag isearch-op-fun isearch-recursive-edit isearch-nonincremental isearch-new-forward isearch-mode minor-mode-alist (isearch-mode isearch-mode) make-variable-buffer-local global-map esc-map isearch-forward-regexp isearch-backward isearch-backward-regexp] 4) (defalias 'isearch-forward #[(&optional regexp-p no-recursive-edit) "\n??\f?$" [isearch-mode t regexp-p nil no-recursive-edit] 5 "\ Do incremental search forward. With a prefix argument, do an incremental regular expression search instead. \\ As you type characters, they add to the search string and are found. The following non-printing keys are bound in `isearch-mode-map'. Type \\[isearch-delete-char] to cancel characters from end of search string. Type \\[isearch-exit] to exit, leaving point at location found. Type LFD (C-j) to match end of line. Type \\[isearch-repeat-forward] to search again forward, \\[isearch-repeat-backward] to search again backward. Type \\[isearch-yank-word] to yank word from buffer onto end of search string and search for it. Type \\[isearch-yank-line] to yank rest of line onto end of search string and search for it. Type \\[isearch-quote-char] to quote control character to search for it. \\[isearch-abort] while searching or when search has failed cancels input back to what has been found successfully. \\[isearch-abort] when search is successful aborts and moves point to starting point. Also supported is a search ring of the previous 16 search strings. Type \\[isearch-ring-advance] to search for the next item in the search ring. Type \\[isearch-ring-retreat] to search for the previous item in the search ring. Type \\[isearch-complete] to complete the search string using the search ring. The above keys, bound in `isearch-mode-map', are often controlled by options; do M-x apropos on search-.* to find them. Other control and meta characters terminate the search and are then executed normally (depending on `search-exit-option'). If this function is called non-interactively, it does not return to the calling function until the search is done." "P\np"]) (defalias 'isearch-forward-regexp #[(&optional not-regexp no-recursive-edit) "\n?\f?$" [isearch-mode t not-regexp nil no-recursive-edit] 5 "\ Do incremental search forward for regular expression. With a prefix argument, do a regular string search instead. Like ordinary incremental search except that your input is treated as a regexp. See \\[isearch-forward] for more info." "P\np"]) (defalias 'isearch-backward #[(&optional regexp-p no-recursive-edit) "\n?? ?$" [isearch-mode nil regexp-p no-recursive-edit] 5 "\ Do incremental search backward. With a prefix argument, do a regular expression search instead. See \\[isearch-forward] for more information." "P\np"]) (defalias 'isearch-backward-regexp #[(&optional not-regexp no-recursive-edit) "\n? ?$" [isearch-mode nil not-regexp no-recursive-edit] 5 "\ Do incremental search backward for regular expression. With a prefix argument, do a regular string search instead. Like ordinary incremental search except that your input is treated as a regexp. See \\[isearch-forward] for more info." "P\np"]) (defalias (quote isearch-mode-help) #[nil "! " [describe-function isearch-forward isearch-update] 2 nil nil]) (defalias 'isearch-mode #[(forward &optional regexp op-fun recursive-edit word-p) "\n\f  \f` X; _V` !S #% !( !,+ !0~1 )" [forward isearch-forward regexp isearch-regexp word-p isearch-word op-fun isearch-op-fun case-fold-search isearch-case-fold-search "" isearch-string isearch-message nil isearch-cmds t isearch-success isearch-wrapped isearch-barrier isearch-adjusted isearch-yank-flag isearch-invalid-regexp isearch-within-brackets baud-rate search-slow-speed window-height search-slow-window-lines 4 isearch-slow-terminal-mode isearch-other-end isearch-small-window isearch-opoint search-ring-yank-pointer regexp-search-ring-yank-pointer current-window-configuration isearch-window-configuration " Isearch" isearch-mode set-buffer-modified-p buffer-modified-p deactivate-mark isearch-push-state make-local-variable overriding-local-map isearch-mode-map isearch-update run-hooks isearch-mode-hook recursive-edit isearch-recursive-edit] 3 "\ Start isearch minor mode. Called by isearch-forward, etc."]) (byte-code "\"\"\"" [defalias isearch-update #[nil " ?\n ?\fW  `  !WL[TR TZ\")WyZ! `\" \" \"}! b)`W`\"`\"!щ" [isearch-event-data-type unread-command-event isearch-gnu-emacs-events unread-command-events unread-command-char 0 input-pending-p isearch-message isearch-slow-terminal-mode isearch-small-window pos-visible-in-window-p found-point t move-to-window-line 1 window-min-height split-window nil search-slow-window-lines window-height vertical-motion set-window-start next-window set-window-hscroll window-hscroll selected-window other-window isearch-other-end isearch-highlight isearch-dehighlight isearch-adjusted isearch-yank-flag] 4] isearch-done #[(&optional nopush edit) "! !`!\n%b- #*`\fUK\f\"K VK! !GVs@BGVS@BGVS!? " [nil overriding-local-map isearch-dehighlight t window-start selected-window found-point found-start isearch-window-configuration set-window-configuration isearch-small-window set-window-start isearch-opoint push-mark executing-macro minibuffer-depth 0 message "Mark saved where search started" isearch-mode set-buffer-modified-p buffer-modified-p isearch-string nopush isearch-regexp regexp-search-ring regexp-search-ring-max search-ring-max search-ring run-hooks isearch-mode-end-hook edit isearch-recursive-edit exit-recursive-edit] 5] isearch-switch-frame-handler #[nil " A@!" [isearch-done handle-switch-frame isearch-last-command-char] 2 nil nil]] 3) (defalias 'isearch-exit #[nil " GU ) " [search-nonincremental-instead isearch-string 0 t isearch-nonincremental isearch-edit-string isearch-done] 2 "\ Exit search normally. However, if this is the first command after starting incremental search and `search-nonincremental-instead' is non-nil, do a nonincremental search instead via `isearch-edit-string'." nil]) (defalias 'isearch-edit-string #[nil "" [err (byte-code " \n \f  \n \f   \f \n ܏ ݎ )!##!'!!\"=~!!+ -%)#+ GU 23@  ." [isearch-nonincremental isearch-string isearch-message isearch-forward isearch-word isearch-regexp isearch-op-fun isearch-cmds isearch-success isearch-wrapped isearch-barrier isearch-adjusted isearch-yank-flag isearch-invalid-regexp isearch-within-brackets isearch-other-end isearch-opoint isearch-slow-terminal-mode isearch-small-window isearch-recursive-edit current-window-configuration isearch-window-configuration isearch-new-word isearch-new-forward isearch-new-message isearch-new-string err (byte-code "\"" [isearch-done t] 3) ((exit)) ((byte-code " \n % \n ć" [isearch-mode isearch-forward isearch-regexp isearch-op-fun nil isearch-word isearch-new-string isearch-string isearch-new-message isearch-message isearch-new-forward isearch-new-word] 6)) t cursor-in-echo-area read-event e nil minibuffer-history-symbol message isearch-message-prefix lookup-key isearch-mode-map vector isearch-yank-word isearch-unread junk-ring read-from-minibuffer minibuffer-local-isearch-map mapconcat isearch-text-char-description "" 0 regexp-search-ring search-ring isearch-push-state isearch-search isearch-update isearch-done] 21) ((quit (isearch-abort)))] 3 "\ Edit the search string in the minibuffer. The following additional command keys are active while editing. \\ \\[exit-minibuffer] to resume incremental searching with the edited string. \\[isearch-nonincremental-exit-minibuffer] to do one nonincremental search. \\[isearch-forward-exit-minibuffer] to resume isearching forward. \\[isearch-reverse-exit-minibuffer] to resume isearching backward. \\[isearch-ring-advance-edit] to replace the search string with the next item in the search ring. \\[isearch-ring-retreat-edit] to replace the search string with the previous item in the search ring. \\[isearch-complete-edit] to complete the search string using the search ring. \\ If first char entered is \\[isearch-yank-word], then do word search instead." nil]) (byte-code "\"\"\"" [defalias isearch-nonincremental-exit-minibuffer #[nil " " [t isearch-nonincremental exit-minibuffer] 1 nil nil] isearch-forward-exit-minibuffer #[nil " " [t isearch-new-forward exit-minibuffer] 1 nil nil] isearch-reverse-exit-minibuffer #[nil " " [nil isearch-new-forward exit-minibuffer] 1 nil nil]] 3) (defalias 'isearch-abort #[nil " \nb!\"   " [discard-input isearch-success isearch-opoint isearch-done t signal quit nil isearch-pop-state isearch-update] 3 "\ Abort incremental search mode if searching is successful, signalling quit. Otherwise, revert to previous successful search and continue searching. Use `isearch-exit' to quit without signalling." nil]) (defalias (quote isearch-repeat) #[(direction) " ==@ Ě* @@ #\nC C7e8db C?` ĚR  ϕϔgmhot |҂}u " [isearch-forward direction forward isearch-string "" isearch-regexp regexp-search-ring search-ring mapconcat isearch-text-char-description isearch-message isearch-success t isearch-wrapped isearch-barrier 0 nil ding 1 -1 isearch-search isearch-push-state isearch-update] 4]) (defalias 'isearch-repeat-forward #[nil "!" [isearch-repeat forward] 2 "\ Repeat incremental search forwards." nil]) (defalias 'isearch-repeat-backward #[nil "!" [isearch-repeat backward] 2 "\ Repeat incremental search backwards." nil]) (defalias 'isearch-toggle-regexp #[nil "?  " [isearch-regexp nil isearch-word isearch-update] 2 "\ Toggle regexp searching on or off." nil]) (defalias 'isearch-toggle-case-fold #[nil "? Ƃ$ ! " [isearch-case-fold-search yes message "%s%s [case %ssensitive]" isearch-message-prefix isearch-message "in" "" t isearch-adjusted sit-for 1 isearch-update] 5 "\ Toggle case folding in searching on or off." nil]) (defalias 'isearch-delete-char #[nil "A  " [isearch-cmds ding isearch-pop-state isearch-update] 1 "\ Discard last input item and move point back. If no previous match was done, just beep." nil]) (defalias (quote isearch-yank) #[(chunk) "=\f!3\f  b`=&v/=/`){)\n F\f=F\n\nQ\n!\n\nP\n#P) " [chunk kill current-kill 0 isearch-forward isearch-other-end word 1 line nil string isearch-case-fold-search search-upper-case not-yanks isearch-regexp regexp-quote isearch-string isearch-message mapconcat isearch-text-char-description "" t isearch-yank-flag isearch-search-and-update] 5]) (defalias 'isearch-yank-kill #[nil "!" [isearch-yank kill] 2 "\ Pull string from kill ring into search string." nil]) (defalias 'isearch-yank-word #[nil "!" [isearch-yank word] 2 "\ Pull next word from buffer into search string." nil]) (defalias 'isearch-yank-line #[nil "!" [isearch-yank line] 2 "\ Pull rest of line from buffer into search string." nil]) (defalias (quote isearch-search-and-update) #[nil " V\n6 6Ə6'ȕ \n^X6\f ȕVS S\nHQ \nT^^b b " [isearch-success isearch-regexp isearch-forward isearch-adjusted nil (byte-code " \n\f\n!!" [looking-at isearch-regexp isearch-string regexp-quote] 3) ((error)) isearch-yank-flag 0 isearch-opoint isearch-barrier t isearch-invalid-regexp isearch-within-brackets isearch-other-end isearch-search isearch-push-state isearch-op-fun isearch-update] 3]) (defalias 'isearch-*-char #[nil "2 ĂA@8 *]/^b) !" [isearch-regexp t isearch-adjusted isearch-forward 5 2 isearch-cmds cs isearch-barrier isearch-process-search-char isearch-last-command-char] 3 "\ Handle * and ? specially in regexps." nil]) (defalias 'isearch-|-char #[nil "  b !" [isearch-regexp t isearch-adjusted isearch-barrier isearch-process-search-char isearch-last-command-char] 2 "\ If in regexp search, jump to the barrier." nil]) (defalias (quote isearch-other-control-char) (quote isearch-other-meta-char)) (defalias 'isearch-other-meta-char #[nil "=  !\")  \n  !\" GVK H9K H