[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15809: [External] : Re: bug#15809: 24.3.50; wrong defcustom type for
From: |
Drew Adams |
Subject: |
bug#15809: [External] : Re: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings' |
Date: |
Sat, 25 Sep 2021 15:31:46 +0000 |
> >> (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.
The doc string doesn't, but the tag appears to.
The tag should anyway say what the field is for,
not (usually) what its type is.
If you do add indication of the type to the tag
(i.e., in addition to the field description -
what the field is for / means), then please use
what you have in the doc string.
The field value must be a nonnegative integer.
It need not be a positive integer.
- bug#15809: [External] : Re: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings', (continued)
bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings', Mattias Engdegård, 2021/09/25
bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings', Mattias Engdegård, 2021/09/25
bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings', Stefan Kangas, 2021/09/25
bug#15809: [External] : Re: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings',
Drew Adams <=