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#45617: loses the edit region. Works in 23.3, broke in 26.3 Date: Mon, 4 Jan 2021 14:40:09 -0800 Message-ID: <000601d6e2ea$8f6601e0$ae3205a0$@net> References: <000001d6e16c$984bcb70$c8e36250$@net> <83turycc18.fsf@gnu.org> <87ble4ob6v.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22256"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45617@debbugs.gnu.org To: "'Juri Linkov'" , "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 04 23:41:15 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 1kwYXL-0005a3-2y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jan 2021 23:41:15 +0100 Original-Received: from localhost ([::1]:43974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwYXK-0004hl-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Jan 2021 17:41:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwYX8-0004hO-Ft for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2021 17:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwYX8-0001ED-8W for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2021 17:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwYX8-0008Fi-6s for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2021 17:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Bob Floyd" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jan 2021 22:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45617 X-GNU-PR-Package: emacs Original-Received: via spool by 45617-submit@debbugs.gnu.org id=B45617.160980002031667 (code B ref 45617); Mon, 04 Jan 2021 22:41:02 +0000 Original-Received: (at 45617) by debbugs.gnu.org; 4 Jan 2021 22:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:60536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwYWR-0008Ee-If for submit@debbugs.gnu.org; Mon, 04 Jan 2021 17:40:19 -0500 Original-Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:41550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwYWP-0008ER-LN for 45617@debbugs.gnu.org; Mon, 04 Jan 2021 17:40:18 -0500 Original-Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242]) by resqmta-po-10v.sys.comcast.net with ESMTP id wXl8km2MV2XuvwYWJkX8fX; Mon, 04 Jan 2021 22:40:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1609800011; bh=xkVHeWRHuO338XPhpdfJGUv/0LGEJMxbxlfElFbsHYs=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=A7oeCEqeg/L7KOA2XVorbG4Ob4dQW0oQT+LMrArzHas71Moysr9SNE/emzszQjdpx wOZmBUChNxOKODdCbcJf7V9K3hmcINGU0mw8x1T3fbSuwUd02Bs3XPg4oPWolUkMDV 7Y0C3b16hW+sJN3AVAFLAzZjfBEu9+LKNyr+SIqu507gmHFNvLeHPyxH39gxvmXXx5 HYdKjIEbBFtGnn62G8D0AbIXQpvPMACBbUFil9UIFnoeP89GGNyUmZV+Lc3jGeceIz 0HuL6JPsLBia2cAEJAiBNn0mW5rzf/AEzaENe0E/nZYE1lNhugQuQz9CCVSFzhbuKg ZMYxgS/HRWQEw== Original-Received: from Cache ([IPv6:2601:647:6100:1480::9c05]) by resomta-po-18v.sys.comcast.net with ESMTPA id wYWHkg4LMSjDMwYWIkBbXv; Mon, 04 Jan 2021 22:40:10 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit In-Reply-To: <87ble4ob6v.fsf@mail.linkov.net> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdbixKCbDCmEoWSjThCxlG4TPKmz9wAIFLKg Content-Language: en-us 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:197341 Archived-At: Thanks! The patch has fixed the issue.=20 -----Original Message----- From: Juri Linkov [mailto:juri@linkov.net]=20 Sent: Monday, January 4, 2021 9:37 AM To: Eli Zaretskii Cc: Bob Floyd; 45617@debbugs.gnu.org Subject: Re: bug#45617: loses the edit region. Works in = 23.3, broke in 26.3 >> 7. Nothing happens because the region in step (1) has been lost. >> It should ask to replace 4 _xx s in the region. > > I suspect this is due to changes in how selection works in Emacs. > Those changes were made in Emacs 24; please see the section "Selection = > changes" in the file etc/NEWS.24, where you will also find=20 > instructions for getting back the old behavior. I tried to fix this problem by this patch, and indeed it fixed it, so = the region boundaries are preserved even when changed during the = minibuffer reading the strings: