[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between d
From: |
Michael Albinus |
Subject: |
bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref |
Date: |
Wed, 10 May 2023 16:57:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> >> I guess we should pad the prompt with a trailing space, if there isn't
>> >> any already.
>> >
>> > No, I don't think we should. The caller should take care of any
>> > padding, if that is desired. The function shouldn't second-guess
>> > whether a space is needed or not.
>>
>> Why the difference to y-or-no-p?
>
> I don't know.
>
> 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.
Best regards, Michael.
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Tim Landscheidt, 2023/05/09
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Michael Albinus, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Eli Zaretskii, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Michael Albinus, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Eli Zaretskii, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref,
Michael Albinus <=
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Eli Zaretskii, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Tim Landscheidt, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Eli Zaretskii, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Michael Albinus, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Michael Albinus, 2023/05/10
- bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Michael Albinus, 2023/05/12
bug#63399: 28.2; Documentation for yes-or-no-p wrong/different between docstring and lispref, Eli Zaretskii, 2023/05/10