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: Tue, 5 Jan 2021 11:45:15 -0800 Message-ID: <002701d6e39b$4ac35680$e04a0380$@net> References: <000001d6e16c$984bcb70$c8e36250$@net> <83turycc18.fsf@gnu.org> <87ble4ob6v.fsf@mail.linkov.net> <000601d6e2ea$8f6601e0$ae3205a0$@net> <877dorkznt.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="39300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45617@debbugs.gnu.org To: "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 05 20:47:57 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 1kwsJB-000A65-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 20:47:57 +0100 Original-Received: from localhost ([::1]:43460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwsJA-0000qm-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jan 2021 14:47:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwsHK-0007l0-GL for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 14:46:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwsHK-0007Lc-7o for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 14:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwsHK-0004dR-5Y for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2021 14:46: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: Tue, 05 Jan 2021 19:46: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.160987592717770 (code B ref 45617); Tue, 05 Jan 2021 19:46:02 +0000 Original-Received: (at 45617) by debbugs.gnu.org; 5 Jan 2021 19:45:27 +0000 Original-Received: from localhost ([127.0.0.1]:42728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwsGl-0004cY-47 for submit@debbugs.gnu.org; Tue, 05 Jan 2021 14:45:27 -0500 Original-Received: from resqmta-po-05v.sys.comcast.net ([96.114.154.164]:58931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwsGi-0004cJ-53 for 45617@debbugs.gnu.org; Tue, 05 Jan 2021 14:45:25 -0500 Original-Received: from resomta-po-05v.sys.comcast.net ([96.114.154.229]) by resqmta-po-05v.sys.comcast.net with ESMTP id wpsSkklYCoWlewsGckzaes; Tue, 05 Jan 2021 19:45:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1609875918; bh=FBTdcWkhyBc2agXzi0nz9VW6pJG4q5gtlFZ5UtWO+5A=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=Q0xEZAOe98Ztxst0Ozu+y2QXRe0JOlywwOK/O3WLKUCrtJ3CISyM2NsCF5edY2Xnl kv0FkFYhgnHo93GBrwp6keJiVLtufv9+6JzUX9CfM/tH7Miq8FHGzaFQWYHAwvxKxj 42u12Uk/BzCLT95b0wU++dap2GnMMaIXW269/Pd99bHB5WFF25kazi8ZDByBU1YetA tOdyo5bDV4Q3DTxI+yrP5vFyQRz6vZDvsFITxqp+p1fGLKfIo5Vi6tR/NZN4uL061m gPHlVImC4wQkSS40XOfsnW+6mW91gEoE2hXIJq6RGAKYQ0ImeL6GB9K9/FZ+lKiJ24 41mAtBXDpdzJg== Original-Received: from Cache ([IPv6:2601:647:6100:1480::48be]) by resomta-po-05v.sys.comcast.net with ESMTPA id wsGakq0UMDmOXwsGbkZ33O; Tue, 05 Jan 2021 19:45:17 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit In-Reply-To: <877dorkznt.fsf@mail.linkov.net> X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: AdbjkPF4BUprE83KR6i6EKqrHoTJ6wACYIpw 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:197397 Archived-At: For my two cents, what you write sounds like the real problem is the minibuffer failing to restore on exit. A fix to that would be preferable to the patch. After all, who knows what else may affected by the minibuffer! I'd be happy to test this alternative. -----Original Message----- From: Juri Linkov [mailto:juri@linkov.net] Sent: Tuesday, January 5, 2021 10:27 AM To: Bob Floyd Cc: 'Eli Zaretskii'; 45617@debbugs.gnu.org Subject: Re: bug#45617: loses the edit region. Works in 23.3, broke in 26.3 > 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).