From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24977: 25.1; search and query-replace in Dired Date: Mon, 21 Nov 2016 13:10:55 -0800 (PST) Message-ID: References: <87mvgt7wpv.fsf@gmail.com> <3a0885ad-2bca-d446-b8ed-9d1844e900e3@yandex.ru> <70bc6499-70ca-41e5-8ea8-1ac4388ad67b@default> <648045b2-2ecb-282c-7171-f24a0f8bded3@yandex.ru> <58aaafd8-4d69-452f-8afe-1cba7b3bc2f8@default> <8490c105-416f-efef-ebc4-0e1cece68b42@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1479762741 26047 195.159.176.226 (21 Nov 2016 21:12:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2016 21:12:21 +0000 (UTC) To: Dmitry Gutov , Tino Calancha , 24977@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 21 22:12:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8vsp-000584-0w for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 22:12:11 +0100 Original-Received: from localhost ([::1]:51758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8vss-0007nm-HK for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 16:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8vsj-0007mq-Ag for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8vsg-0007Oh-4N for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:12:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8vsg-0007Ob-1Z for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8vsf-0006Uj-RD for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 16:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2016 21:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24977-submit@debbugs.gnu.org id=B24977.147976266724889 (code B ref 24977); Mon, 21 Nov 2016 21:12:01 +0000 Original-Received: (at 24977) by debbugs.gnu.org; 21 Nov 2016 21:11:07 +0000 Original-Received: from localhost ([127.0.0.1]:37475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8vrn-0006TN-9S for submit@debbugs.gnu.org; Mon, 21 Nov 2016 16:11:07 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:32132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8vrl-0006Sn-3L for 24977@debbugs.gnu.org; Mon, 21 Nov 2016 16:11:05 -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 uALLAxec009718 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Nov 2016 21:10:59 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id uALLAvlD021543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Nov 2016 21:10:58 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uALLAu4s022383; Mon, 21 Nov 2016 21:10:56 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125963 Archived-At: > > I have no argument with the new commands. My argument is to keep > > the old commands as well, with their bindings and menu items, and > > to give the new commands new bindings and new menu items. >=20 > Because that wouldn't be confusing. Either the menu items will look > almost the same (but perform slightly differently), or they will > have to be very long, to describe the difference. They _should_ be similar because the functionality is similar (regexp search & query-replace). Their difference should reflect their main difference. The main difference I see is that one searches using (any) Emacs regexps and the other searches using `find' (with all of its advantages and disadvantages). "... Using `find'" or "... With `find'" in the new menu items is not long, and it says quite a _lot_ about what the command does. > > When you kinda sorta sometimes > > get behavior that is similar to what you might expect (e.g. from > > the regexp alone), the actual behavior can be all the more > > confusing if this difference is not described clearly. >=20 > Indeed. But careful handling of uncertain cases and showing user- > error for tricky regexps should make the behavior make sense. Making some more sense is no doubt possible. Handling some more cases is no doubt possible. But as you said, some things are not possible ("We obviously can't support those"), and any simulation of ordinary Emacs searching would be ad hoc. Again, I have no problem with adding these useful commands. The problem is subtracting the older, also useful commands (and their key bindings). There is no reason to do that.