From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix Dietrich Newsgroups: gmane.emacs.help Subject: =?utf-8?Q?=E2=80=98read-string=E2=80=99?= over =?utf-8?Q?=E2=80=98read-from-minibuffer=E2=80=99?= Date: Tue, 20 Jul 2021 14:05:03 +0200 Message-ID: <87pmvdfaxc.fsf_-_@sperrhaken.name> References: <87czrip6db.fsf@sperrhaken.name> <877dhqoxw6.fsf@sperrhaken.name> <87tukr3y7f.fsf@zoho.eu> 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="39929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 20 14:10:05 2021 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 1m5oZY-000ABB-AA for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 14:10:04 +0200 Original-Received: from localhost ([::1]:37828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5oZX-0000sN-B4 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 08:10:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5oV4-0001Zg-6I for help-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:05:28 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:55623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5oV0-0003T7-MF for help-gnu-emacs@gnu.org; Tue, 20 Jul 2021 08:05:25 -0400 Original-Received: from localhost ([89.12.111.241]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MUY5o-1lfRuJ3PP6-00QQwe for ; Tue, 20 Jul 2021 14:05:11 +0200 In-Reply-To: (Stefan Monnier via Users list for the's message of "Mon, 19 Jul 2021 00:54:01 -0400") X-Provags-ID: V03:K1:VRGmeuXlvHDLvS8yAWZwgN4ge3Bt5TXGYn6gjQvhYxSj+dIyC3M yAptXg2nPzTmxX2UjoTcrYDAkMfCeMiEFXulZRalGL3pBl7vHFkZ6aleCCTJjFtx65jY287 trd2T4PUZyAP/AlbFf3w/WB8SxmTGt2zlSSkfsYrYpm5YWtX06W8xByrg+Z45Xp+0IR0mIe YEiKuYUxBLoDlRiEoGM7A== X-UI-Out-Filterresults: notjunk:1;V03:K0:t+0RwVSMzYo=:a6YDTRPxOAiPwG3YLmj/k4 gXYOxcVA3Gc4VuV3ZDC4LcRu9I0YSxl7vGmMuPbwdM2whZ9sdikob4JhoSxELkUg/PWhVi+T0 /gcjVgO12+Z/vqw6jXtCB4Zn5JVVYREY5BaNfm3D/QoHwLgT71sNS1y6X0IwjP6KVWjSjkQn5 HOciPuA6U6PIm8L9jaQKWIqXn+NlTQE0H2VQgkwuZuLLDVbOC2XE1X368aPlFnvcVfUXHVaZJ /bN292L42/yfjsJLpL0LB4xrcMKIRdFdtvP46EC6mY0r2S98dBMyVDDsGwKcXt5SPJFldq/Kf 7R4DMki2OF4EFNRXOndupRfETikSYyoZmq+UjtIuX2S88LBrjS2hdVDcdgg35bY1Qw4mRDUB8 7zNT5ao7v0EhHNQfrwAe4ZU0Sctz9+ZGlwgBuuAHFkI+NgK6x4Q7JVwewsZu6Gmxvbj8uUgNi uLb0MOsc1OYj2BxlXMVQrK2TWYM93zGbqVI9MbUsSlb7pC7dNEI0seuuCTw7KnkFV9wBoNT1v lbOiUdw4ehB7wMcCEj5Ck6JEObK/rhJZvTZg6KkZU23VOLJ7/7wY6akfC2TegRzTQgNIReK4i LgCsNmbSrxnSnQfpZ68D9G7LUY+um8sNco2RPKQ7G9aRdpdPuj0H+C+0qRUFOa1fXhsV8dk22 ZW4d9DHX9mjBDH3XF+P2FGcOp9vT/VqvsK5xdwPHbcri8pyBzueJHEmXmRiP1m3z1/y/2WkXP WWS9O6XSVTAUdZC9ttFeOARMFZk/DdELdBjhI9LxJz1fRlRtjB8FPtjc2vQMux2UQAxCKs2B Received-SPF: none client-ip=212.227.126.187; envelope-from=felix.dietrich@sperrhaken.name; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:131870 Archived-At: Stefan Monnier writes: >> (let*((read-result (read-from-minibuffer "Prompt: ")) > > Please don't use `read-from-minibuffer` unless you're defining > a `read-` function. > Use `read-string` instead. Could you elaborate? I see that =E2=80=98read-string=E2=80=99 ensures that= there is no =E2=80=98minibuffer-completion-table=E2=80=99 set, which is relevant for re= cursive minibuffers, if I understand it=CA=BCs comment correctly. Anything else one should be wary about? --=20 Felix Dietrich