From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70968: 29.2.50; choose-completion on an emacs22-style completion deletes text after point Date: Thu, 16 May 2024 13:40:35 -0400 Message-ID: References: <86bk56jhsp.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Spencer Baugh , juri@linkov.net, 70968@debbugs.gnu.org, dmitry@gutov.dev To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 19:41:30 2024 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 1s7f6f-0003sB-Ri for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 19:41:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7f6F-0002JM-8N; Thu, 16 May 2024 13:41:03 -0400 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 1s7f6C-0002J6-UD for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 13:41:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7f6C-0005Us-Ep for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 13:41:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7f6E-0001UG-F5 for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2024 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70968 X-GNU-PR-Package: emacs Original-Received: via spool by 70968-submit@debbugs.gnu.org id=B70968.17158812475701 (code B ref 70968); Thu, 16 May 2024 17:41:02 +0000 Original-Received: (at 70968) by debbugs.gnu.org; 16 May 2024 17:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:50037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7f5z-0001Tt-6A for submit@debbugs.gnu.org; Thu, 16 May 2024 13:40:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:9069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7f5w-0001Tn-GM for 70968@debbugs.gnu.org; Thu, 16 May 2024 13:40:45 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B13DF80A95; Thu, 16 May 2024 13:40:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715881235; bh=b3G38CPwf+PlJyJzpdedwV8aUvXIg8XSf7qH5TzPv+g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=binsuO9KLCFGcOSOSAtwZEG+MzPBVnfnTULEykkTxf0iN9zAu3O+Vm7ysvE2/h4p+ UtFGprsDK/8zGUVRqaZoBB4W8IqNVbehu0elbu6e008xBEo9IUbJycFhw5TkjgWNr6 pXYg10JcC1KnJBCXZZwp4u7FdbFsP9Hxcj5SKrcmSnEpHi8thUb+hc7+odoe61YbEa 21Gx9vTSEDhWQ2/S5XqNjT19g/4FJay8NNlCLrCVYadx90mCmWeGBXN8xVdFw38kCB rr0O2UCgmi+Ynb5XFw6ptNkj7/lgLqjjLhmQ1zCuX7puvo/noXuxcV2WFHuZZtr22v Qv7p2Sc+ktg1g== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9FD48805BE; Thu, 16 May 2024 13:40:35 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8CF5B12012E; Thu, 16 May 2024 13:40:35 -0400 (EDT) In-Reply-To: <86bk56jhsp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 May 2024 11:13:26 +0300") 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:285178 Archived-At: >> I suggest that the behavior of not deleting the text after point is >> better. The emacs22 style takes care to not delete the text after point >> in try-completion and in completion cycling; we should take similar care >> in choose-completion. I agree this inconsistency is a bug. I suspect it may have been a result of implementation limitations. A typical use case is C-x C-w bar ... realize you're not in the right subdir ... M-b ? ... choose some subdirectory in which you want to save `bar` ... Oops, oh no, `bar` has disappeared! > If making these two ways consistent means we need to change the > behavior of emacs22 style of completion, then I'm sorry, but we cannot > do that. This style is a legacy style, and is there to provide the > legacy behavior for those who need it. I'm not sure it's terribly important to preserve this detail of the behavior of `Emacs-22`. The `emacs22` style does not aim to provide the illusion you're running an old Emacs. I named it that way because I couldn't come up with a good descriptive name for it. If it misbehaves, I don't see a need to be bug-compatible, especially since this doesn't affect ELisp code but users. Stefan