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: Why change the advertised bindings of Isearch commands? Date: Thu, 26 Nov 2015 16:03:28 -0800 (PST) Message-ID: <1a6f342a-3e59-4555-a345-e518cc598299@default> References: <98f8a71f-1f10-4ff6-a4c1-8dc2d179b84b@default> <87ziy05p3g.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448582641 16607 80.91.229.3 (27 Nov 2015 00:04:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 00:04:01 +0000 (UTC) Cc: Emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 01:03:47 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a26Vt-00014M-Uq for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 01:03:46 +0100 Original-Received: from localhost ([::1]:53634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26Vv-0006oF-QI for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 19:03:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26Vi-0006nz-V7 for emacs-devel@gnu.org; Thu, 26 Nov 2015 19:03:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a26Vf-00084L-Oh for emacs-devel@gnu.org; Thu, 26 Nov 2015 19:03:34 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:37222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a26Vf-000831-IF for emacs-devel@gnu.org; Thu, 26 Nov 2015 19:03:31 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tAR03UBT019395 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 27 Nov 2015 00:03:30 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id tAR03TEf026032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 27 Nov 2015 00:03:30 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id tAR03Tc5004359; Fri, 27 Nov 2015 00:03:29 GMT In-Reply-To: <87ziy05p3g.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:195326 Archived-At: > > In Isearch, these key bindings have long been in effect, > > and they are still in effect: > > > > M-e - isearch-edit-string > > M-c - isearch-toggle-case-fold > > M-r - isearch-toggle-regexp > > > > These keys are far easier to use than M-s c, M-s r, M-s e. > > So why have we changed the advertised bindings to be these > > more complex keys? >=20 > 0. emacs -Q > 1. C-h c M-e - M-e runs the command forward-sentence > 2. C-h c M-c - M-c runs the command capitalize-word > 3. C-h c M-r - M-r runs the command move-to-window-line-top-bottom >=20 > IOW, those are keys that are more useful to exit Isearch and do > what they do normally, thus advertising the new bindings will help > to get rid of old bindings in later releases. I disagree that we should remove those keys from the realm of Isearch just because they have global bindings. There are many, many keys that you can use to exit Isearch. And different users use different such keys to exit. And different users care to have different keys exit and act immediately. I see no reason to add these keys, by default, to the list of keys that exit Isearch. Any user who is that much a fan of performing any of those global actions without first quitting Isearch can of course bind them herself in the Isearch map - as has always been the case. That is trivial to do. These keys perform important and commonly used Isearch actions, and they should be kept for Isearch, as is. This kind of change is gratuitous (it has not been demanded by users), and is a step backward. IMHO. I don't mind that the commands are _added_ to the `M-s' prefix. What is wrong is to make those more complex bindings the advertised bindings. At the point where Emacs Dev has actually decided to remove these short keys, for some reason, presumably that removal will be part of a more interesting set of features. And at that point, if it ever comes, there would be no need to advertise the complicated keys, as the quicker keys would be gone. This change is premature and uncalled for, IMHO.