From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59937: 28.2; Bad defcustom behavior Date: Sat, 22 Jul 2023 15:56:37 +0300 Message-ID: <83lef885q2.fsf@gnu.org> 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 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10627"; mail-complaints-to="usenet@ciao.gmane.io" Cc: drew.adams@oracle.com, 59937-done@debbugs.gnu.org To: Mauro Aranda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 22 14:57: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 1qNCAw-0002cF-6k for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jul 2023 14:57:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNCAT-0006Nb-GA; Sat, 22 Jul 2023 08:57:05 -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 1qNCAR-0006N7-QO for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 08:57:03 -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 1qNCAR-0004nL-Ia for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 08:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNCAQ-0005lo-Ng for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 08:57:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jul 2023 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59937 X-GNU-PR-Package: emacs Mail-Followup-To: 59937@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 59937-done@debbugs.gnu.org id=D59937.169003056922107 (code D ref 59937); Sat, 22 Jul 2023 12:57:02 +0000 Original-Received: (at 59937-done) by debbugs.gnu.org; 22 Jul 2023 12:56:09 +0000 Original-Received: from localhost ([127.0.0.1]:35616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNC9Z-0005kV-0V for submit@debbugs.gnu.org; Sat, 22 Jul 2023 08:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNC9X-0005k8-6i for 59937-done@debbugs.gnu.org; Sat, 22 Jul 2023 08:56:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNC9P-00046y-Uw; Sat, 22 Jul 2023 08:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OR9wcjYXwGoAQ4NNv0hfoU7ru1fYYRgxksj3YYc7CNc=; b=T0n0Q0p0P6d9id/KhbET ya5aWR+tjnheDgV6rKfc8xgAtqssO1Bde+sGqtK5DFyFAsLegzdWWxxzGxBbGJWstpc/rfGbvmBWU ceVD3qXNUR0haoEjBxp04YSY+QzTWuN0bmsYiCV9EgiEm3P83Q33X1jBFG9t9ieqzs6gSuj5r73sd +7f0hXED+QmmNaWtQZ9Rz7ZFogRQUpaNyi2+hvHMNiqQglg6qpYDj2qAIbKrpYmfDUmYlIyZ8BaS0 XknNNi8pJN0FqnGFdxOw1ftg4gMk70LrmLp6gFeOoj0dNUBoFprsfkI9Yui2VVcYD2NHfbRcUE1As Q8tb3lIKUoaGrg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNC9O-00038g-Mx; Sat, 22 Jul 2023 08:55:59 -0400 In-Reply-To: <48440e7d-1c21-fd75-6ebb-c3dbff2f6038@gmail.com> (message from Mauro Aranda on Sun, 16 Jul 2023 20:00:40 -0300) 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:265806 Archived-At: > Cc: Drew Adams > Date: Sun, 16 Jul 2023 20:00:40 -0300 > From: Mauro Aranda > > I'm sorry it took me so long to actually take a look at this.  I had to > reread the conversation to put myself back into topic. > > 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, installed on the master branch, and closing the bug.