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: [External] : Re: master 513c5d827d: Use `format-prompt' in Date: Tue, 06 Sep 2022 22:23:03 -0400 Message-ID: References: <83ilm4om39.fsf@gnu.org> <87r10sizhc.fsf@gnus.org> <83fsh8ol0v.fsf@gnu.org> <87ilm4iyeh.fsf@gnus.org> <8735d6fcqz.fsf@gmail.com> <83a67ekpx9.fsf@gnu.org> <83a67ck7a4.fsf@gnu.org> 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="39012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, drew.adams@oracle.com, larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 07 04:24:25 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 1oVkjo-0009yU-Lt for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Sep 2022 04:24:24 +0200 Original-Received: from localhost ([::1]:40824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVkjn-0007d4-Pb for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 22:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVkiY-0006wS-CV for emacs-devel@gnu.org; Tue, 06 Sep 2022 22:23:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVkiV-0005q3-PH; Tue, 06 Sep 2022 22:23:03 -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=DylXirRtQraQeWfUWf7DHZaQ7+d3jNWioBXloeQtYhQ=; b=Q7Bebfd8XCg8 CNHQ471DCLgk6nVZfyqKcG+V3RzQ45RiXW7fM4O9xNiqmsTc8h4NS1SuihYflV12r8AjzJuar3ar4 njDbW2jBjPrP+D8aVN8Z68RsV8d8I2A4PabCZLa8qqvuOgC26WKIldDocIDuRnEbnl6UxKuquFmHk BZGuFrplM0nmNuTYG+GQ9xQQV+bffWP6Ox75APmooXTbLAlWTu4+EtDfpS8yPoiv47r+LGcGXlSRJ S8SAhZjzj/KXrurJyFYP9ewB0+uOgvpSvWonQfr3eCX32hfP/vD66z2tSOQGHgg7OCXMbBN1RJJBl D6k70RxgCSTEKiMbB4qpJA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oVkiV-0004B3-1h; Tue, 06 Sep 2022 22:23:03 -0400 In-Reply-To: <83a67ck7a4.fsf@gnu.org> (message from Eli Zaretskii on Tue, 06 Sep 2022 15:37:55 +0300) 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:294811 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. ]]] > Not only that. The readability is also diminished. Compare > (read-char-by-name > "Unicode name, single char, or hex, default all: " t)) > with > (read-char-by-name > (format-prompt "Unicode name, single char, or hex" "all") > t) > To me, the first one tells very accurately what will the user see as > the prompt, while the second doesn't. To be fair, the two arguments of `format-prompt' have a clear semantic distinction. The first is the general description of the argument to be read, and the second is its default value. But the issue with translation is practical, not a matter of how we think of things. Thanks for explaining the issue clearly. -- 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)