Subject: Re: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings'

From: Mattias Engdegård <[email-masked]>
Date: Sat, 25 Sep 2021 15:07:33 +0200

25 sep. 2021 kl. 15.00 skrev Stefan Kangas <[email-masked]>:

>>> (define-widget 'natnum 'restricted-sexp
>>>  "A nonnegative integer."
>>>  :tag "Integer (positive)"
>> 
>> Sorry, but this is just wrong. 0 is not a positive integer.
> 
> The text does not say that zero is positive.

Actually the tag text does.

> Feel free to improve it, but I don't think the terminology "nonnegative"
> is unusual or incorrect.

It's fine! But "Integer (positive)" isn't, if we are talking about something that can be zero.

What about "Integer (nonnegative)", "Integer (positive or zero)", or something else?

And please accept my apologies about the somewhat unfriendly tone of my original message. I'm really very happy with the change otherwise.