From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#73098: setopt float warning unexpected Date: Mon, 9 Sep 2024 11:35:39 -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: multipart/alternative; boundary="000000000000f8cb070621b18206" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , 73098@debbugs.gnu.org, Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 09 17:38:17 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 1sngT2-0001Kj-5R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Sep 2024 17:38:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sngSm-00040G-Mu; Mon, 09 Sep 2024 11:38:00 -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 1sngSl-000405-78 for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 11:37:59 -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 1sngSk-0003Q0-UE for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 11:37:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=jvKZgz9d1PYrBCZjR5x51VH3IPmORKF02/XVdyxFhTs=; b=vnLWAJ2vsP0lhIQSPq27qzBhrS4KgHClNF+83yg6LnvwIQ/JTQh+VeEgoIdrch3sApx2AcUdKatW71JO++yjvj85lFvlOMm+ZRcsHSMWZbrr59wLvE/GDRSBPbwcMEsAetax50IKE6HBMq8f83JJqPlN1fxVtJYx1intPmB/12vsT8cZ5I/yAK1IYY//9MDtdxB/LDnPXO/6529eQ6Fl5gD8yAdQCha3p60jWUpIMs8QOYQVvqEoXWayYWDrR7Ucud7sCnHqwVwbpe0srpfCuiH8VsYd/+hIrvCTpNYwkSm+efaJGWS7xTfyKPXOzKgnO/M2BE/gxur9gpilS9ELbg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sngSo-0004nw-9d for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2024 15:38:02 +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.172589622218385 (code B ref 73098); Mon, 09 Sep 2024 15:38:02 +0000 Original-Received: (at 73098) by debbugs.gnu.org; 9 Sep 2024 15:37:02 +0000 Original-Received: from localhost ([127.0.0.1]:33921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sngRq-0004mT-9R for submit@debbugs.gnu.org; Mon, 09 Sep 2024 11:37:02 -0400 Original-Received: from mail-ua1-f46.google.com ([209.85.222.46]:43489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sngRo-0004lx-7k for 73098@debbugs.gnu.org; Mon, 09 Sep 2024 11:37:00 -0400 Original-Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-846c452898cso2875843241.1 for <73098@debbugs.gnu.org>; Mon, 09 Sep 2024 08:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725896151; x=1726500951; 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=jvKZgz9d1PYrBCZjR5x51VH3IPmORKF02/XVdyxFhTs=; b=HlMWtyf79wk+aGUnBNjDy5kXSfJV2k0nIuLG/3q8XOlftFWXiJJ7fRjG7XXbhC8A3u hMbAH0eOZZpopXS+ANyxo1GZGWXTM4JZgnzVW6ZLBuQaFin21+f3V7pJV+4CyiLvYNt/ w8JLA7jfCuV1oNn18EvnCRbp9Vrahjh1XPkzDsz+lmxErWSnaYRehH2xWSD74J3xBOGQ PQLX1rGckIbDyQJHdfOaOx0V2OqKoKmXYbXRH5tQE15QhHDhgbGCLc4eWl6SCDQofvfP HNkgglQCPf4CQ6N5hJXQoiQT2yK10epoYOqNFvrXRGGUKLiaFKzm7h087212t7FxTx/z FFqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725896151; x=1726500951; 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=jvKZgz9d1PYrBCZjR5x51VH3IPmORKF02/XVdyxFhTs=; b=REgC2HO+ahs9f2i2lYLmTiiaqSl4NmJMWJkZQdDrDJM5O+SciauDfBTuZjRm8jlWqP YTzteNrjxW7xbOmHOpsTVvfIxsXSEKvjr3XR2gESNJQO8nsU4kj8ZfwubHYtBQ2rHQHW D9iaSG5GmWBT7mfGFAxVQ5uF4RtQwO6nVXzBhZ2HMHL0/oXwO7FhPyA6Vs8Qq2+hjyCM Oy1HFcnBmdpL7McotPZ8xPg1Ko22dYFxEEyea7H7hjYlrEJHb6MF7PolD6xrGZ/0IvGL ekwy0bEx8VHY2zZb/tB4hYURj23Od8fApOVokJKy3s56rG/2BUUXvxkiNglDEHQCsMZM zgvQ== X-Forwarded-Encrypted: i=1; AJvYcCUc+E62mcqe0QTtDMrghuP5I+wsmZSfYBnbmTXYsl+prNPomrlZJwfwZ5fHb0aSOPD6wp4hQA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwYNnCm5/wBukrg6FOZLNrGANcGNJAinf0EsubHASTJsW9PJZqy pIR3tg/Py+lTfbTIKz6s2SLbRKifMivsgnO9alTHLHbjHm2DEu5uWlmHxrFnPuRICvotgLmro7V Eic8wolvPdBYkGxC36lAsXurGmaA= X-Google-Smtp-Source: AGHT+IFizyf7YoElBvi++9WPHkmt6DYlwaRgHALu8QAIdCBjNEk0HTjZNpYhDf9irvBsT/xKz3ES+Ey9JT3wpXDp1Js= X-Received: by 2002:a05:6102:161e:b0:49b:d489:d467 with SMTP id ada2fe7eead31-49c15a1091bmr42417137.8.1725896150531; Mon, 09 Sep 2024 08:35:50 -0700 (PDT) In-Reply-To: <86tteovoc8.fsf@gnu.org> 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:291512 Archived-At: --000000000000f8cb070621b18206 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Perhaps an alternative macro `setopt-relaxed"? Documentation should suggest contacting package authors to request improvements (it's a very slow process to get misspecified packages updated and not all authors mean what they say when they themselves don't use the customize system--this group must know this all too well). On Mon, Sep 9, 2024 at 11:28=E2=80=AFAM Eli Zaretskii wrote: > > From: Michael Heerdegen > > Cc: Eli Zaretskii , 73098@debbugs.gnu.org > > Date: Mon, 09 Sep 2024 17:11:40 +0200 > > > > Ship Mints writes: > > > > > I'm suggesting that there will be noise from people who convert from = a > > > working (setq some-package-option 2) to (setopt some-package-option > > > 2). This is not a request to change the elisp type system, it is a > > > request to consider if setopt's / customize internals should be > > > relaxed to the equivalent of #'=3D for these simple cases. > > > > How about adding an option letting the user disable the type checking o= f > > some options? > > Like what? Would we accept, for example, a string where the type is > 'symbol'? Or any value where type is 'boolean'? > > And I'm also not sure we want this: presumably, if the defcustom's > author specified a type, they meant it, no? > > Which is why I asked for opinions (but for now got only yours). > > Stefan, WDYT? > --000000000000f8cb070621b18206 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Perhaps an alternative macro `setopt-relaxe= d"? Documentation should suggest contacting package authors to request= improvements (it's a very slow process to get misspecified packages up= dated and not all authors mean what they say when they themselves don't= use the customize system--this group must know this all too well).

On Mon, Sep 9, 2024 at 11:28=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Michael Heerdegen <michael_heerdegen@we= b.de>
> Cc: Eli Zaretskii <eliz@gnu.org>,=C2=A0 73098@debbugs.gnu.org
> Date: Mon, 09 Sep 2024 17:11:40 +0200
>
> Ship Mints <shipmints@gmail.com> writes:
>
> > I'm suggesting that there will be noise from people who conve= rt from a
> > working (setq some-package-option 2) to (setopt some-package-opti= on
> > 2). This is not a request to change the elisp type system, it is = a
> > request to consider if setopt's / customize internals should = be
> > relaxed to the equivalent of #'=3D for these simple cases. >
> How about adding an option letting the user disable the type checking = of
> some options?

Like what?=C2=A0 Would we accept, for example, a string where the type is 'symbol'?=C2=A0 Or any value where type is 'boolean'?

And I'm also not sure we want this: presumably, if the defcustom's<= br> author specified a type, they meant it, no?

Which is why I asked for opinions (but for now got only yours).

Stefan, WDYT?
--000000000000f8cb070621b18206--