From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#59937: 28.2; Bad defcustom behavior Date: Mon, 17 Jul 2023 13:21:34 -0300 Message-ID: References: <533dba58-e543-f356-664f-5dfa0b85467c@gmail.com> <5a25029e-f20b-4c17-2bba-0b4bf7510a69@gmail.com> <48440e7d-1c21-fd75-6ebb-c3dbff2f6038@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6681"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: "59937@debbugs.gnu.org" <59937@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 17 18:22:34 2023 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 1qLQza-0001QF-99 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jul 2023 18:22:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLQzN-0003Sh-Nb; Mon, 17 Jul 2023 12:22:23 -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 1qLQz6-00030D-AQ for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 12:22:07 -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 1qLQz4-0008Pk-D2 for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 12:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLQz4-0001fj-8T for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2023 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59937 X-GNU-PR-Package: emacs Original-Received: via spool by 59937-submit@debbugs.gnu.org id=B59937.16896109096404 (code B ref 59937); Mon, 17 Jul 2023 16:22:02 +0000 Original-Received: (at 59937) by debbugs.gnu.org; 17 Jul 2023 16:21:49 +0000 Original-Received: from localhost ([127.0.0.1]:50818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLQyr-0001fE-E9 for submit@debbugs.gnu.org; Mon, 17 Jul 2023 12:21:49 -0400 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:58442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLQyn-0001ez-4u for 59937@debbugs.gnu.org; Mon, 17 Jul 2023 12:21:47 -0400 Original-Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3a46da5cd6dso100801b6e.0 for <59937@debbugs.gnu.org>; Mon, 17 Jul 2023 09:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689610898; x=1692202898; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8+zXbQvu8GvT4st2bx2p7Fu7RdStyyhEL7E98/S6EDY=; b=TOjDhOGCBa1YvLn9ijbcdjkLR4DY/KGDIhNVT86MlsnZFrF5BONoM34z33tcg1tKZ0 TNEU+24J/5Dh1IuFVjy3Oi60uGmKPrMqIqZ38V4UeSMirAocyjBw+ZLkCmNiYxX6pfW5 8Lg+DicIPuJJG09/ynm2l7YxEHwIpN1kGYt0yFNpgWNIyDdReSBdv+F/4ZA9ceM1EeiR +dM2YMhvLZrW0saeYaWjPu9Zh1Y5I+yOyggHSYd+yAHDtElQFGC6ue+KwTEAYOaH5pDf dMRrPWP4HfViQewQt8YQDF1NcNEnsECyULLSG5eQLHsOTs1fy9ia6LB+Jy53qhfdlJVt JUCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689610898; x=1692202898; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8+zXbQvu8GvT4st2bx2p7Fu7RdStyyhEL7E98/S6EDY=; b=DniM3VTaqwju57+IHUkahcqJXk7hVHSivOQCiZ+/YJi+J78mentWduVjVhHSu4QF43 FOyUM+bruTMwXoEZENYV6N9jyT/5qVgASfnNsQBb9B6elrNgmtdXw+GR21HS86MHhpaQ 5PVPWnlRP6F6piVQf9XWEn9JZENDHYg6e92afJGCOxhsZ2mTQOFM9zubdRueDoZBRZbt VvoCDSWY+sZCh/QElf/z9YTWMIfi1pwzRfUAvCSI4K6VnohJpA3k4jUhN3SEtFDC49et 8CyImjzK2Rg52yu2HbOtV/ozqtzqZpMKSc/zHMGkbbVGEiwOIXRp2jIP5qwOoABupP3W /MVw== X-Gm-Message-State: ABy/qLZfUSdg02c1qtahC2CPfQbk5s0eLOZF1G6NZjix3wRZ/fjBD0zZ vn4o16j9DkU0jcVyY32prro= X-Google-Smtp-Source: APBJJlG/U5ySka5ls/ovVXu/GATRH5p+Jmi7d+v2WN+jWdrTxLQxL3fLUFipEp3pWZXNK8ckxdz1UQ== X-Received: by 2002:a05:6808:3081:b0:3a3:95cb:bf2c with SMTP id bl1-20020a056808308100b003a395cbbf2cmr15436445oib.4.1689610898446; Mon, 17 Jul 2023 09:21:38 -0700 (PDT) Original-Received: from [192.168.0.234] ([186.127.128.249]) by smtp.gmail.com with ESMTPSA id bc28-20020a056808171c00b003a1f359ba4esm6970638oib.14.2023.07.17.09.21.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jul 2023 09:21:37 -0700 (PDT) Content-Language: en-US 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:265402 Archived-At: Drew Adams writes: >> As I said in >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59937*26 >> I was looking for a way to: >> 1. Being able to create the restricted-sexp widget, even if the default >> value for it isn't valid. >> 2. Being able to do it without prompting the user. >> >> That's what the attached patch does.  AFAIU, we both agreed that that >> approach was a good enough fix for this bug, so that the behavior of >> certain defcustoms is less confusing.  We didn't really agree back then >> about the warning, and I'm guessing that we still disagree on that, so I >> didn't change anything about the warning. > > Thanks, Mauro.  I don't have the time now to > check the result, but I have no problem at all > with whatever fix you implemented.  If later > (probably much later) I find something I think > could be improved more in this regard, I'll > file a new enhancement/bug request. > > Thx! Ok, thank you.  I'll wait for a few days in case someone wants to chime in, and then I'll install the fix if there are no objections.