bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mattias Engdegård
Subject: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings'
Date: Sat, 25 Sep 2021 15:07:33 +0200

25 sep. 2021 kl. 15.00 skrev Stefan Kangas <stefan@marxist.se>:

>>> (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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]