From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: master 513c5d827d: Use `format-prompt' in Date: Mon, 05 Sep 2022 14:42:58 +0300 Message-ID: <83a67ekpx9.fsf@gnu.org> References: <83ilm4om39.fsf@gnu.org> <87r10sizhc.fsf@gnus.org> <83fsh8ol0v.fsf@gnu.org> <87ilm4iyeh.fsf@gnus.org> <8735d6fcqz.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, drew.adams@oracle.com, larsi@gnus.org, emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 05 14:11:59 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 1oVAxK-0008cl-N4 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 14:11:58 +0200 Original-Received: from localhost ([::1]:38770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVAxJ-00054P-12 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 08:11:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVAVc-0007dY-Eg for emacs-devel@gnu.org; Mon, 05 Sep 2022 07:43:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVAVc-0003O4-4l; Mon, 05 Sep 2022 07:43:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rxMat4X7A1DU6TdR/uw2JsKGH26ERe7qRdDHNI8ugUg=; b=AGZtKwvbFpdh hkopWyWFEFl26bQlodvG8LsL70UaWz1OiRNEzCujlBXCKY05TcVxy20KCWUO4/0zX1yvNgCBwsJ/b v3wp7KBBGjSPV1vxyjlbX0UGpyB5/ekrcbFoGECsurHZn4ElDHIzFCodfbE3m9LsW0uRLXwf+LkiW S3K4i7y4hzUM7iM531s1vdOdO/SjA1jm3m2wB3nPeS1AUn+A0QXJjGwxTkdb5Fkazf+eyg5jKSsw4 2ylPzMPHWTbu26l8E7O8fbLF1ovkhuXiK+XN+B0TIBhp/lSILLXy4c2OKmnn9hSuEsV/Sd1j53KVV niILpQBo9NLm9hq33pMrdQ==; Original-Received: from [87.69.77.57] (port=3262 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVAVa-0007k3-Vf; Mon, 05 Sep 2022 07:43:19 -0400 In-Reply-To: <8735d6fcqz.fsf@gmail.com> (message from Robert Pluim on Mon, 05 Sep 2022 10:26:28 +0200) 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:294739 Archived-At: > From: Robert Pluim > Cc: Drew Adams , larsi@gnus.org, eliz@gnu.org, > emacs-devel@gnu.org > Date: Mon, 05 Sep 2022 10:26:28 +0200 > > >>>>> On Mon, 05 Sep 2022 00:04:46 -0400, Richard Stallman said: > > >> > We've transformed virtually all prompts like this to use > >> > `format-prompt', so it's just something people that read > >> > code like this have to get used to. > > >> Wow. The logic of that... > > Richard> There is no rational argument there, only emotion. > Richard> To contribute to useful discussion of what to do, > Richard> what we need are rational arguments. > > Like Lars said: using `format-prompt' allows people to adjust the > appearance of prompts according to their preferences. People who write > code for emacs need to know what its various functions do, and the job > `format-prompt' does is not particularly hard to remember. 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.