From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Bob Floyd" Newsgroups: gmane.emacs.bugs Subject: bug#48421: 28.0.50; Edit region for query-replace gets lost Date: Fri, 14 May 2021 16:54:25 -0700 Message-ID: <002401d7491c$7cccafa0$76660ee0$@net> References: <001201d748e1$b47580c0$1d608240$@net> <87y2ch6w20.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48421@debbugs.gnu.org To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 15 01:55:12 2021 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 1lhheB-00012W-2K for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 01:55:11 +0200 Original-Received: from localhost ([::1]:37454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhhe9-00026m-M3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 19:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhhe2-00026O-KL for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 19:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhhe2-0004CD-CC for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 19:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhhe2-0007XZ-99 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 19:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Bob Floyd" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48421 X-GNU-PR-Package: emacs Original-Received: via spool by 48421-submit@debbugs.gnu.org id=B48421.162103648428959 (code B ref 48421); Fri, 14 May 2021 23:55:02 +0000 Original-Received: (at 48421) by debbugs.gnu.org; 14 May 2021 23:54:44 +0000 Original-Received: from localhost ([127.0.0.1]:47285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhhdk-0007X1-9B for submit@debbugs.gnu.org; Fri, 14 May 2021 19:54:44 -0400 Original-Received: from resqmta-po-08v.sys.comcast.net ([96.114.154.167]:58597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhhdg-0007Wl-BC for 48421@debbugs.gnu.org; Fri, 14 May 2021 19:54:43 -0400 Original-Received: from resomta-po-09v.sys.comcast.net ([96.114.154.233]) by resqmta-po-08v.sys.comcast.net with ESMTP id hhIdlcTB5ArcZhhdalcyyG; Fri, 14 May 2021 23:54:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1621036474; bh=kQ/YxvM+YSgwwWmu35+Gn7iBu/n7RIkv/z2tla3a6h4=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=QO2WjVCCRRah7+xYQ7L83oB1gDf9Nop5shLP5gI8WsdvbLJ6CKqY//NOL+v5XGecZ Ik27HKGniGhaSXbd69yWN46rcwiK69FlzScnvTkRekdiRx6csFKw0BuvLxOPpAEqcg eFSxEcDTEThVbsAea6shRfD3Ki8zu0FqznhmI91bNZ4SqA1DhBFlMuvO2SfvolnqaT asEjLYwWL+UTaCGik6aKA6XItil17tQQqrMa0ps7H8mxeS9criRMVU0CfLWicSxRtK xbr6RSMZKSXm9NyQf6nFFiekIjE4SStc0vYcDBnHGgsWLQJ7ifXuprEwJin9N30cLW LLBbpxvA5o0dw== Original-Received: from Cache ([IPv6:2601:647:6100:3b1c::87]) by resomta-po-09v.sys.comcast.net with ESMTPA id hhdSl0j0bHZKqhhdZlMqeL; Fri, 14 May 2021 23:54:33 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit In-Reply-To: <87y2ch6w20.fsf@mail.linkov.net> X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: AddI7uHkuaDKpUo+T4eGeWdAdUjrtQALQArg 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:206564 Archived-At: Yes, I know you fixed it in bug#45617 as it was I who reported it, and thank you! However, it has resurfaced in the development version I'm using - perhaps the fix was not put into the repository? The query-replace incorrectly selects all of the `_nmPrmset`s and not just those in the edit region. -----Original Message----- From: Juri Linkov [mailto:juri@linkov.net] Sent: Friday, May 14, 2021 11:14 AM To: Bob Floyd Cc: 48421@debbugs.gnu.org Subject: Re: bug#48421: 28.0.50; Edit region for query-replace gets lost > Note the edit region of 1,2,3 is lost. Actually, the region is not lost. We fixed this in bug#45617 recently, so now query-replace operates on the correct region boundaries. But during replacement the region is deactivated deliberately. If you could confirm that query-replace preforms replacements only in the selected region (although the region is deactivated during replacement), then everything is correct.