From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.bugs Subject: bug#65348: RE: [External] : bug#65348: INITIAL-INPUT in completing-read repeats same entry twice consecutively Date: Mon, 21 Aug 2023 06:26:07 +0200 Message-ID: References: <7D2p2XmGzWwhYjrI_PaUsn8r_NaQf-B0eAf7AmeRIhBEl84z79j_jKky-Lqlt6nc52SQ7T5yrL9OdqUzou1Mh3zQzgJx-SV6kIvc9Km8bDg=@protonmail.com> <83a5un35h6.fsf@gnu.org> <83o7j2yh47.fsf@gnu.org> <571_jSaUteaY0xDvqYdtM-FS0QLvAyOLY94AUDK81h4Fdn0jF869iyYXLHgsEmj1cEMNt6QHJnfCKY-__59S3R8z4SG03sXu9rO6mQa8nwg=@protonmail.com> <87sf8es0m0.fsf@web.de> 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="30847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , "eliz@gnu.org" , "heimeborgia@protonmail.com" , "65348@debbugs.gnu.org" <65348@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 21 06:27:26 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 1qXwVg-0007m4-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 06:27:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXwVK-0005Ll-RG; Mon, 21 Aug 2023 00:27:02 -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 1qXwVI-0005LX-QN for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 00:27: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 1qXwVI-0001Fz-Hn for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 00:27:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXwVK-0004ZC-4r for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 00:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Dimech Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2023 04:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 65348-submit@debbugs.gnu.org id=B65348.169259198917513 (code B ref 65348); Mon, 21 Aug 2023 04:27:02 +0000 Original-Received: (at 65348) by debbugs.gnu.org; 21 Aug 2023 04:26:29 +0000 Original-Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXwUj-0004YK-Uo for submit@debbugs.gnu.org; Mon, 21 Aug 2023 00:26:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:52011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXwUf-0004Y4-Kf for 65348@debbugs.gnu.org; Mon, 21 Aug 2023 00:26:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.com; s=s31663417; t=1692591968; x=1693196768; i=dimech@gmx.com; bh=zkejH7MMTgta0jSQw7cVkLq9Z8He+Z4dU2Y62lUmL4E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LrKfxYKbz7XXWPxmteDMwJr1xQorC/NkT6Y5F6DQF6MAufGN6UndDa0fHsWjR+xEj9Pkjh/ HC5bMlQK8Pi+Ax/zIHz5fKTyz0NT3uy42d8TvgPOOuWYVK+T/iNE7mfcdDh90BzZ9emFvQ1pM /Vcbf4AaAkVDYZx7mIFzRLbwq6Y5pZWbX7A00xquXDPWQgd2qtBIsrCvEHyXlmNd2Tngkz1nc m39FOM86iM044eVpcOIafUlFqvfIEB1wQmPk49CyH9L9k8IP3H3PlZ5mCKOieH9vN06deDvt3 dCRS73aTi6rtEoiIkRe3Ldzx+lKNkbnpHQ9KM/aKvQuHtKeZJrRw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [141.8.81.247] ([141.8.81.247]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Mon, 21 Aug 2023 06:26:07 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:vKTpGdhCEolXxcgg9I6cr5hvcHPlpWuDUf93rFpOgQNfS9YqIdT8hSbLeFPcCxNZFMl2D RSECkjMhTSJW+2dj5F55yoLUk/xW9fzEmaEzd9Jie9EoAYPZbTLrhdp4vQw+or8xYoIntiCQhFt1 9LkCmt9rmOFesGSjJzQHl1ahdK9v54S/zIrlKvq2GMl7Lp2mLY2BYjGnyvnkcQEBs9jJSbq05x4I o46L2R0v6VgEa9fXJV0FlSzLII+bSmxucI98M80jFLT7JeP1hz53DTJMbDU1ZW2BL5yAic0Ocn1F RE= UI-OutboundReport: notjunk:1;M01:P0:qLuSYbRYV6U=;yuk8vEQ4VhU5vFKsLOBJZ85mzhI dJENMdvvqv9BMLEuNdqdNZVS4j7F8VWyl85DzBu58wRTjTZAC8+dk1chteb6sO99BMLb+6eNh 3BIrGuxt77dhmL/AzhNUTqOqgjzdcNF60uIAju2sT6MKOypeG0qgPcC8C8nZCpQC8cDt/rOY/ LjT7IcPKSWt4bdo5aJ6gd88BydjOkU1vJvCMYXDQotUadZgn2CSpHnjgzDmnFyRDEfVwIJb7N tLjrZZiD2HC171/h5vnN1JKdv4XAbmQiL80nUQVtj5CRm049NJDwvjG1ntvdweTSTOkvcMUQh SXTKazhxG4INygFc5ppy8TyBBLjPjMLK7Wq1uMwvMiDisgfWwEP6LF9J/OonVnrzYiVfUCfPg ddSyeRQKeR33T+cLymcR222WXLLJgoq9PAquxsjNgMhWdUGaR8fO/7diZ2A8CcmYmBlwDshlB 3rLyp/73VHVCC4Mpde8qjmP3ApbSKOO4lAOYQUFXYM5dGnKBCwUPhMm6yFmVjRVjPYYRDPS4L Mwc73l0m+LYNwbFSb0wD1aFibDAwOufTcnHklGaR/djr+9abQzQ25iWb4PbffCXzRMx9OW+7t X5y0DYZPwmv2zbKGYuD7SPJlmtI3ln9c+78jt+owCi8cIFwIDiJ5ffzMqxPKEbOPE72PqgcgT Fx7CgRn+3hUo7KGwnLSkZ10MDxPhNi/CB83eVmZ4zdOFkHPAhgiP1/cQ5RHIQBwzb4/UkA0sq qUbnvDqimxyCMwyT0NyM19Qik6xbrII0ERfk78q0lHDDKlWPWHoHz2+Sb2TWAmDcEFHWlzVF 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:268054 Archived-At: > Sent: Monday, August 21, 2023 at 12:25 PM > From: "Drew Adams" > To: "Christopher Dimech" , "Michael Heerdegen" > Cc: "65348@debbugs.gnu.org" <65348@debbugs.gnu.org>, "eliz@gnu.org" , "heimeborgia@protonmail.com" > Subject: RE: [External] : Re: bug#65348: INITIAL-INPUT in completing-rea= d repeats same entry twice consecutively > > > I suggest that the capability of prefilling the minibuffer be reintrod= uced > > for the new scheme as well. Because from what I see, the deprecated p= arts > > include a feature that will be automatically discarded under the new > > scheme. > > I missed that memo completely! What's the new scheme? The new scheme of using history which automatically discarded the capability of prefilling the minibuffer before cycling can start. > What is expected to be automatically discarded? Where > is the presentation/discussion of such a change? Is > it this bug thread? (Why would it be in a bug thread?) As INITIAL is obsolete, the capability of prefilling the minibuffer entry would be missing. > I hope we're not changing the longstanding arg list of > `completing-read' (except perhaps to add more args, > which might be debatable but excusable). It is a problem. We have been very happy adding more args for new features, without taking serious consideration the resulting confusion between old schemes and new schemes, resulting in numerous recommendations. The less recommendations on how to use a function the better things will be to work with. When deep changes happen, I prefer to keep the old as is, and make a new function for significant changes that affect the old functionality. It does not happen regularly that new features are accessed in ways that maintain clarity and avoids unnecessary complexity. > Let's please keep this function backward-compatible. > If you want something different, please add it as a > separate function. That's the whole point, and we should follow that route as an important strategy for maintainers.