From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.bugs Subject: bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref Date: Wed, 10 May 2023 16:04:47 +0000 Organization: https://www.tim-landscheidt.de/ Message-ID: <87cz38rx40.fsf@vagabond.tim-landscheidt.de> References: <874jolxmyf.fsf@vagabond.tim-landscheidt.de> <87r0rozeg7.fsf@gmx.de> <83a5yc8eov.fsf@gnu.org> <87fs841dqm.fsf@gmx.de> <83zg6c6yez.fsf@gnu.org> <87a5yc1bg2.fsf@gmx.de> <83sfc46vix.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="5671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Michael Albinus , 63399@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 18:06:10 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pwmKP-0001Ed-KL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 18:06:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwmJT-0004pV-VO; Wed, 10 May 2023 12:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwmJK-0004fN-D8 for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 12:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwmJK-00072w-3I for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 12:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwmJJ-0002Sr-UT for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 12:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Landscheidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63399 X-GNU-PR-Package: emacs Original-Received: via spool by 63399-submit@debbugs.gnu.org id=B63399.16837346949456 (code B ref 63399); Wed, 10 May 2023 16:05:01 +0000 Original-Received: (at 63399) by debbugs.gnu.org; 10 May 2023 16:04:54 +0000 Original-Received: from localhost ([127.0.0.1]:48796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwmJB-0002SS-Os for submit@debbugs.gnu.org; Wed, 10 May 2023 12:04:54 -0400 Original-Received: from andalucia.tim-landscheidt.de ([116.203.78.250]:53570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwmJ7-0002SG-VQ for 63399@debbugs.gnu.org; Wed, 10 May 2023 12:04:52 -0400 Original-Received: from [178.24.244.212] (port=47912 helo=vagabond) by andalucia.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1pwmJ5-0000X7-I4; Wed, 10 May 2023 16:04:47 +0000 In-Reply-To: <83sfc46vix.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 May 2023 18:44:38 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261515 Archived-At: Eli Zaretskii wrote: >> > But there's no difference if the prompt ends in a space. >> Yes. It is just a convenience change, and there's code in the wild which >> doesn't use a trailing space in the propmpt, when calling >> yes-or-no-p. What would be wrong with my patch? I don't see that it >> hurts. > I'm sure something will come up. It isn't an accident that we have > danced around this more than once in the past. > But if you insist, please install on master, and let's see whose gray > hair is more right... I support Michael's idea here. I do not remember any case where a prompt "Prompt?(yes or no) " was an intentional choice by the author. It looks "wrong". (The GNU Coding Standards recommend spaces before open-parentheses in C code, but strictly speaking this does not relate to the UI.)