From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#15809: 24.3.50; wrong defcustom type for `suggest-key-bindings' Date: Wed, 28 Oct 2020 00:50:10 -0700 Message-ID: References: <87txca8ede.fsf@building.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19924"; 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: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 08:51:10 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 1kXgEg-00055D-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 08:51:10 +0100 Original-Received: from localhost ([::1]:42762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXgEe-0007l8-TQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 03:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgEY-0007ko-D0 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 03:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXgEY-0000CY-2e for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 03:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXgEX-0000aX-W6 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 03:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 07:51: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.16038714182205 (code B ref 15809); Wed, 28 Oct 2020 07:51:01 +0000 Original-Received: (at 15809) by debbugs.gnu.org; 28 Oct 2020 07:50:18 +0000 Original-Received: from localhost ([127.0.0.1]:46928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgDq-0000ZT-5K for submit@debbugs.gnu.org; Wed, 28 Oct 2020 03:50:18 -0400 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:33874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgDo-0000ZD-Dq for 15809@debbugs.gnu.org; Wed, 28 Oct 2020 03:50:17 -0400 Original-Received: by mail-ej1-f53.google.com with SMTP id gs25so5859999ejb.1 for <15809@debbugs.gnu.org>; Wed, 28 Oct 2020 00:50:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=cSpE7Uoo107WQK2O6yk+MYT4iXW9PZG4rw75ZEnfP58=; b=kNjGAWJY5BCKpQgFD5Nk8wPr4sN4GBsVto3LKAlUIP71bAMhFyNIGuLdxSvXejXlpr 4PjtJ7DZrB1UWrtGY1qvlzFdJWAezWblOU287sHvOKCfLp/koAu9lj72N2MOH5RYa4JE HxyAKwTzchkuZr0hmHOMDlFE7yMXRHSgJBGUtj2N5D9BCfBg2BWwdJvSY1kr3XTLBE6n 1+fXxeu/CMw0ErH4r0kXwZdtgRe89/Jra8wRe5d8km70UxZP8/hNwWWosBe7Y3TwchIS uIsQU3dCP6+L9Jft02fUAZPmX2GdcQ/qIX43P6WSzlvfzqemQV8xq/J7BxFzudzFTehj aTog== X-Gm-Message-State: AOAM5334uMV1p0+ulYzvf/ZnGDdyFHZEVyhBjz2qVCte8zCHZ6CHNR44 3JWAzwLWwkHctm5yIHXGZ3a/NTFL/XKRIl49cWA= X-Google-Smtp-Source: ABdhPJwJi3szlMWThQDDCxuUvMLfZ4G0xImZRhrSbijReKhkj1mua4tea/smcQBc0Q6Ri2aSBFhrvUFDvAI7WKy7ZNA= X-Received: by 2002:a17:906:3ed0:: with SMTP id d16mr6589010ejj.477.1603871410661; Wed, 28 Oct 2020 00:50:10 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 28 Oct 2020 00:50:10 -0700 In-Reply-To: <87txca8ede.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Fri, 07 Feb 2014 19:36:29 -0800") 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:191817 Archived-At: Lars Ingebrigtsen writes: > Drew Adams writes: > >> Instead of `integer' the `choice' should use `number' (and the code >> should then ignore negative values) or `restricted-sexp' with a test >> that the time be non-negative. > > 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.