From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: add non-chord keys to repeat isearch Date: Tue, 9 Jun 2009 10:08:34 -0700 Message-ID: <8D5E1C403AD94F20A406381F2679E64A@us.oracle.com> References: <20090609164716.GA11634@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244567573 6206 80.91.229.12 (9 Jun 2009 17:12:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 17:12:53 +0000 (UTC) Cc: 'Emacs-Devel devel' To: "'Alan Mackenzie'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 09 19:12:50 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 1ME4sT-0008SC-87 for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 19:12:49 +0200 Original-Received: from localhost ([127.0.0.1]:48274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME4sS-0005QJ-62 for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 13:12:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME4oW-0001GR-J3 for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:08:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME4oR-0001Ds-Q9 for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:08:44 -0400 Original-Received: from [199.232.76.173] (port=56546 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME4oR-0001Da-BS for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:08:39 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:27390) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ME4oQ-00058Y-Nx for emacs-devel@gnu.org; Tue, 09 Jun 2009 13:08:39 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n59H5H77028810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 9 Jun 2009 17:05:18 GMT Original-Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n59H8ckb024093; Tue, 9 Jun 2009 17:08:38 GMT Original-Received: from dradamslap1 (/141.144.80.206) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Jun 2009 10:08:32 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcnpIdE2TjTV1QbnRemZttkdpmIlvgAAI0PA In-Reply-To: <20090609164716.GA11634@muc.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt002.oracle.com [141.146.116.11] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4A2E9711.00FC:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:111396 Archived-At: > Please don't. These two keys are already used in Isearch Mode for > scrolling. To see this, set `isearch-allow-scroll' to t. Then > 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 first had the idea of scrolling without exiting Isearch) is no reason not to reconsider 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 for all. [BTW, scrolling during isearch doesn't seem to work beyond a single screen 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-nil property `isearch-scroll'. Works fine. There is no need to sacrifice all keys that might be bound globally to `scroll-up'.