From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#45617: loses the edit region. Works in 23.3, broke in 26.3 Date: Tue, 05 Jan 2021 20:27:02 +0200 Organization: LINKOV.NET Message-ID: <877dorkznt.fsf@mail.linkov.net> References: <000001d6e16c$984bcb70$c8e36250$@net> <83turycc18.fsf@gnu.org> <87ble4ob6v.fsf@mail.linkov.net> <000601d6e2ea$8f6601e0$ae3205a0$@net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15130"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 45617@debbugs.gnu.org To: "Bob Floyd" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 05 19:33:11 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 1kwr8p-0003rR-86 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 19:33:11 +0100 Original-Received: from localhost ([::1]:52592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwr8n-0006rb-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 13:33:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwr7i-0006As-Em for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 13:32:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwr7i-0003ft-6m for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 13:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwr7i-0000n8-2d for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 13:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jan 2021 18:32: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.16098714752990 (code B ref 45617); Tue, 05 Jan 2021 18:32:02 +0000 Original-Received: (at 45617) by debbugs.gnu.org; 5 Jan 2021 18:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:42669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwr6w-0000mA-O9 for submit@debbugs.gnu.org; Tue, 05 Jan 2021 13:31:15 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:53497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwr6v-0000lk-4i for 45617@debbugs.gnu.org; Tue, 05 Jan 2021 13:31:13 -0500 Original-Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 00202200005; Tue, 5 Jan 2021 18:31:05 +0000 (UTC) In-Reply-To: <000601d6e2ea$8f6601e0$ae3205a0$@net> (Bob Floyd's message of "Mon, 4 Jan 2021 14:40:09 -0800") 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:197390 Archived-At: > Thanks! The patch has fixed the issue. If there is no need to support the broken feature of saving region boundaries as code in the command history, then this patch could be pushed. Otherwise, another solution is to restore the previously selected region after exiting the minibuffer the same way as exiting the minibuffer restores window configurations (there is a new option to disable this discussed in bug#45072).