From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Doc of deprecated INITIAL-INPUT arg of completing-read Date: Wed, 29 Jun 2022 23:08:17 -0400 Message-ID: References: <87v8smt9lp.fsf@web.de> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24420"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 30 05:10:40 2022 Return-path: Envelope-to: ged-emacs-devel@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 1o6kZk-0006B2-6F for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jun 2022 05:10:40 +0200 Original-Received: from localhost ([::1]:49220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6kZj-0002l9-4A for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Jun 2022 23:10:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6kXU-0000Qf-2t for emacs-devel@gnu.org; Wed, 29 Jun 2022 23:08:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6kXS-0001qf-07; Wed, 29 Jun 2022 23:08:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=24+hl4rERFfRreITAGTQq+gkAhtKLZRTXsxgMd6CsPY=; b=bCXfRixAUpqo OcKSF92/j7wYnG70alJcBafjy83xN0N4eHiDK0yQArDEVfFuE1uKBIxlrHjkz0NIOEthgjKUyKs9Y 75xbqQqfRUD4cpxeEszJiO1WPhtuq9v+N0OCB6YGZJc1Yv7POIhHn8PoSA3JOuxtQ2FNmo9GNNhXs a2sM/5CRw29mcOwWIGb1d2N1WB5gR+iBiqJU5iPdWscwu1/h4RHdFNWal5V6/vtNFEkFGbR3ZvDbN XFTNE/P72Nov3058AW9GyIFr6uh1wT2Rb94n6asXe8nnyZwXmWAx0IHvxgD8rxKI2NI9i2ZZxzMNp yHan9xBQEskA5sPgQZd01A==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1o6kXR-0003jg-Ni; Wed, 29 Jun 2022 23:08:17 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 28 Jun 2022 17:10:47 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291728 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Because there's a lot of past experience where people want to have the > Windows-style behavior where prompts get prefilled with the (selected) > default, and they don't understand that in order to get that they need > to change `completing-read`. So instead they abuse `initial-content` in > their code (even though it doesn't give quite the same behavior either > but gets the closer). Would it be possible to tell users the rest of that? That is, to tell them what to do instead of using INITIAL-CONTENT? Ideally it should tell them what mode to enable to get that behavior for Emacs completion generally. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)