From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#35354: 26.2; `dired-do-query-replace-regexp': How to replace only word-delimited matches? Date: Mon, 22 Apr 2019 04:18:05 -0700 (PDT) Message-ID: <5fd617f4-ce88-428c-90fa-ddbf2c0a49e0@default> References: <08ee0770-3f50-433e-955e-f8e13547ec21@default> <8f6f6e13-c150-a09f-06e5-aed3bfa21933@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50126"; mail-complaints-to="usenet@blaine.gmane.org" To: Dmitry Gutov , 35354@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 22 13:19:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIWyx-000Cvv-Jh for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 13:19:31 +0200 Original-Received: from localhost ([127.0.0.1]:35720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIWyw-0007cA-Jp for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Apr 2019 07:19:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIWyX-0007Tw-Ty for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 07:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIWyW-00016i-B9 for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 07:19:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIWyV-00016F-3e for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 07:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIWyU-0001kX-U2 for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35354 X-GNU-PR-Package: emacs Original-Received: via spool by 35354-submit@debbugs.gnu.org id=B35354.15559318966649 (code B ref 35354); Mon, 22 Apr 2019 11:19:02 +0000 Original-Received: (at 35354) by debbugs.gnu.org; 22 Apr 2019 11:18:16 +0000 Original-Received: from localhost ([127.0.0.1]:49928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWxk-0001jB-9A for submit@debbugs.gnu.org; Mon, 22 Apr 2019 07:18:16 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:53360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWxh-0001ix-NM for 35354@debbugs.gnu.org; Mon, 22 Apr 2019 07:18:14 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3MBExiL020516; Mon, 22 Apr 2019 11:18:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=Fo6abjGXCHJt3agsO7FSN3y2H1W7sID0FDZ00CP2qkY=; b=BrEpnqdYIWHDNHREorsIX7Jxex6J572JrCO1+s+ERWf8c2qw103sVo3VPPI5y4r7JseF U265wjw/RBbkZ+3Jluck0PtpxDGlCqhwTP5TdTlFASypyeYx/pGWZt/cZnGc55CFQyPe O0BHUdQSBqhA7T4237XFyrrEYoSniFMTtjzL43YSN8MqT2sigrgAIkVOVZ+bZJ4cU67n 5mSowgrPG/JNoERY639GyG4ICHu9g6lRHncMS9rgTUvSKaPD16LVg3Inxj9Ln6DXPVgi UZPTPIOGAowmaIERFfDZjSoHK+/bF1MyAmEcd2NX+D5zZYrglo3UWitJBJn2od1UG7H8 Xg== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2rytusnr23-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 11:18:07 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3MBHocp148632; Mon, 22 Apr 2019 11:18:07 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2s0dwdng1w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 11:18:07 +0000 Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x3MBI6T8003330; Mon, 22 Apr 2019 11:18:06 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4834.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=18 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904220087 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=18 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904220087 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: 209.51.188.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:158012 Archived-At: > > How do you specify delimited_replacement_? >=20 > Is there a practical difference in practice between this and using a > regexp with word boundaries as FROM? A practical difference in practice? See `query-replace-regexp'. Why do you think it has argument DELIMITED? Same question for `replace-regexp', `replace-search' (with arg REGEXP-FLAG), `query-replace-regexp-eval', `perform-replace', and `tags-query-replace'. All of those allow a "from" arg that can be a regexp, and they all accept a DELIMITED arg as well.