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#61535: 29.0.60; choose-completion erases in-region buffer Date: Sun, 19 Feb 2023 21:32:08 +0200 Organization: LINKOV.NET Message-ID: <86zg99v4cn.fsf@mail.linkov.net> References: <86y1oylrap.fsf@mail.linkov.net> <83ilg2afip.fsf@gnu.org> <86edqpebxy.fsf@mail.linkov.net> <83bklt2wz6.fsf@gnu.org> <86bklsem93.fsf@mail.linkov.net> <83mt5c1ydo.fsf@gnu.org> <86h6vilsqe.fsf@mail.linkov.net> <83r0umydnm.fsf@gnu.org> <86sff1muj4.fsf@mail.linkov.net> <83cz65wljq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13954"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 61535-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 19 20:33:17 2023 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 1pTpQz-0003Tz-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 20:33:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTpQn-0007iX-J5; Sun, 19 Feb 2023 14:33:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTpQl-0007iC-6j for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 14:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTpQk-0002CV-Su for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 14:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTpQk-00012x-Ei for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 14:33:02 -0500 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2023 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61535 X-GNU-PR-Package: emacs Mail-Followup-To: 61535@debbugs.gnu.org, juri@linkov.net, juri@linkov.net Original-Received: via spool by 61535-done@debbugs.gnu.org id=D61535.16768351573982 (code D ref 61535); Sun, 19 Feb 2023 19:33:02 +0000 Original-Received: (at 61535-done) by debbugs.gnu.org; 19 Feb 2023 19:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:49720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTpQL-00012A-HX for submit@debbugs.gnu.org; Sun, 19 Feb 2023 14:32:37 -0500 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:53965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTpQJ-00011r-82 for 61535-done@debbugs.gnu.org; Sun, 19 Feb 2023 14:32:35 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id E4CD2240003; Sun, 19 Feb 2023 19:32:25 +0000 (UTC) In-Reply-To: <83cz65wljq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Feb 2023 20:35:21 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256102 Archived-At: >> M-RET is bound to minibuffer-choose-completion in completion-in-region-mode-map. >> minibuffer-choose-completion let-binds completion-use-base-affixes to t >> before calling choose-completion. Therefore completion-use-base-affixes >> should be ignored in choose-completion for completion-in-region-mode. > > OK, thanks for the explanations. I wonder if some of the above should > be in comments to the code, though. Added to comments. > Please install the patch on emacs-29. Done.