From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: `isearch-allow-scroll' - a misnomer and a bad design Date: Tue, 20 Sep 2011 15:17:25 -0400 Message-ID: <874o07m3ay.fsf@maru.md5i.com> References: <20110909215255.GD2733@acm.acm> <7002A9DA9A804F0B9F6F251FD3A2B263@us.oracle.com> <20110911103940.GA3246@acm.acm> <3C4B7E318EB04AE4B7DB9FD0E4C67629@us.oracle.com> <20110911173012.GA3088@acm.acm> <20110912093651.GA3249@acm.acm> <20110913142732.GB3081@acm.acm> <7E2EE144B11D413583E1E659CDE15186@us.oracle.com> <8739g0vyuy.fsf@mail.jurta.org> <4E6FF63A.4070604@gmail.com> <2F1337889F394491BA778ACA46799812@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316546269 29818 80.91.229.12 (20 Sep 2011 19:17:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2011 19:17:49 +0000 (UTC) Cc: dan.colascione@gmail.com, emacs-devel@gnu.org, juri@jurta.org, acm@muc.de, chad , drew.adams@oracle.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 20 21:17:44 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 1R65p9-00048c-HG for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2011 21:17:44 +0200 Original-Received: from localhost ([::1]:60773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65p8-00019s-5y for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2011 15:17:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65p5-00019n-LL for emacs-devel@gnu.org; Tue, 20 Sep 2011 15:17:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R65p4-00081y-9Z for emacs-devel@gnu.org; Tue, 20 Sep 2011 15:17:39 -0400 Original-Received: from md5i.com ([75.151.244.229]:54650 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R65p2-0007ls-IS; Tue, 20 Sep 2011 15:17:36 -0400 Original-Received: from md5i by maru.md5i.com with local (Exim 4.76) (envelope-from ) id 1R65or-0005BC-Bk; Tue, 20 Sep 2011 15:17:25 -0400 In-Reply-To: (Richard Stallman's message of "Tue, 20 Sep 2011 11:16:53 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 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:144126 Archived-At: Richard Stallman writes: > > However, when a control character is special in Isearch and you don't > > know it, it will bite you. You will type it while in an Isearch, > > expecting it to have its usual meaning, and it will do something else > > instead. > > Do you think the usual meaning of C-u is ``exit the modal thing I'm > doing now''? > > Please don't attack straw men. Emacs normally doesn't even have such > "modal things" anyway. What it normally has is major modes that are > specified in a buffer. > > It is not good that we are turning Isearch into something of that > nature by adding so many commands that are special in it. Since C-u is always a prefix character, would it make sense to you for it not to quit isearch if the character that follows a C-u opt/number prefix is a key sequence that is currently in use by isearch, and for it to quit Isearch and pass the prefix on to the non-isearch command otherwise? In this case, `C-u C-n' would exit isearch and move down 4 lines, whereas `C-u n' would add four "n"s to the current search string. -- Michael Welsh Duggan (md5i@md5i.com)