unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: Request for enhancement:  Scrolling (etc.) in incremental search.
Date: Wed, 26 Feb 2003 10:57:29 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1030226103011.178B-100000@acm.acm> (raw)
In-Reply-To: <5xy944rnql.fsf@kfs2.cua.dk>



On Tue, 25 Feb 2003, Kim F. Storm wrote:

>Alan Mackenzie <none@example.invalid> writes:

>> 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)

This way, you don't get the lazy-highlighting after C-l on the parts of
the window that weren't previously visible.  Also scroll-\(up\|down\)
can scroll the current search string at point out of the window.  This
wrenches point away from the current search string, yet still leaves
isearch-mode active.

I think that the prefix arg stuff is a good idea.  Somebody (else) is
going to want to do M-2 <next> to scroll the text up 2 lines.

>Kim F. Storm <storm@cua.dk> http://www.cua.dk

-- 
Alan Mackenzie (Munich, Germany)
acm@muc.de

  reply	other threads:[~2003-02-26 10:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <it1e3b.75.ln@acm.acm>
2003-02-25 16:57 ` Request for enhancement: Scrolling (etc.) in incremental search Richard Stallman
2003-02-25 22:37 ` Kim F. Storm
2003-02-26 10:57   ` Alan Mackenzie [this message]
     [not found] <E18kfaI-0007iR-00@fencepost.gnu.org>
2003-02-26 13:36 ` Alan Mackenzie
2003-03-01  2:26   ` Richard Stallman
2003-10-21 22:03 Alan Mackenzie
2003-10-22  8:09 ` Alan Mackenzie
2003-10-23  9:23 ` Richard Stallman
2003-10-23 21:48   ` Alan Mackenzie
2003-10-24 23:24     ` Richard Stallman
2003-10-27  9:09       ` Alan Mackenzie
2003-11-10  6:49     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.1030226103011.178B-100000@acm.acm \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).