From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps Date: Sun, 29 Nov 2020 17:22:07 +0200 Message-ID: <831rgcmbmo.fsf@gnu.org> References: <10120030-8b8d-b702-add4-8f099f934ed5@chalmers.se> <91c98791-9df2-43ee-9aac-205c5b0de9c2@default> <87blfm6922.fsf@mail.linkov.net> <838saqtsm9.fsf@gnu.org> <87mtz64htw.fsf@mail.linkov.net> <831rgitqe2.fsf@gnu.org> <87y2iqnhh2.fsf@mail.linkov.net> <83k0u9sais.fsf@gnu.org> <87d0016w6n.fsf@mail.linkov.net> <83v9dtqiw1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: abela@chalmers.se, 31796@debbugs.gnu.org, juri@linkov.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 29 16:23:11 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 1kjOXf-00081u-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 16:23:11 +0100 Original-Received: from localhost ([::1]:48374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjOXe-00007z-Fs for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 10:23:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjOXX-00007h-Hb for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 10:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjOXW-0005mu-An for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 10:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjOXW-0004MW-4C for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Nov 2020 15:23: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.160666334616704 (code B ref 31796); Sun, 29 Nov 2020 15:23:02 +0000 Original-Received: (at 31796) by debbugs.gnu.org; 29 Nov 2020 15:22:26 +0000 Original-Received: from localhost ([127.0.0.1]:52251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOWw-0004LM-6X for submit@debbugs.gnu.org; Sun, 29 Nov 2020 10:22:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOWu-0004L9-SI for 31796@debbugs.gnu.org; Sun, 29 Nov 2020 10:22:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35312) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjOWn-0005Yo-4V; Sun, 29 Nov 2020 10:22:17 -0500 Original-Received: from [176.228.60.248] (port=2357 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjOWm-0005aD-L4; Sun, 29 Nov 2020 10:22:16 -0500 In-Reply-To: (message from Dmitry Gutov on Sun, 29 Nov 2020 04:30:14 +0200) 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:194559 Archived-At: > Cc: abela@chalmers.se, 31796@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 29 Nov 2020 04:30:14 +0200 > > For instance, a number of character classes in Emacs regexps are > dependent on the syntax table. Like [:word:], for instance. > > Even [:space:] is dependent on syntax, while it matches a fixed set of > characters in Grep. So when searching across different file types we > can't even "expand" such constructs into concrete characters to search for. It isn't clear to me which interpretation users will want. I don't think there's a single answer. > Someone should try it, but it's a fair amount of work to handle all > supported constructs, and to catch all (most?) the regexps which we > can't support in this mode. FWIW, I think this is much less important than the embedded newline support.