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: [External] : Re: completing-read depricated initial-input Date: Thu, 23 Jun 2022 20:27:58 +0200 Message-ID: References: <86r13hubaw.fsf_-_@gnu.org> <86letphfke.fsf_-_@gnu.org> <86mte3lsj2.fsf_-_@gnu.org> <871qvfoce1.fsf@web.de> <865ykrzigy.fsf@gnu.org> <87tu8bmnzf.fsf@web.de> <87pmizmixf.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="36199"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 20:28:48 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 1o4RZP-0009Ed-B9 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 20:28:47 +0200 Original-Received: from localhost ([::1]:57712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4RZN-0007Bz-B8 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 14:28:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4RYf-0007BT-Pw for help-gnu-emacs@gnu.org; Thu, 23 Jun 2022 14:28:01 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:60005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4RYe-0003H1-0p for help-gnu-emacs@gnu.org; Thu, 23 Jun 2022 14:28:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656008878; bh=zbKuG4WNHizRAs89k2ABv0PgBkYq0dDkZnJLMkUwdF0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=PCYDXKWSKJe6rSskW8ZXVPb8a8tRwYR6H+cnkxK4toKoyftekKofbuW/x9HjgriKl 09lefpjr0erGtc9fUUSPYG5Vg9irELT4pcoJ08nqDOV75lLIDt8l32H0uf2OgbzmsJ zNhzP4Ypja5pASFbEmJjOpr9fooZZsuOaiotr3X4= 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-bs07.server.lan [172.19.170.175]) (via HTTP); Thu, 23 Jun 2022 20:27:58 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87pmizmixf.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:bzsXil1oDsXBoZ6fx9AI8eeb7R3Ck4D5bImB8/tBItKXR1dYdE5crWCz3a8xwvc3ueTEM clnqwaIqTtrNNnkH1pEI6npN3oF1SmM4xAP7lY5j8LiRTZsFywA5d2s0iJsQjPNDbVi2V+h8VhWx IitQuzMt5V7GUoS86CzuvOWerenlNosIIwRtm5uzA27bigWs6LbI5w58lVox8mkpRWgyTuTqLQdI 2uzKjb9uGD9l1GpvVG3z44zAlubL1cwW+8jCSJ2uBjatzCqoaguTqrwQbdjWoa1QteG+wfojvZJx AI= X-UI-Out-Filterresults: notjunk:1;V03:K0:sUo0YFHPbZI=:A+lNg6CZ588aayFY9Kcc+Q 0gKl9PSMiwgNHguGxUIB9DRbI7K3DVufZFFkr1tAoqs14lDvNJ8hXA184EvOuy6lJeKTBVMy4 j2jeq2LWDD7OigO56rKlOkA6ta1geUbJOwGgtV91XbPkKpACiYpqVCFE8GcxAMWmGw6pRY2al smb4nfxEgfam9kdL+dzhv543dgkJfVFcL6/XiK3cfVDVJ+lp6wp4qskdqI756lR+QiUCmV5Y9 gWA43DG1RedZ6R2KFREWLL8yw6lR5DsMO4H4l4srDyCShYWLnrYgylbQW+0BNkyhSpKgT4xhU NCEwlsxac1A1LIuCPIMGqpcmYlkmCmvVapAxYUkfTnIj/xNhvlsJq6eNbzhEbOFTS0dDu4X4Z +TZXemBERx2hYuQEmOptCLVLe35bBmT+xhy/knLw3Xd171nboSwNv6UyVdE755nnD/FOER/Or EzbkypC3EYkQPUdsjhYoU/kRqV1rXaG7oCH0wk/gSGQZNGARgyjy2I0QxnjqZR2SIcrepUoXL US0IOCf84UJr/GFp9WpksuCMAuYcO1F5aCrLtlnwUD49NJiDNtOvBf04hKhsBoaIzqYqWCpfV HlmEiqEy9HS/QvhouvXDFOs7X6QNlNEa3sEW5BDlzxuwxeHXs3kNmOWA6kpI/jHZ0VT+zlm2/ ONDsRSdFI4/Qjfq8OmFAgckG1tufO+H79nrfs7EhXGgbUMB/H3E0L0T8QMN0dWjEf46MOduQF nYJe33vS9yuGmpzjBrcbkx/zv2pPf5E2l1fq9hQlx4JlfgqdyBbSGntndJw+dES9U7QinAjD Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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=ham 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:138033 Archived-At: > Sent: Friday, June 24, 2022 at 4:41 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: [External] : Re: completing-read depricated initial-input > > Drew Adams writes: > > > Another example: > > (completing-read "Color: " (defined-colors) > > nil nil (buffer-substring-no-properties > > (widget-field-start widget) > > (point))) > > And the Gnu Emacs sources themselves contain dozens (around 40) examples > of nontrivial uses of that argument (not all may be justified, but at > least some are). > > So it seems there are indeed valid use cases. > > Michael. The discouragement on the use of initial-value should be removed as well as any deprecation statements.