Mercurial > emacs
comparison lisp/isearch.el @ 4840:0be7300b18d9
comment fix
author | David J. MacKenzie <djm@gnu.org> |
---|---|
date | Sat, 09 Oct 1993 20:03:33 +0000 |
parents | 4df93ff816c4 |
children | 8ddcaee25a73 |
comparison
equal
deleted
inserted
replaced
4839:4df93ff816c4 | 4840:0be7300b18d9 |
---|---|
2 | 2 |
3 ;; Copyright (C) 1992, 1993 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1992, 1993 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> | 5 ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> |
6 | 6 |
7 ;; |$Date: 1993/08/13 06:32:49 $|$Revision: 1.49 $ | 7 ;; |$Date: 1993/10/09 20:00:23 $|$Revision: 1.50 $ |
8 | 8 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
10 | 10 |
11 ;; GNU Emacs is distributed in the hope that it will be useful, | 11 ;; GNU Emacs is distributed in the hope that it will be useful, |
12 ;; but WITHOUT ANY WARRANTY. No author or distributor | 12 ;; but WITHOUT ANY WARRANTY. No author or distributor |
26 ;;; Commentary: | 26 ;;; Commentary: |
27 | 27 |
28 ;;;==================================================================== | 28 ;;;==================================================================== |
29 ;; Instructions | 29 ;; Instructions |
30 | 30 |
31 ;; Searching with isearch-mode.el should work just like isearch.el, | |
32 ;; except it is done in a temporary minor mode that terminates when | |
33 ;; you finish searching. | |
34 | |
35 ;; To use isearch-mode instead of the standard isearch.el, add the | |
36 ;; following to your .emacs file. The standard key bindings to | |
37 ;; isearch-forward, etc, will then use isearch-mode instead of | |
38 ;; isearch. | |
39 | |
40 ;; (defalias 'isearch 'isearch-mode) | |
41 ;; (autoload 'isearch-mode "isearch-mode") | |
42 | |
43 ;; For programmed use of isearch-mode, e.g. calling (isearch-forward), | 31 ;; For programmed use of isearch-mode, e.g. calling (isearch-forward), |
44 ;; isearch-mode behaves modally and does not return until the search | 32 ;; isearch-mode behaves modally and does not return until the search |
45 ;; is completed. It uses a recursive-edit to behave this way. Note: | 33 ;; is completed. It uses a recursive-edit to behave this way. Note: |
46 ;; gnus does it wrong: (call-interactively 'isearch-forward). | 34 ;; gnus does it wrong: (call-interactively 'isearch-forward). |
47 | |
48 ;; If any package you use invokes isearching non-interactively to get | |
49 ;; the modal behavior described above, you must use the redefinitions | |
50 ;; of isearch-forward, etc. found in this file instead of those in | |
51 ;; loaddefs.el. The simplest way to ensure this is to just load | |
52 ;; isearch-mode explicitly in your .emacs instead of using the above | |
53 ;; defalias and autoload. | |
54 | |
55 ;; (load "isearch-mode") | |
56 | 35 |
57 ;; The key bindings active within isearch-mode are defined below in | 36 ;; The key bindings active within isearch-mode are defined below in |
58 ;; `isearch-mode-map' which is given bindings close to the default | 37 ;; `isearch-mode-map' which is given bindings close to the default |
59 ;; characters of the original isearch.el. With `isearch-mode', | 38 ;; characters of the original isearch.el. With `isearch-mode', |
60 ;; however, you can bind multi-character keys and it should be easier | 39 ;; however, you can bind multi-character keys and it should be easier |