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 14:29:15 +0200 Message-ID: <87leqydmxw.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> <87pmgadojz.fsf@gmail.com> <831qsqko7t.fsf@gnu.org> 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="32553"; 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:50:24 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 1oVBYW-0008Me-95 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 14:50:24 +0200 Original-Received: from localhost ([::1]:36220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVBYV-0001CV-40 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 08:50:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVBEE-0004yF-A5 for emacs-devel@gnu.org; Mon, 05 Sep 2022 08:29:27 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:43969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVBE8-0004CA-AE; Mon, 05 Sep 2022 08:29:25 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id t7so6127055wrm.10; Mon, 05 Sep 2022 05:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=kfY0tY3y8FsN2/HfIAyfEZFuWoBlJNH4Nd4UqKxT70k=; b=UAju5qxsH7qx59liHvo6pV+lGspbFrncYm0abdG5RlxyCEUnf4ZJcmq29yjBjTqYyf fJcrIa7tOhttAuZyYCMCg/9eV/282Uql8ZgRGd4GUcd67WJXCYbOkhnGT4pHtITYYmeZ F6qh5ntt5i+17Q6oVcPecBZKlNQ3foyGzg2Ur1zrvZ5NvMVuzIC5oPlJC6pbg2mYWiQZ 5glk102urNhRn6lovj3z9czwkbv04tCeseCxnjDEME8/HMaPCd6AeO3DDY+gLq9jQsL4 0MmqDVpmqkSVTC8vaYFu3iLyCBaLXZ4O2j9yR+XN0AevISgBnWcuBiMh7CmA8bADnZx2 oMJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=kfY0tY3y8FsN2/HfIAyfEZFuWoBlJNH4Nd4UqKxT70k=; b=oxlHYIuD++UzIdGW0hKt8ivYQKa1dk8YDowEbBfrm69Tvg3s/pSazUaGGWChDmEQey TxqJo1sf9ogJ3WOBGN3d3jnVuyqOzWUZCFBCGaV/kM+x0mGOzG4xbtW2vai4rjuocXAk qIOGiLIHEXugow0Ro+i5CxBfV2A30uFYCL/FxuMZtImHJJUft3PauA+gFSoZ4Xz2szZB IAazOgMojbdtJ2vJgEgVnR6u/wfLGyMM7yKfi46yUccQ7JmtU901RVelpbLdo0aOLi4a m3FxI5A9WJuIRDdKYfF7sGZXYszD92FdTAL/4cKgjR2tO/TPEzyiC3T20d49isFBKY3P pxqw== X-Gm-Message-State: ACgBeo3AgY8VNg2yEA5GDstqGCMJ+XZR2E3VcQZqEj/r2UrvnPKeotaa ch0OGjw3X3cLFGHee9QEOxSISSpr3Yc= X-Google-Smtp-Source: AA6agR7ggror7RPsLR1LCLM0KIefBhh7Ea2+9il5ftB9IwQlLvab6YSfhIn9oWHpptNpP7MJYJg/Qg== X-Received: by 2002:a5d:6d03:0:b0:226:eb13:c906 with SMTP id e3-20020a5d6d03000000b00226eb13c906mr14449561wrq.325.1662380957079; Mon, 05 Sep 2022 05:29:17 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:d449:3613:7ca5:e93f]) by smtp.gmail.com with ESMTPSA id v5-20020adf8b45000000b0021e6c52c921sm10822206wra.54.2022.09.05.05.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 05:29:16 -0700 (PDT) In-Reply-To: <831qsqko7t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Sep 2022 15:19:50 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.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:294745 Archived-At: >>>>> On Mon, 05 Sep 2022 15:19:50 +0300, Eli Zaretskii said: >> Are you suggesting something like >>=20 >> (format-prompt "Prompt##all") >>=20 >> which splits on "##"? That would be ugly. Eli> I didn't suggest anything concrete. However, one possibility woul= d be Eli> to teach format-prompt to accept keyword arguments. My admittedly not well-calibrated lisp taste=CA=BCo=CA=BCmeter doesn=CA=BCt= find (format-prompt "Prompt" nil :default "all") all that appealing either (does cl-defun allow you to combine &optional with &key?) Robert --=20