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: Sat, 10 Sep 2011 09:44:11 -0700 Message-ID: References: <20110909215255.GD2733@acm.acm><7002A9DA9A804F0B9F6F251FD3A2B263@us.oracle.com> <20110910112856.GB2460@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 1315673069 27764 80.91.229.12 (10 Sep 2011 16:44:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2011 16:44:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Alan Mackenzie'" , "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 10 18:44:24 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 1R2QfH-0008Ut-Ps for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2011 18:44:23 +0200 Original-Received: from localhost ([::1]:48958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QfH-0005Fz-6y for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2011 12:44:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QfE-0005Fq-O7 for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:44:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2QfD-00077K-IE for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:44:20 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:53165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2QfC-00077G-S0 for emacs-devel@gnu.org; Sat, 10 Sep 2011 12:44:19 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p8AGiGn3007735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 10 Sep 2011 16:44:18 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p8AGiEJ0012388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Sep 2011 16:44:15 GMT Original-Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p8AGi9o1026906; Sat, 10 Sep 2011 11:44:09 -0500 Original-Received: from dradamslap1 (/10.159.63.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 10 Sep 2011 09:44:09 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20110910112856.GB2460@acm.acm> Thread-Index: AcxvrWAlKD/ESoq+T22XNj4ZmNzqeAAJBIiQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090206.4E6B93E2.0068,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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:143851 Archived-At: > > We all agree that the fact that C-u got folded into it is definitely > > a misfeature in this respect. > > I do not agree with this. ;-) The prefix arg is an essential part of > the command with which one might exit isearch. I think what Stefan meant here - at least what I would say, is what you already agreed to: d>> 2. I would like to see us separate the treatment of a prefix d>> arg - whether it gets passed it through to a command or it d>> exits Isearch - from the other uses/effects of this option. a> a> I agree, that would be a good idea. It wouldn't take very much work. IOW, IIUC, you, Stefan, and I have already agreed that passing `C-u' through would be a good idea, independently of `isearch-allow-scroll' and "scrolling" commands. The fact that scrolling commands might always need to _also_ enjoy `C-u' pass-through is a different matter. That seems to be what you're saying here. But that wasn't the point. The point was that all commands should enjoy the same `C-u' pass-through privilege - which I believe you've already agreed to. > > But you still only have one boolean value to control what > > commands to pass through. > > This isn't quite true either. The current isearch-scroll > property must be t (not merely non-nil) at the moment. This > leaves other non-nil values to specify other behaviour. This > was deliberate. Well, OK. Today it's a Boolean. Tomorrow it could let you specify more. That was one of my points: let's let it let you specify just which commands (or categories of commands) Isearch should pass through.