[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling occur from within isearch
From: |
Juri Linkov |
Subject: |
Re: Calling occur from within isearch |
Date: |
Sat, 24 Nov 2007 19:45:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> I don't want any more special search-mode bindings unless it is very
> important. In fact, I would like to reduce them if possible.
I think this is an important feature. But there is no need to add more
search-mode bindings that can be used to exit isearch. It is even
possible to reduce them with the suggestion I already made a few times -
to use a new conflict-free key prefix M-s.
So I propose to install the following patch as a starting point
for adding more isearch key bindings to it later:
Index: lisp/isearch.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/isearch.el,v
retrieving revision 1.306
diff -c -r1.306 isearch.el
*** lisp/isearch.el 10 Nov 2007 23:03:24 -0000 1.306
--- lisp/isearch.el 24 Nov 2007 17:45:45 -0000
***************
*** 411,416 ****
--- 411,417 ----
(define-key map [?\M-%] 'isearch-query-replace)
(define-key map [?\C-\M-%] 'isearch-query-replace-regexp)
+ (define-key map "\M-so" 'isearch-occur)
map)
"Keymap for `isearch-mode'.")
--
Juri Linkov
http://www.jurta.org/emacs/
RE: Calling occur from within isearch, Drew Adams, 2007/11/21
Re: Calling occur from within isearch, Richard Stallman, 2007/11/22
Re: Calling occur from within isearch, Juri Linkov, 2007/11/22