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.help Subject: Re: completing-read depricated initial-input Date: Wed, 22 Jun 2022 06:56:47 +0200 Message-ID: References: <86r13hubaw.fsf_-_@gnu.org> <86letphfke.fsf_-_@gnu.org> <87bkuljsvz.fsf@yahoo.com> 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="34675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Arash Esbati , Drew Adams , "eliz@gnu.org" , "monnier@iro.umontreal.ca" , Help Gnu Emacs , "carlmarcos@tutanota.com" , "michael_heerdegen@web.de" To: Po Lu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 06:58:12 2022 Return-path: Envelope-to: geh-help-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 1o3sRP-0008si-VI for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 06:58:11 +0200 Original-Received: from localhost ([::1]:47538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3sRO-0006GD-E7 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 00:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3sQG-0006Fq-SJ for help-gnu-emacs@gnu.org; Wed, 22 Jun 2022 00:57:01 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:42021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3sQF-0000nW-0M; Wed, 22 Jun 2022 00:57:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655873807; bh=O8V6w3UsRtOV32ii1+owgCkc2TfHwFEY8XsWMUbCdXA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LKAn/glWJVTC89T0xNaz4iNt05NeubesxIVTX/654c7VZQAR1KrYxdFq0aO004ylf AKFbM9MGIZeDwwwAlt2J5xWWc5pQ0oQxF0wJIRibGLzGoNB+LpdID6dcfvbZfkukvJ pBwX7jCYIoZVSQ3P71+lNfAtxYt4jyiAR/fjF4cE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs15.server.lan [172.19.170.183]) (via HTTP); Wed, 22 Jun 2022 06:56:47 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87bkuljsvz.fsf@yahoo.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:GAn0AYJeDP+xhE2Yef1O3FCcvNNC0mEP14zJicKi2yGWKrF6dA8i2WnwN7bQix7Rlt6Yl nWYDLdqgqeFg3LbHz6cBJROEGSpDzoIofmrcgtZqDyf0G+tHalRsDlAQ8v40JUrc6zxII8Nr+H3B 21jWgygiGXGBcVQ36yIDp9TB+lU3KqYCRCkSbN7JDzzpGFBwwGgbwvZ6TPgIj+PqJwdUNgMoje/m OMa/qhyLWsINzSrZa4jNjmClico/TxpiCARZnwtAKFumx8Mz9d3WmXzXNEGFbRDYdmE+8mnUHx1n y4= X-UI-Out-Filterresults: notjunk:1;V03:K0:7K2eAmpQJqI=:ZC2vNIBb7iMjAgkZ+hRkkl NVkk6mOwbcz5K7d2c1/GiEOqz680DtIAqSFsfFOcJyrb0ymrsNx0Pds/WswW0w6YS/+Qshhj4 R3HsnShHcdgYwRmxk8Znox+M5A/6vwQ0LGPwi4qT8F23mwGJVjYSf7Jyp6ABuDAi7WbMgv1CK 6sq26ZRLl3gOYlY3ywSew8VRv1YE7tKoj/8e2uXN4jY12tl+uYpscZuLNGag+8MD7VojvCHp2 H2zVkrILRpjTEnsIhxW/oIK+1Y0NhZqsu4rAaAQw5Nnhfg15t69wV6ZDJSEf87u3NQXhoT7JK 5/WX1olx/056ZrSfhGxRMmgsR/rxiA/n/hdCzyKLEzBb7ON12hf8W2e9u5nKNLxFo/LILKa3R 3HOoH9DjcXVcYNcvHcHX6dKyNouYyXWXSL/3Vx3sT9qqEuLDq+oCZ9DAmXp/0tycUEdoMtB28 dT/E+W5398r0sUaQTL62wHBwFl2DU1mBhAMnIA7AFgr+cIgeXeLLKrYcedNE3hqiExrttUD3w FGNvoxUaph55Zx/P6k4a7NgnxTnZrVwOyFRUNjhTU9f1pYxjPf/yOZ6M92uVX2aKwlz+5RvOd 024PpBK4ueOpyWvNzXeXtsfp6ZmlOjF8bhPqLxQixLGDDmo2CtWiVB/kyHGes4CO4OaLPfx1l D1+BF58Fqa8puvnhuv3miGzC6EUcLc/BvWU2lCdI4alexLvVOYeMh+oIa9MkWgMxH4Xs/DAnf I9u++V/cLGwCWohl2BySjoNvDsMLN9eWLhu9awwvTzA1LJpPYk/P9Syhe/yepeHqgvoNfkz7 Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137978 Archived-At: > Sent: Wednesday, June 22, 2022 at 3:09 PM > From: "Po Lu" > To: "Arash Esbati" > Cc: "Drew Adams" , "Christopher Dimech" , "eliz@gnu.org" , "monnier@iro.umontreal.ca" , "Help Gnu Emacs" , "carlmarco= s@tutanota.com" , "michael_heerdegen@web.de" > Subject: Re: completing-read depricated initial-input > > Arash Esbati writes: > > > I agree that there are cases where INITIAL-INPUT still has its place, > > but as I said, I remember the reason for phasing it out was different > > than stylistic preferences. > > What other reason can there be? I can't think of any non-stylistic > reason to discourage using that argument. > > If you think it is counterproductive to insert some initial value into > the minibuffer itself, then by all means recommend against using it. > > But don't obsolete the means of doing so. Because `completing-read` is a very general function, on purpose, and has historically been getting more and more general, the presence of INITIAL-INPUT does have purpose. Would want to keep `completing-read` as a general canonical function for user input. And I do use it, especial= ly when `REQUIRE-MATCH` in `t`. Obsoleting the means of using it will introduce functional difficulties ra= ther than solving or simplifying anything. There is enough agreement about the generality of `completing-read` to kee= p the functionality of INITIAL-INPUT.