From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: completing-read depricated initial-input Date: Thu, 23 Jun 2022 22:58:48 +0200 Message-ID: <867d57m707.fsf_-_@gnu.org> References: <86r13hubaw.fsf_-_@gnu.org> <86letphfke.fsf_-_@gnu.org> <86mte3lsj2.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="10097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: Christopher Dimech , "eliz@gnu.org" , "monnier@iro.umontreal.ca" , Help Gnu Emacs , "carlmarcos@tutanota.com" , "michael_heerdegen@web.de" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 22:59:51 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 1o4Tva-0002Ug-Uu for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 22:59:51 +0200 Original-Received: from localhost ([::1]:39674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4TvZ-0006VI-J3 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 16:59:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Tuo-0006U9-Fs for help-gnu-emacs@gnu.org; Thu, 23 Jun 2022 16:59:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Tun-0000gb-0K; Thu, 23 Jun 2022 16:59:01 -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:References:Subject:To: From; bh=THHY9TXPKcbQBeZQMvTDBcODQqXWZvW8IbeeYqqctrQ=; b=ItxA60m8BpoqOokXayav NTVkTMghrUPVX6zk64pOHY37EZ5Cyv2E2WD71jaQP63rhuWB5yXqQY8ykfm+Rk52IBiSc3aYf74j7 4QlsZPOU+93CSHcv2cBaW70tj9yF/lffzLe6gAdzd3Zp5T9m0qP7Nt1gOOwTGItCJ8PKseZCzXs4f EAst0pjL+SVD5qbBSesl/JMfUjkJtjuEotOOs/l99djYvsg08Xwms5rfn7JpRhhlZEoWKqZwGPkxj G326RxUA+4lFIXNQS9xAVh1iGeOlYXQbSFPBBjvn4Ta9USK9W1o0tHyb+DrHjzWZT/KTwq1AkhBHk nwWTJagQc3ctZQ==; Original-Received: from p4fe3ee56.dip0.t-ipconnect.de ([79.227.238.86]:55272 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Tum-0005Wk-IX; Thu, 23 Jun 2022 16:59:00 -0400 In-Reply-To: (Drew Adams's message of "Thu, 23 Jun 2022 16:23:08 +0000") 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:138038 Archived-At: Drew Adams writes: >> Because extremely general tools give one many >> ways to do things. > > And? Emacs and Elisp are all about giving us > many ways to do things. They even give you lots > of rope to hang yourself with. > >> It is just hard if you find out afterwards that >> things went in the wrong direction and you try >> to clean up. No other reason. > > Too general/abstract. Can you elaborate with > some specifics? I don't have any specific example in my mind, I was also thinking about what you said above about the rope and hang yourself. > No one's obliged to use the very general function > `completing-read'. And no one's obliged to use > it with a non-nil INITIAL-INPUT arg. Agreed. But in terms of coming to some sort of conclusion: This thread started with the question: When do you plan to remove the `INITIAL-INPUT` argument from `completing-read`? I think the answer is: This will not happen, so don't worry. If so, is the docstring of `completing-read' inaccurate or misleading? If so, should there be a bug report and/or a change suggestion? WDYT? Best, Arash