From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: master 513c5d827d: Use `format-prompt' in Date: Mon, 05 Sep 2022 13:54:24 +0200 Message-ID: <87pmgadojz.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3094"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, 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 Mon Sep 05 14:37:20 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 1oVBLr-0000a2-1Y for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 14:37:19 +0200 Original-Received: from localhost ([::1]:49548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVBLp-0002W6-NQ for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 08:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVAgP-0000W2-SP for emacs-devel@gnu.org; Mon, 05 Sep 2022 07:54:30 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:45894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVAgO-0005e8-6r; Mon, 05 Sep 2022 07:54:29 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id w5so11007519wrn.12; Mon, 05 Sep 2022 04:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=ZOQqkP2QXE1PAgixDhpsx96PrJ6X657E8cRnXck6ZIc=; b=okNzsB3sCX8ik2QMnDOW1rR57gthz/aaUVeiJQuKWNmFRy6Od6N/EhWI6xMvNeni7U rZOoCquJweSrgBXTDAfwnHLcPaUiIrtAidTlvg+8pqZ8/52pBZURcejwWJvtUmTVU5Qt h5S1cddqtDRfU6g1yK7cRt459QtVUv3nYXLJMaCN+q1655KL41gggL+vZli9wS15NDwB ptmO6bj6H7bci8gQE+9upQsMzm/jdu43pIjctXNwcb04GNSouIIHKk/utXvlHMb/DtSS toUBm3SQdzi8dG23nah+izmyrYgZl+g27I7BgXAl5Kgm9lis1m3LnUiBBqztIaEMs8Vo gbjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=ZOQqkP2QXE1PAgixDhpsx96PrJ6X657E8cRnXck6ZIc=; b=DwNXoQ+a4d3SxpuKPZuZwXhWdb/SokHSWDjG7N34rpX6S092OY57ze1AsE/Mo4fPUo zMgxjh6VEV7ss10csyiRdy5G+Gnc8ptFc+qaso2qAyiBmb7FoDJIpOFFbVHhVtKmY1if zoIPHyG1YzfNHaMnv71sTxIulMw5g8RTjriMFTShNdAZIxhols/pfrX4N1DBN1e0mnw8 EUr3Iaz2l10hJWMz9Sh4mkgRHbLLjlkZ0kzzLnMpiHfgBMjmd+6CwHQM5/61rh/omCXd RTkkAdfL4TBt7DZP1n4xfklyGZ1geCC4zWupjEWAboz0nyEdXqm4Vhy5069RYWA3koHd kr6A== X-Gm-Message-State: ACgBeo0caSLhhJWb1gH4IWqJ7emkeBne10BQWy+yjkueNCWwUI1MyQMV F0BoYpDJprUGp5rt0JXtxmFfbj9oHcI= X-Google-Smtp-Source: AA6agR4gR67CeEoDNlKTQdk3WB33M/aneeLZGRFQ8X4mGNRJjS2+ps9j5hYUauwqkP5xhSPLpyRnIA== X-Received: by 2002:adf:f58b:0:b0:228:6504:6751 with SMTP id f11-20020adff58b000000b0022865046751mr3597626wro.3.1662378865582; Mon, 05 Sep 2022 04:54:25 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:d449:3613:7ca5:e93f]) by smtp.gmail.com with ESMTPSA id c8-20020a7bc008000000b003a31ca9dfb6sm12591013wmb.32.2022.09.05.04.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 04:54:24 -0700 (PDT) In-Reply-To: <83a67ekpx9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Sep 2022 14:42:58 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: 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:294742 Archived-At: >>>>> On Mon, 05 Sep 2022 14:42:58 +0300, Eli Zaretskii said: Eli> That part is fine, but the fact that using format-prompt splits the Eli> prompt text into two seemingly unrelated parts is a disadvantage, IMO. Eli> I wonder if we can do something about that, given that this function Eli> was released with Emacs 28. Are you suggesting something like (format-prompt "Prompt##all") which splits on "##"? That would be ugly. Robert --