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 00:16:33 -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> 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="3524"; 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 Tue Sep 06 06:18:09 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 1oVQ2L-0000lW-KW for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 06:18:09 +0200 Original-Received: from localhost ([::1]:46962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVQ2K-0001Fs-Jy for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 00:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVQ0p-0008Fh-G6 for emacs-devel@gnu.org; Tue, 06 Sep 2022 00:16:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVQ0n-0005Y1-JM; Tue, 06 Sep 2022 00:16:33 -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=zl2WCkPL65jhlvF02pQ48pTrYz1RiPEUe74T+L136Qk=; b=PgCuuXFk5sxK WRB9ir+nw+evxoDTO0BEl7lQfKD25Oy3w6YU//WFKzzPpmEOrsS2Z95W1RfBbvvy2EeRKYxeIQRDS jSTEOQebG5LJ3ESWxLRxCB8vCYkrgDsXOf8Plac/As5U5rZ7ZQ15+/hVBnpUCzJxzZk1Od01LYPLS oD1zNwhLeDED5VNojKajkKO/Bu1L4NcE2/Ddc4Ml2jphIYYWHikKTgfi3XgH/iBsvmJwTilgZxK5f EFprwmCKlpxEmUgdM4Ez1GmBXYps7S8c3ESZmo+u5cgQ5jSKrIXE+II1Ob4DK1QSBXDvMKM4TZ707 wI+WWGfpcfb3YXHFFvAGmw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oVQ0n-0003MO-0k; Tue, 06 Sep 2022 00:16:33 -0400 In-Reply-To: <83a67ekpx9.fsf@gnu.org> (message from Eli Zaretskii on Mon, 05 Sep 2022 14:42:58 +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:294772 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. ]]] > That part is fine, but the fact that using format-prompt splits the > prompt text into two seemingly unrelated parts is a disadvantage, IMO. > I wonder if we can do something about that, given that this function > was released with Emacs 28. I suspect that the crucial issue here will be how it affects translation. Someone said that it will be hard to define the translations for strings used in format-prompt. I don't know enough about the details to know whether that is true, but we should find out. Would someone like to present that argument fully and clearly? Then we could investigate whether this problem has a solution, given format-prompt as it is now. If it doesn't, then maybe like > (format-prompt "Prompt##all") is called for. A little ugliness is acceptable if it avoids a substantial problem. -- 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)