From unknown Fri Aug 15 12:53:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65655 <65655@debbugs.gnu.org> To: bug#65655 <65655@debbugs.gnu.org> Subject: Status: 30.0.50; Minor oversights in integer->natnum :type change Reply-To: bug#65655 <65655@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:53:50 +0000 retitle 65655 30.0.50; Minor oversights in integer->natnum :type change reassign 65655 emacs submitter 65655 Mauro Aranda severity 65655 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 06:52:25 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 10:52:25 +0000 Received: from localhost ([127.0.0.1]:55028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbfHk-0007jP-W4 for submit@debbugs.gnu.org; Thu, 31 Aug 2023 06:52:25 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbfHj-0007jB-Fj for submit@debbugs.gnu.org; Thu, 31 Aug 2023 06:52:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbfHW-0007XA-2H for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 06:52:10 -0400 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbfHT-0005Sm-TC for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 06:52:09 -0400 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1c4f4d67f5bso362549fac.0 for ; Thu, 31 Aug 2023 03:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693479126; x=1694083926; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=yp4Hz1LfhiK/713FufbV/nqUZErwSC5uRwDZmBO0e58=; b=SsgtWkxlG/m0EmraRcQPq2g2tOQ5c98+0VPevtF8z1APSSIxn0B5gostna0x1q9JHB +yyWaehUcZdcB3Ei3k/pWFr/r2BKdp2twNouEDhkrL3ZF65weJNYzZwbf3A7BcU1cFiX J74kj3vnD7ElTl9BoEmyTfvLDm8TxC3d4faxX42yxhqHW74ziCx8Q/2eq/d4eAyolMby bWn4wW/AAgWBAoA1u1yV/bJw2uavLfkX8xNZBd4kPU2tqARgu6XQVKNfupOqlMNq92GJ IFBPez6oAnrQz7VMaG+BuTGmNsNMkdpKv+FrsxQbPHfdTuX1kbHHsPyoR8TSe5PvVRte Oi0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693479126; x=1694083926; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yp4Hz1LfhiK/713FufbV/nqUZErwSC5uRwDZmBO0e58=; b=Rr+yoOpqhXfCg2woM9PlvHtiPw7qbnAJ7hPR1XSPeAv32EqUtdBzMbQr8kveeBExFL s3Krdjg/9yreTMJ4oAL5qhr16Rw5cvypWkZfc9oKhumGkOQCFKSBeKNtEbrDE8MFhoda pvapxQKBgMMqcjMOKYrg3DDC7uKfJEcWyCpoXDY8CyGv1O/pzjvH4PwbmXTuPKRDPNuB sMd4T/s9hxW16n7a8FU7hZKTl+xj+63sodRAXIC0+rukYvLTu1cKTNE2k8VOXZUn4piL jC0oDGmmkU+p83T4RO7ZvBGxAwDpR6Pha5sUObIDHhqY2dM9PVY14wnTpcnRQDW0B2C+ jKgA== X-Gm-Message-State: AOJu0YxcJcxhfLxNuQeYTlG9Md9DdovkHLjX8n9nbvfTBJEKgrDj/hWD CXviyPXlJV2eP+JUOnv1xan8fMbrDco= X-Google-Smtp-Source: AGHT+IG26IsPGMNIBfajXlrJ7F6sxSLGUCRMgzVssYvh133rqbZOjBQSdQV7iqRK4SmNY9obCwZGRQ== X-Received: by 2002:a05:6870:469f:b0:1d0:d9e2:985f with SMTP id a31-20020a056870469f00b001d0d9e2985fmr4979957oap.57.1693479126299; Thu, 31 Aug 2023 03:52:06 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id t23-20020a9d7757000000b006b83a36c08bsm559816otl.53.2023.08.31.03.52.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Aug 2023 03:52:04 -0700 (PDT) Message-ID: <9817b419-be35-45d9-4512-f5ad39fdd007@gmail.com> Date: Thu, 31 Aug 2023 07:52:01 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: bug-gnu-emacs@gnu.org From: Mauro Aranda Subject: 30.0.50; Minor oversights in integer->natnum :type change Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4860:4864:20::2a; envelope-from=maurooaranda@gmail.com; helo=mail-oa1-x2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The type of the following two options was changed from integer to natnum: blink-cursor-blinks and url-max-redirections as part of this commit: commit 9d866a1f8da870dcf82f87d5ed9d5ca932d5477b Author: Stefan Kangas Date:   Tue Jul 5 16:26:45 2022 +0200     Make some defcustom types more restrictive But the docstring of blink-cursor-blinks says: "Use 0 or negative value to blink forever." Now a negative value can't be used, so it would be good to adapt the docstring, at least. And the docstring of url-max-redirections says: "A negative number means to honor an unlimited number of redirection requests." I suggest to change its type back to integer. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 16:20:44 2023 Received: (at 65655-done) by debbugs.gnu.org; 1 Sep 2023 20:20:44 +0000 Received: from localhost ([127.0.0.1]:34113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcAdE-0007kR-P4 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 16:20:44 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:56803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcAdC-0007kD-RG for 65655-done@debbugs.gnu.org; Fri, 01 Sep 2023 16:20:39 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50098cc8967so4008694e87.1 for <65655-done@debbugs.gnu.org>; Fri, 01 Sep 2023 13:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693599623; x=1694204423; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BBuEZQbetDDZXRBwXTp/oB0fmfHsMVjWe5PtBH4LhYY=; b=fU5VvFoDcGdw60ohX793x/rB5mtBUCh23eipXyqoX8h+Rbi0dwWwRgiCc9l3alanea 1tjSuMpsN2zJBi79+bY9yFEUooSbzRrw+MzFmMFowt3atCjSCSmDT63Fsc2bOkM2tedl UC0lFFYQnA1bfuWx5CCvBdr/G9tlqNlMK86gmfA6Gokg/APRiDiAIFyLBb8MSJQlAy32 jRww4zDUxJbFiYxADJ5v2La6ic0+9IqZ/TWPSWkmYmuLT2IZ6bUPWoF5WpYrc6yn6zZt DTDbZHgK+MffG46XdcyvaQcGKKqY6tJ0jgeU/9GwaonffEZ4e5lmWpd86o01CGPMJFwW cpCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693599623; x=1694204423; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BBuEZQbetDDZXRBwXTp/oB0fmfHsMVjWe5PtBH4LhYY=; b=RSXRAe7Pr2rb7CnZsNxK6Tl3nYbRGRQD3fd9/PnNQWhwP+wJni79Gu90b27PdjFAFv 89hJ+bVXKeIRUItzLugg//G7hj7YnQfennFh4ooF5T2ughIzN43BB60Ng7b8F7A7Btxa kirbIIamTdHe07Ul4lFcdmiko/H5nV070GmhSNbJwaTNMzCgxH/LdVHEABHvwW0Qi4qV 48WW5eIbuVq2xowraW0v5tq8U7/qYrLdRpKHUrXscFUPusY9QvFN4KlPKAuprrkYR3FT H451LqHgDv8Bpd/Ju+6TgdvIpFG5naI2ZPs+bLRpcCw+MGk3tkfHMuPdI+TQs9jILdOd yrAA== X-Gm-Message-State: AOJu0Yz/FaxjtOKzGBy7Qqj5cUCjPFgK+LRXdbWKEkYLJAZzPGk1MSjB xYZs3X/NMnyBel4F47fMOqsWeb6MGfXjvzs0s8SCilEPlSGEcw== X-Google-Smtp-Source: AGHT+IHapVWI7aZFuLPzA/Fw5xm8+84VTbN9ae99NcwOwp+C1ZHO+TTWoJgk9l5Vf8PaJ13jT6a1yulGeL1Ju2zDhN4= X-Received: by 2002:a19:4f0e:0:b0:4fe:2d93:2b50 with SMTP id d14-20020a194f0e000000b004fe2d932b50mr2142208lfb.31.1693599623310; Fri, 01 Sep 2023 13:20:23 -0700 (PDT) MIME-Version: 1.0 References: <9817b419-be35-45d9-4512-f5ad39fdd007@gmail.com> In-Reply-To: <9817b419-be35-45d9-4512-f5ad39fdd007@gmail.com> From: Stefan Kangas Date: Fri, 1 Sep 2023 22:20:12 +0200 Message-ID: Subject: Re: bug#65655: 30.0.50; Minor oversights in integer->natnum :type change To: Mauro Aranda Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65655-done Cc: 65655-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Version: 29.2 Mauro Aranda writes: > But the docstring of blink-cursor-blinks says: > "Use 0 or negative value to blink forever." > Now a negative value can't be used, so it would be good to adapt the > docstring, at least. > > And the docstring of url-max-redirections says: > "A negative number means to honor an unlimited number of redirection > requests." > I suggest to change its type back to integer. Thanks for spotting these issues. Fixed on emacs-29 in commit 60dcea7658a. From unknown Fri Aug 15 12:53:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Sep 2023 11:24:21 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator