From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#24977: 25.1; search and query-replace in Dired Date: Mon, 21 Nov 2016 20:42:14 +0200 Message-ID: <8490c105-416f-efef-ebc4-0e1cece68b42@yandex.ru> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1479753793 32687 195.159.176.226 (21 Nov 2016 18:43:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2016 18:43:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 To: Drew Adams , 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 19:43:09 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 1c8tYb-0007dg-2v for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 19:43:09 +0100 Original-Received: from localhost ([::1]:51220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8tYe-0001cB-HT for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2016 13:43:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8tYX-0001bj-T0 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 13:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8tYT-0007wc-Va for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 13:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50194) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8tYT-0007wW-S3 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 13:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8tYT-0002qE-Lb for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2016 13:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Nov 2016 18:43: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.147975374510871 (code B ref 24977); Mon, 21 Nov 2016 18:43:01 +0000 Original-Received: (at 24977) by debbugs.gnu.org; 21 Nov 2016 18:42:25 +0000 Original-Received: from localhost ([127.0.0.1]:37360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8tXt-0002pH-4E for submit@debbugs.gnu.org; Mon, 21 Nov 2016 13:42:25 -0500 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:35042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8tXr-0002p3-KU for 24977@debbugs.gnu.org; Mon, 21 Nov 2016 13:42:23 -0500 Original-Received: by mail-wm0-f41.google.com with SMTP id a197so163394281wmd.0 for <24977@debbugs.gnu.org>; Mon, 21 Nov 2016 10:42:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=V7531QdV7THcMHwTSskQPVJLu/r/9zKQ9RuhMna9CS4=; b=un1UD4Gd60pN8X7UZK5Q9YAE4mMOikP9qNWtbMLpNycL5lu0s2zFM2ywS96qlDOdws lEr/L33xh++cRP3KeQdr/QqKWadP83a+qbWmz0E2B2RaOGz9jAND/Cv+KtGgt7uQHfii 5zHVRP+tHrxg4mM6V8JOXBR90MNF2cJ7WNygvFsQNc2AVYOk6IRM3H9Z37bUfpjA04nD mLynxobgC9pXnBhKtCkSHW/DdzXZoGe3V04gh4zTFv84W2uGRxOIBgHlxb7zysiRA47l PShLm0YUfKHcGEpS4LbTFkJ9JMkoZhDcA3Rs0HVu3293eQTCUlEHe6J6eCP5u7fL3sdE Vepw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V7531QdV7THcMHwTSskQPVJLu/r/9zKQ9RuhMna9CS4=; b=QU3euN3WQpAwXQ1VXFYwDXKeQGtHCszbwRZzhnLhd4+u9ystXYtPqJ7O3h4GQTJkbe CvxNp4HZXMrHNutl6UBmWC4XC8STCw5swEZxVkykIVWQdGX0lCQw4i3QExb7s3JnqqYE 6c+d9cLrO24haU4elvovwGx7DQ/egCYFu+THa/TVDXkG0GvlZ36l6/hc/Xi7lowHFjnL mtkApoc7m/GhrHQHofGvN1H0Zzguqv91jnH7fbhb8xBS8X3w369WRxvf44NV23e4LF81 4DTM+AU9EassYUoZ3vnXpxh9wEnoimFC8CGbnBYpnJ9IMqdjgFH6sqqr5S6sokFfZ4DX o8gg== X-Gm-Message-State: AKaTC01ndo0ALyreXnMg2NVkRlYA/Hq0lfNi9//fX1uEHYQsuGXP87vpnbNO7n57H1/e/Q== X-Received: by 10.28.20.139 with SMTP id 133mr15817470wmu.9.1479753737882; Mon, 21 Nov 2016 10:42:17 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.173.41]) by smtp.googlemail.com with ESMTPSA id q65sm20994226wmd.6.2016.11.21.10.42.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Nov 2016 10:42:16 -0800 (PST) In-Reply-To: <58aaafd8-4d69-452f-8afe-1cba7b3bc2f8@default> Content-Language: en-US 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:125957 Archived-At: On 21.11.2016 20:37, Drew Adams wrote: > This is a major reason for this bug report (and bug #23428). > The replacement is strictly less powerful. It is essentially > just a `grep' or `find'. (And it depends on an outside program.) It might be less powerful. On the flip side, the replacement is usually faster. Especially in the "many files, few matches" situations. >> Those should be doable, as long as the regexp contains at least >> _something_ else. > > What does that mean? Specify what you mean by "_something_ else". > Clearly you do NOT mean to support the regexps that Emacs supports. For instance, if the regexp contains a simple literal and an Emacs-only construct, we can remove the latter before passing the regexp to find+grep, and then post-process the results inside Emacs using the full syntax.