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 18:10:04 +0200 Message-ID: <871qsperab.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> <87leqydmxw.fsf@gmail.com> <83v8q2j8zw.fsf@gnu.org> <0b2303e39250624d54a6@heytings.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="28842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , rms@gnu.org, drew.adams@oracle.com, larsi@gnus.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 05 18:14:54 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 1oVEkP-0007NI-E1 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 18:14:53 +0200 Original-Received: from localhost ([::1]:48548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVEkO-0003Tx-DF for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Sep 2022 12:14:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVEft-0003jH-91 for emacs-devel@gnu.org; Mon, 05 Sep 2022 12:10:16 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:35401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVEfo-0007HH-2z; Mon, 05 Sep 2022 12:10:12 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id m17-20020a7bce11000000b003a5bedec07bso8070968wmc.0; Mon, 05 Sep 2022 09:10:06 -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=ZXoScGqhqP8JIkLRAzhK0VNvF+5dYPsOFYeXu3fN6ss=; b=gS29rU/P8w5rtEHxr+DWm+L0R5mooszZeCIbUqXXe/HUY1vAV0gP6HXp+UYcPtJJbc fVkD/Dxh+SNPVYg5vQ7Ygzixjja5BTLZu8YRV4Um0WMzdgHJ/OniVyv2SEtjX2PNdyVR iUZ4loY/jqIPvO3GZw2NTau1sHSWJ0VkSp6DqxHK040JSgMHj4iyLfWuz6OilDPPYHgk TSBngSVkdbRsIiRau9DerR/iGj2CK8oWqaYMd2cy83fKmmdVIN6pSLLy34DHCjtJ1Faj Y1tvzjetHohmX9soULf8m16sRGR2R6Bu5n5Tacb+u5EandyhRBFCFPcdJWTZuvgtR6TN AI0g== 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=ZXoScGqhqP8JIkLRAzhK0VNvF+5dYPsOFYeXu3fN6ss=; b=uxcDYbnCdXmFRtNcxtAcvBAlrgY+0O5fBfuOwU4eWlvGdAmWWOFP8UB5JOLyxsf7h5 VTyHH1bnCRV53Y7XWW4E6ZLMP+UCctW2B9NMOLUtEUY5JR0tm/nCInrm/xnCdVrCShDe 6JrD+jBxRery1AwRcXU3M3uPv9SvpXdLr8VnrzEhfBLTaidfZYeKxBfo7ggurfoZRz69 QmBfESA6lcAy+fzff3SaNKXqeCAOqlFNB9SK2GfzZiLgxhrZNW2PW/6AftTmf/x50mVH ZbfSBYqUCwGEpm/7UseGgPeuVOUrdWWqphPdv8+Ubf0/I/kqOooavyDutxzaUFVezjFz 7LIQ== X-Gm-Message-State: ACgBeo2ONC91BLuIjFoCVPZLJNJHfBZp2JMa2FtBM2kAcpqne3ykQpXJ GVU1bHZkia51+3esbVo08hmaFMGqfEo= X-Google-Smtp-Source: AA6agR7bE4bwF9taDPudsfKV4iwurYba2hZRtSyfnodZYKVJXLqmanNO9iFjZHwFsYw+3w5Fw7LJdg== X-Received: by 2002:a05:600c:600c:b0:3a5:abdc:8ce4 with SMTP id az12-20020a05600c600c00b003a5abdc8ce4mr11027562wmb.144.1662394205355; Mon, 05 Sep 2022 09:10:05 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:266a:51f:750:621f]) by smtp.gmail.com with ESMTPSA id w4-20020adfd4c4000000b0021badf3cb26sm11323976wrk.63.2022.09.05.09.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 09:10:04 -0700 (PDT) In-Reply-To: <0b2303e39250624d54a6@heytings.org> (Gregory Heytings's message of "Mon, 05 Sep 2022 16:02:36 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=rpluim@gmail.com; helo=mail-wm1-x336.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:294753 Archived-At: >>>>> On Mon, 05 Sep 2022 16:02:36 +0000, Gregory Heytings said: >>> My admittedly not well-calibrated lisp taste=CA=BCo=CA=BCmeter does= n=CA=BCt find >>>=20 >>> (format-prompt "Prompt" nil :default "all") >>>=20 >>> all that appealing either >>=20 >> Then I hope someone will come up with a better idea. >>=20 >> My point is that using format-prompt obfuscates the code to some >> degree, and we should try to find a way of avoiding that, while >> keeping its advantages. >>=20 Gregory> FWIW, I'm not sure using minibuffer-default-prompt-format is o= ptimal Gregory> in this specific case. Before the change the prompt said: Gregory> Character (Unicode name or hex, default all): Gregory> Now it says: Gregory> Unicode name, single char, or hex (default all): Gregory> or, with minibuffer-default-prompt-format set to "": My understanding is that if you break it, you get to keep both pieces. Gregory> Unicode name, single char, or hex: Gregory> IMO, the original prompt was much clearer, and I don't think t= hose who Gregory> customized minibuffer-default-prompt-format would have protest= ed that Gregory> this specific prompt does not obey their customization: "Unico= de name Gregory> or hex, default all" is an explanation about the kind of input= that is Gregory> expected, like the one we have for C-x 8 RET, which says: I think I=CA=BCve reached my limit on this issue. Patch away to your heart=CA=BCs content. Robert --=20