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: `isearch-allow-scroll' - a misnomer and a bad design Date: Sun, 11 Sep 2011 09:54:17 -0700 Message-ID: <3C4B7E318EB04AE4B7DB9FD0E4C67629@us.oracle.com> References: <20110909215255.GD2733@acm.acm><7002A9DA9A804F0B9F6F251FD3A2B263@us.oracle.com> <20110911103940.GA3246@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315760071 799 80.91.229.12 (11 Sep 2011 16:54:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 16:54:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Alan Mackenzie'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 11 18:54:27 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2nIZ-0003II-4s for ged-emacs-devel@m.gmane.org; Sun, 11 Sep 2011 18:54:27 +0200 Original-Received: from localhost ([::1]:49327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2nIY-0000WO-Nm for ged-emacs-devel@m.gmane.org; Sun, 11 Sep 2011 12:54:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2nIW-0000Vz-5D for emacs-devel@gnu.org; Sun, 11 Sep 2011 12:54:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2nIV-00042T-8l for emacs-devel@gnu.org; Sun, 11 Sep 2011 12:54:24 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:59416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2nIU-00042F-Td for emacs-devel@gnu.org; Sun, 11 Sep 2011 12:54:23 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p8BGsJd7015355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 11 Sep 2011 16:54:21 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p8BGsJbH026606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Sep 2011 16:54:19 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p8BGsDdw018200; Sun, 11 Sep 2011 11:54:13 -0500 Original-Received: from dradamslap1 (/10.159.62.110) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Sep 2011 09:54:13 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20110911103940.GA3246@acm.acm> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Thread-Index: Acxwb6nW/icjlvFVRbyxRB/C0sCuVwAMPWcg X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4E6CE7BD.00FC:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143892 Archived-At: > > I would like to see `C-u' passed through - that's the main point. > > Either systematically or optionally, but if optionally then > > separately from allowing scrolling. > > Here's a better patch. I've tested it more than the previous attempt. Thank you, Alan. Seems to work. Even works with a sequence such as `C-1 C-- C-2', which passes -12 as it should, but which is relatively unknown. I tested this case because I noticed that you did not include `universal-argument-minus' in your test. But that is covered OK anyway, I guess because of the default ([t]) binding for `universal-argument-other-key'. Can this patch please be installed? Or are there people who prefer that `C-u' exit Isearch? If there are, then can we please have a user option for this choice? Thx.