From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Request for enhancement: Scrolling (etc.) in incremental search. Date: 25 Feb 2003 23:37:06 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xy944rnql.fsf@kfs2.cua.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046209456 1471 80.91.224.249 (25 Feb 2003 21:44:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 21:44:16 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18nmrz-0000NG-00 for ; Tue, 25 Feb 2003 22:44:11 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18nn86-0006sB-00 for ; Tue, 25 Feb 2003 23:00:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nmqT-0003wi-09 for emacs-devel@quimby.gnus.org; Tue, 25 Feb 2003 16:42:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18nmpC-0003FT-00 for emacs-devel@gnu.org; Tue, 25 Feb 2003 16:41:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18nmoJ-000203-00 for emacs-devel@gnu.org; Tue, 25 Feb 2003 16:40:55 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nmm5-0000h8-00 for emacs-devel@gnu.org; Tue, 25 Feb 2003 16:38:05 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 9221D7C018; Tue, 25 Feb 2003 22:38:03 +0100 (CET) Original-To: emacs-devel@gnu.org In-Reply-To: Original-Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11945 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11945 Alan Mackenzie writes: > PROBLEM: While searching through a file with incremental search (C-s), I > often find myself wanting to do things like this: > [...] > > UNFORTUNATELY, as soon as I do any of the above, the search is > terminated, and I find it more irritating than most people might believe Except for the prefix arg handling (creeping featurism IMO :-), you can achieve the same effect by suitable bindings in isearch-mode-map, e.g. (define-key isearch-mode-map "\C-l" 'recenter) (define-key isearch-mode-map [prior] 'scroll-down) (define-key isearch-mode-map [next] 'scroll-up) (defvar isearch-control-X-map (make-sparse-keymap)) (define-key isearch-control-X-map "2" 'split-window-vertically) (define-key isearch-control-X-map "\C-b" 'list-buffers) (define-key isearch-control-X-map [t] 'isearch-other-control-char) (define-key isearch-mode-map "\C-x" isearch-control-X-map) -- Kim F. Storm http://www.cua.dk