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: Fri, 13 Sep 2024 15:26:59 -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="000000000000b4167c0622053564" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , Eli Zaretskii , 73098@debbugs.gnu.org, Stefan Kangas To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 13 21:29:04 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 1spBya-0005Ag-54 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Sep 2024 21:29:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spByQ-0002UY-U8; Fri, 13 Sep 2024 15:28:54 -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 1spByO-0002UK-Sl for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 15:28:53 -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 1spByO-0002aF-KJ for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 15:28:52 -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=p765CrWEMYZguupPBcpGn0qRWQZT+X9+GnOxoPBBcg4=; b=SpIo4QOb3zblaA+/UtK9rts0MZg8jyvqdS9djde5KM+6wx0JpLX8iVcSf6upE+eqkmLAqeFtaVJAXFdbDVoRdteNg/ntOJlCmKVwcIONqJmzVKMgi7TnWqEUkXyfi1WeIHHWa3WBSZNFDqDmVurkAVnMaZ9kX8lMnHbKaIFP07sT23vBaWwFtD31gZTCYeAqViiO63YZVyipRF+3IrLVZNSF84mqHiBXuek35yBa9+uvvJzXq8NVrDHG/yyUHjYwZkdTBU9sfEpikWM6NtSrkaiwtkcmVjLm+VBInicdcIk4l4kuBCE/X4OGIc6hRylYWZP/F736WARnPDHAk2bKHw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spByX-0003X1-V5 for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2024 15:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2024 19:29: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.172625570913522 (code B ref 73098); Fri, 13 Sep 2024 19:29:01 +0000 Original-Received: (at 73098) by debbugs.gnu.org; 13 Sep 2024 19:28:29 +0000 Original-Received: from localhost ([127.0.0.1]:44289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spBy0-0003W1-Te for submit@debbugs.gnu.org; Fri, 13 Sep 2024 15:28:29 -0400 Original-Received: from mail-vk1-f169.google.com ([209.85.221.169]:44432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spBxy-0003Vk-O4 for 73098@debbugs.gnu.org; Fri, 13 Sep 2024 15:28:27 -0400 Original-Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-5010c0e16baso729450e0c.1 for <73098@debbugs.gnu.org>; Fri, 13 Sep 2024 12:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726255631; x=1726860431; 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=p765CrWEMYZguupPBcpGn0qRWQZT+X9+GnOxoPBBcg4=; b=FAXHFg8LAG/YyR32feIn9l2zgLwHiCaPsThuTpo5+YBAxWR1kNuz7gZZs994P0rGB5 uiPrtoD1DwONhS2PaOnmDHQo2ZAKn3hA5rmp15R0YkQgjeQm08WYr+0byTeb/6TTo26Y Bew565rf+BBSg00WCYFZdzDv/aknimMWfBhHxlRvyz8VHuEpuJ25neUixOM6958RMyQg itiXYnUtrBrVCg3+/JMB6UB3vFbE1r0yMmBsKjF+i23XBbu6quVVkfZQC/C32wDKKyuX BmwjtaDKTFv+tBydDfRk90OKH0P3ngsdV+/EAljtvpb04oD8whIxx0Y2HUih5a+Kb3C6 SOJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726255631; x=1726860431; 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=p765CrWEMYZguupPBcpGn0qRWQZT+X9+GnOxoPBBcg4=; b=MSg52KTwDHT2okfXKDpKdCmo9k9IK+t1HVYHHmpnJ/QuUKCsRPwPVC+Saffe8xJZj8 82bQuTXXDCDXFq65RPtxks7wcfoTgPgUXZl7qui5TdAGgIs4UHaIVNXcRxObBMdYcWKn Buj+M6AioopwS4vP5RSZD/CCWd01T/HNe9jp1rnJhUUYp/3jH7AxFjvLapVz74zTj5Z8 k2JKV+I96GcUzmGv8w8fzb0GNIqpNyr0hpSSG1KoYynwxT794ZGkQTdGyxUyov66Juyb 3peNAY16h7G92QaKR4hAkaWTTQ+pnCE6FD57zNztoVZdjnL6ceBWQybfrSs6sbZ8iFDd i1nA== X-Forwarded-Encrypted: i=1; AJvYcCVjkGze2ltlcIHWskioixpi+i6DTHRuE+yYzcNKmzrlASljebYdUjLoUeaMl/2y+tO+nyByCw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw3GSnM4F2lQgvB1rlhSwx2Wsu+3u4aI9M+MBJrsl9KEZtTjAcy VuFWXVxFLTT/nxerxuvaXQssPi3pIQAmP6Qc3AzuLV/32eB9xeqrunbwlP7EgLaYN45FvYA180A vO6eO55OX5sgs6IpK0Lm8lK4mq1k= X-Google-Smtp-Source: AGHT+IHMp3DdmbGFVbH+uUYDNNdYX2USKOJU+vsUI7660cQl7WSSgzjC2Y8MRaehFfBk9kGlymafyGz7cb+EbHDATko= X-Received: by 2002:a05:6122:2028:b0:502:af87:1a91 with SMTP id 71dfb90a1353d-5032d4d6539mr8020374e0c.10.1726255631437; Fri, 13 Sep 2024 12:27:11 -0700 (PDT) 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:291672 Archived-At: --000000000000b4167c0622053564 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It was removed in a later proposed edit. I read the setopt code more deeply and ran some tests. On Fri, Sep 13, 2024 at 3:09=E2=80=AFPM Stefan Monnier wrote: > > If you encounter a discrepancy that cannot be addressed by amending > > the type specified by a setopt call, and you can deem the desired > > type compatible nonetheless, use setq. If the user option has an > > associated \"setter\" you may invoke it manually using ???" > > You're here trying to describe workarounds to use in case of bugs > (either the value you set is wrong, or the type (or type-checker) is > wrong). We usually don't do that in docstrings. > > > Stefan > > --000000000000b4167c0622053564 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It was removed in a later proposed edit. I read the setopt code more dee= ply and ran some tests.

On Fri, Sep 13, 2024 at 3:09=E2=80=AFPM Stefa= n Monnier <monnier@iro.umont= real.ca> wrote:
> If you encounter a discrepancy that cannot be addressed by amen= ding
> the type specified by a setopt call, and you can deem the desired
> type compatible nonetheless, use setq. If the user option has an
> associated \"setter\" you may invoke it manually using ???&q= uot;

You're here trying to describe workarounds to use in case of bugs
(either the value you set is wrong, or the type (or type-checker) is
wrong).=C2=A0 We usually don't do that in docstrings.


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan

--000000000000b4167c0622053564--