GNU bug report logs - #63399
28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref

Previous Next

Package: emacs;

Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>

Date: Tue, 9 May 2023 20:36:02 UTC

Severity: minor

Found in version 28.2

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tim Landscheidt <tim <at> tim-landscheidt.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Michael Albinus <michael.albinus <at> gmx.de>, 63399 <at> debbugs.gnu.org
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
Eli Zaretskii <eliz <at> gnu.org> 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.)




This bug report was last modified 2 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.