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#73098: setopt float warning unexpected Date: Wed, 11 Sep 2024 18:53:29 -0400 Message-ID: References: <86r09uwuf3.fsf@gnu.org> <86ikv6wgfo.fsf@gnu.org> <877cbk50b7.fsf@web.de> <86tteovoc8.fsf@gnu.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="5994"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , 73098@debbugs.gnu.org, shipmints@gmail.com To: Stefan Monnier , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 12 00:55:40 2024 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 1soWFP-0001Qs-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Sep 2024 00:55:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soWF3-0008BK-PZ; Wed, 11 Sep 2024 18:55:18 -0400 Original-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 1soWEs-00081X-Fs for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 18:55:09 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soWEh-0000IC-S9 for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 18:55:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=tZt5ws7EV2nqR6PTRDGdB5MFr3FaeXcF+38t5TC/epE=; b=hryyMULQQM8I3AiuMHWHw3HCVaelVd3Uc6a6ABb1bTLM0Jr6Upnb3lmbeBRkuP055pifyG1EdcIaRnlwElwUGl2xsyG4pdbswbOsSTtlXbDZIxnPiAXbqazoAFHXJOm7d2BGhWgMN/azhpHD0rWEk+U6MrjrlTdPpv92Pgae7EYRpgAp7CFFpIcb0TSjFXRl7Pp1TX7pWMEsEIvWMTlGI57iZ3n+uLy/AK6EUEwtsvLDhU3T3PWBAdfAhYcY/k+vld8/TN02l5aKDS/EvLCOOOlSJKuPknWcIVzDQaslN74FxjVJFKfwGbHAakmb9eCvIedkvZVnxkGslarwtffvLQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soWEn-0006VL-M8 for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 18:55: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, 11 Sep 2024 22:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73098 X-GNU-PR-Package: emacs Original-Received: via spool by 73098-submit@debbugs.gnu.org id=B73098.172609528624970 (code B ref 73098); Wed, 11 Sep 2024 22:55:01 +0000 Original-Received: (at 73098) by debbugs.gnu.org; 11 Sep 2024 22:54:46 +0000 Original-Received: from localhost ([127.0.0.1]:39715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soWEX-0006Ue-UB for submit@debbugs.gnu.org; Wed, 11 Sep 2024 18:54:46 -0400 Original-Received: from mail-ed1-f53.google.com ([209.85.208.53]:45135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soWEV-0006UR-5x for 73098@debbugs.gnu.org; Wed, 11 Sep 2024 18:54:44 -0400 Original-Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5bef295a429so330269a12.2 for <73098@debbugs.gnu.org>; Wed, 11 Sep 2024 15:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726095210; x=1726700010; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=tZt5ws7EV2nqR6PTRDGdB5MFr3FaeXcF+38t5TC/epE=; b=hJYB/yY9MaQI8PPJHcBYLoBGx8gKgK5ro6i4MiMg1oqJlk+/VLkAE+kqIb28rlgb8I Ca8gq4SOu2TOqP3xq6obJP3RqoqxMmL1d9ct8oYYw3BvWsxkvCNLU/yE9eb85+2xOhQS sVI5uFeznd21cHrIGpwlz22kYNNXuClpwqV1d1bYr5GMJzxmi++XcG/f5jWa0iF/ZpUV zbdHiffzTo3BH1to+dv0QauvUcOjxackCkvjkedC7HiKblhHyZLrl2ss4dgS7CZwhrgO VnRLofzcTlxQ8gSLsGLbZeAnlmcNsgFM/SGp+e3XcQ+9OrWjyJ3J7h7DqxTwM5NOSsyY fMAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726095210; x=1726700010; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tZt5ws7EV2nqR6PTRDGdB5MFr3FaeXcF+38t5TC/epE=; b=lW42RQYxd5tqW4lPzuv1+3RqOPOwJuIsM16oe1CNWqCQfzpFu7vePVbE9fckoOL8wh ucShIG1MqlfJKEXCijGZdt7Ef6a/Sp8JuI16VnqDOc2fgGPlBCR3wrRnDHnr+6AC8n2u G3eFjMfnwtIOkXxt8Vb8teWLKrViUAcLq41Tuj8Htzqj2ZEkPFEtb5A4TdZgz5pV6j8z i9QJBJe5M0lXFDVLOm7ma79aZpJfVR6xgmw0A1V+AlI+aOY+yjNNsE8sMHWzx8GlCjZw i5KFAWxf7tKJWegBrpCK1oQUnD1eTmatjGgaTVBJaF3QgnKEk5e7Arte57rY9Y4afoNX 2TNQ== X-Forwarded-Encrypted: i=1; AJvYcCUkjgMyaAKV7q80sDPJz1G3OfYBUM+NWMwV+yJXdVGRFWVuFyc0DjOJXxCieIlsrC3zv9JX+g==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwJF1v4b+vcESKdISrRi+p2wflz0PBJ6Oy4JxuSxKBJANy4kGcH NaGJ7/6KJDP+5CNy01kjcuM+aZIyamHS6/hiKXPjc/WpCKb2zh0oKys28rUSX9x4Ff64s+ZW6dn TSc45O6DMhQwWI45JtHFQ0w+4xzA= X-Google-Smtp-Source: AGHT+IGVwfnO2b1xElJbxEQ1vTjqL8ul2kEcLgFJGj3m+AXTfz5eLMvLvvmUvDIuvScfpGMIkvFbRCGGqosK5ZnkHLw= X-Received: by 2002:a05:6402:34c4:b0:5c2:6bf7:8531 with SMTP id 4fb4d7f45d1cf-5c413e51dfdmr612792a12.33.1726095210246; Wed, 11 Sep 2024 15:53:30 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 11 Sep 2024 18:53:29 -0400 In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291615 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > I tend to agree. If the type doesn't accept the value, you can use > something lower-level than `setopt`, while you argue with the maintainer > to try and get them to change their type. > > IMO, the whole point of `setopt` is to check the value against the type. +1