From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: completing-read depricated initial-input Date: Thu, 23 Jun 2022 10:57:17 +0200 Message-ID: <87letnhhj3.fsf@gnu.org> References: <86r13hubaw.fsf_-_@gnu.org> <86letphfke.fsf_-_@gnu.org> <87bkuljsvz.fsf@yahoo.com> <86fsjvlrjo.fsf@gnu.org> <874k0bkco7.fsf@dataswamp.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="7822"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.28; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 11:14:29 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 1o4Iuy-0001p1-Ej for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 11:14:28 +0200 Original-Received: from localhost ([::1]:50032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4Iux-0002YB-Bn for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 05:14:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4IrA-0007at-6G for help-gnu-emacs@gnu.org; Thu, 23 Jun 2022 05:10:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Ir9-00024d-DM; Thu, 23 Jun 2022 05:10:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=/i474ShOOR+bMgqYwnp8UGx2lYD+5UKyNF7LZCliv3w=; b=Sjw7AKr9fQhk+Q fAHBkG3P1rm4nXTZzLACW7eXH/iDpxQZh4eV43juNDs725Y17E30RBSl3y/rUM08TBTh9IYmRNKFE SY/wtcvw8Q2uU8URfsz9CFO99T0uz3KxGQf46xN9bvtXvUiAc3iNRB9zxgEW84ZDUI5pbuVAJAlM5 EF3NKJU4FWTRDc7hpfMk3p6ZGfy6Rs4TL0PHrSuZW08k6zQjjCDsJHTqxxFSekb5TgWayRjGQjnzr Zc937isuiVIqF+Ckdmk7OyEjj3FmH/vM73xTJ5pX9UyAQt4L+852ZlTN8NjXhzEBDVG9PZdTxBsKH j/t166u3nrvQLmb8sIbQ==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:52379) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4Ir8-00025j-3E; Thu, 23 Jun 2022 05:10:31 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 9283427C0054; Thu, 23 Jun 2022 05:10:28 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 23 Jun 2022 05:10:28 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefjedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepudejtdehuddvleffjeekteegvdehleehvdeufe fhueekkeekhedvgfeggeffvefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Jun 2022 05:10:27 -0400 (EDT) In-reply-to: <874k0bkco7.fsf@dataswamp.org> 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:138005 Archived-At: Emanuel Berg 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? [...] >> >> Improved user experience? > > Why/how so? You have to delete the initial input if it's not what you want or if you want to see the other possibilities. So basically all occurrences where INITIAL-INPUT is used as a kind of default value are better handled with the DEF argument. The only places where I can see it's useful is when all possible completions have a common prefix and that is given as initial-input (but then you only save one TAB) or with completing-read-multiple when it's highly likely that the user wants to use the defaults given as initial-input and just insert some more. (completing-read-multiple doesn't explicitly state that INITIAL-INPUT is deprecated.) Bye, Tassilo