From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: add non-chord keys to repeat isearch Date: Tue, 9 Jun 2009 19:45:09 +0200 Message-ID: <7b501d5c0906091045t5cabc52ax785ece99c93e375c@mail.gmail.com> References: <20090609164716.GA11634@muc.de> <8D5E1C403AD94F20A406381F2679E64A@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244569524 12862 80.91.229.12 (9 Jun 2009 17:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 17:45:24 +0000 (UTC) Cc: Alan Mackenzie , Emacs-Devel devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 09 19:45:22 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ME5Nx-0004uk-JL for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 19:45:21 +0200 Original-Received: from localhost ([127.0.0.1]:51615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME5Nw-0006gu-KF for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 13:45:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME5Nr-0006fn-Rd for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:45:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME5Nm-0006cw-SV for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:45:15 -0400 Original-Received: from [199.232.76.173] (port=41626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME5Nm-0006ct-MR for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:45:10 -0400 Original-Received: from mail-fx0-f217.google.com ([209.85.220.217]:58944) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME5Nm-0004rN-7L for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:45:10 -0400 Original-Received: by fxm17 with SMTP id 17so199467fxm.42 for ; Tue, 09 Jun 2009 10:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TmxMJUTUeJulzsF8abojR8y4nDyuuCYtwfX5+QE2N94=; b=KlDZDALV9ZopNOyKvNGBc6IS+t/yLb0TxBMiqClGVRGydFkcyGKg9XwYAa69TmkWFD eQvC+aeqmbfWyTh8d5f/IX1UZuemOeryLaHPog9InGmGTwIQRMLrNgT9sJLuG482TpF7 u/ezB4hheJ3UKlllAgTa3uPfhK3qxFhqSybYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fi3RTU1eYgHyjuqhii3D8XePOCbAGVcRklB5K+uRXZccnzW8mCaolC/wLES0yUfqMR KJXF9zRsPEjzumTzlYVvzBCL506ZwjXdzJKnuumDhR5t0Dq0A8BR86B80oaUn6kABKMt wAItFbSnpHeBDQlXLiJnBqcxB94XE6elzSH0E= Original-Received: by 10.86.83.15 with SMTP id g15mr303104fgb.64.1244569509063; Tue, 09 Jun 2009 10:45:09 -0700 (PDT) In-Reply-To: <8D5E1C403AD94F20A406381F2679E64A@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111397 Archived-At: 2009/6/9 Drew Adams : >> Please don't. =A0These two keys are already used in Isearch Mode for >> scrolling. =A0To see this, set `isearch-allow-scroll' to t. =A0Then >> and are handy keys for seeing more text around the >> match without having to leave isearch and start again. > > (I wasn't aware of that option. I've just filed a bug to index it in the = Emacs > manual.) > > However, just because some binding was made previously (when someone firs= t had > the idea of scrolling without exiting Isearch) is no reason not to recons= ider > that binding in light of a better suggestion. Emacs is not purely > first-come-first-served. > > `M-v' and `C-v' can be used for scrolling (when the option is non-nil). > And `' and `' can be used for repeat search. There's room fo= r all. > > [BTW, scrolling during isearch doesn't seem to work beyond a single scree= n > height. Is that a bug or a feature? IOW, `C-s C-v C-v': the second `C-v' = has no > effect.] > >> The same applies to any keys bound to commands which have the >> `isearch-scroll' non-nil. > > That's fine, but a specific key binding can override that. We can choose = to bind > `' to `isearch-repeat-backward' even though `scroll-up' has non-ni= l > property `isearch-scroll'. Works fine. There is no need to sacrifice all = keys > that might be bound globally to `scroll-up'. Why not add an option to let the user decide? --=20 Deniz Dogan