From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Abel Newsgroups: gmane.emacs.bugs Subject: bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps Date: Tue, 24 Nov 2020 00:49:24 +0100 Message-ID: References: <10120030-8b8d-b702-add4-8f099f934ed5@chalmers.se> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1898"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 To: Dmitry Gutov , <31796@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 24 00:50:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khLbP-0000NE-Ep for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 00:50:35 +0100 Original-Received: from localhost ([::1]:35206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khLbO-0000EO-Ad for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Nov 2020 18:50:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khLas-0000EG-JZ for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 18:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khLas-0006Uq-CP for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 18:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khLas-0003yg-7E for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2020 18:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Abel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2020 23:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31796 X-GNU-PR-Package: emacs Original-Received: via spool by 31796-submit@debbugs.gnu.org id=B31796.160617537615252 (code B ref 31796); Mon, 23 Nov 2020 23:50:02 +0000 Original-Received: (at 31796) by debbugs.gnu.org; 23 Nov 2020 23:49:36 +0000 Original-Received: from localhost ([127.0.0.1]:51630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khLaR-0003xw-K6 for submit@debbugs.gnu.org; Mon, 23 Nov 2020 18:49:35 -0500 Original-Received: from targaryen.ita.chalmers.se ([129.16.226.133]:46097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khLaP-0003xh-45 for 31796@debbugs.gnu.org; Mon, 23 Nov 2020 18:49:34 -0500 Original-Received: from Andreass-MacBook-Pro.local (129.16.10.245) by targaryen.ita.chalmers.se (129.16.226.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1913.5; Tue, 24 Nov 2020 00:49:25 +0100 In-Reply-To: Content-Language: en-US X-Originating-IP: [129.16.10.245] X-ClientProxiedBy: tyrell.ita.chalmers.se (129.16.226.132) To targaryen.ita.chalmers.se (129.16.226.133) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193995 Archived-At: With a software as old as emacs the most important feature is 1. backwards-compatibility The second most important feature is 2. backwards-compatibility The third most important feature is 3. backwards-compatibility It is like with C and LaTeX. If you cannot ensure that things keep working as they did, don't change anything. Tramp? I had to google this term. How often do programmers work on their local files in their day-to-day business, how often with remote files via tramp? If you contribute a new feature for 0.1% percent of the use cases but disrupt something (even minor) for 99.9% of the use cases, then with an old tool like emacs the choice is: don't replace the old functionality with your new functionality. Just don't break things. Please. If you want fancy functionality that works with remote files, this is fine. There are enough keys on the keyboard you can bind the new functionality to. Please don't break things that worked. There are gazillion emacs users out there that dread each new emacs version because it will break their setup, their workflows, their habits. We do not want to spend days after upgrades to get our work environment back. We value stability and conservativity over everything else. Thanks to everyone who contributes to emacs. --Andreas On 2020-11-23 22:28, Dmitry Gutov wrote: > On 23.11.2020 11:09, Andreas Abel wrote: >> - Why isn't the more robust >> >>    dired-do-query-replace-regexp >> >> bound to Q? > > Which is the "more robust", though? dired-do-query-replace-regexp > doesn't work with Tramp. dired-do-find-regexp-and-replace does. > > And even if the former is fixed to work, the latter will work much > faster remotely. It's also going to be faster in many "local" cases too. > > If we don't manage to find a portable enough solution to do multiline > searches, we could at least warn the user interactively about > unsupported features, though. -- Andreas Abel <>< Du bist der geliebte Mensch. Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden andreas.abel@gu.se http://www.cse.chalmers.se/~abela/