From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings' Date: Wed, 28 Oct 2020 09:00:28 +0100 Message-ID: <87zh46wzj7.fsf@gnus.org> References: <87txca8ede.fsf@building.gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21765"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 15809@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 09:01:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXgOL-0005X2-9z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 09:01:09 +0100 Original-Received: from localhost ([::1]:48598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXgOK-0002DO-4o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 04:01:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgOE-0002DI-2v for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 04:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXgOD-0003ox-Ou for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 04:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXgOD-0000sj-No for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 04:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 08:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15809 X-GNU-PR-Package: emacs Original-Received: via spool by 15809-submit@debbugs.gnu.org id=B15809.16038720463360 (code B ref 15809); Wed, 28 Oct 2020 08:01:01 +0000 Original-Received: (at 15809) by debbugs.gnu.org; 28 Oct 2020 08:00:46 +0000 Original-Received: from localhost ([127.0.0.1]:47001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgNx-0000s7-PM for submit@debbugs.gnu.org; Wed, 28 Oct 2020 04:00:45 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:38572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgNv-0000rr-5l for 15809@debbugs.gnu.org; Wed, 28 Oct 2020 04:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QJNsbtPv19PIViK/8PYCM8j0EurYTUwluEAQ17KQ+2Q=; b=jyO+QS2Jy351SMkhEWoIHfS0vi v2lFghlF3iJy/tK9wNLczRC+AioIO3uY3i2QmY41D75pXdfmLE2bIwHbFJY2DKFGoMga+Icdm4MlS YbQ4bEnAm1/qBc+pPhLrqe9ZgtsG8nmaAbOLX3TLdBjzn5dgPwnjuXUuR+IgofXmLBNQ=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXgNh-0005Rd-NM; Wed, 28 Oct 2020 09:00:35 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVQFBuYJTC8oJL/ //+qk8ovAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QKHAc6F7JLTokAAAEvSURBVCjPbZExbsMwDEXJ wvTsIep55KG7DOhn8J6hPo0LNEM6dWiAVKfsJ+M4SznIfCJFftIikqqkLJs51LuLkiB2cLeXLMDQ RWTxNEiXjYFGML820eaghUeXdLl6riZPzmD9TiygJN0jKHq8t2UC2PreGCAc5AEjKtwtDkpgsiEz SwKyMaV4aXWg1CJPS0WGcHxGBp8QpnlyiG66fDxfWsO2iIGj/RL8jf4QVrYm6NdN9JI3aIycp5Cu U1sJPpGrP2umsOSgOF7yEDWRFdMpU0CMJmnkKLHu0IZNk9guKcW7zZbt69XQQn2cwr/Aoq8tqlDU Ki+txSS8+iZcq/+l6yir9u8GVMPJ3/Q1cb8JxRzogovFLJ+UqKAYvM3UUB6rM2ocdj0uWPfNVvnP bJY/pvhQT2U7yRgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAtMjhUMDc6NTg6MjMrMDA6MDCi 6qUyAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTI4VDA3OjU4OjIzKzAwOjAw07cdjgAAAABJ RU5ErkJggg== X-Now-Playing: Thee Oh Sees's _Floating Coffin_: "Tunnel Time" In-Reply-To: (Stefan Kangas's message of "Wed, 28 Oct 2020 00:50:10 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191819 Archived-At: Stefan Kangas writes: >> Or to be more general, perhaps there should be a custom interval type? Like >> >> (integer :minimum 1) >> >> ? >> >> Or just `natnum'? > > natnum sounds like it could be generally useful, yes. We have plenty of > customizable things that should never be negative. Yeah, that's the most common numerical restriction (by far), and the few variables that are numbers with other ranges can be done with a defcustom predicate. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no