From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#63290: 30.0.50; Customize UI shows extra fields for (choice (const ...) (alist ...)) Date: Sun, 16 Jul 2023 22:37:21 -0400 Message-ID: References: <136334d9-262d-e290-cff3-159c2f827b87@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5106"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63290@debbugs.gnu.org To: Mauro Aranda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 17 04:38:17 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 1qLE7r-00015U-CW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jul 2023 04: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 1qLE7g-0001uw-7W; Sun, 16 Jul 2023 22:38:04 -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 1qLE7e-0001ud-MT for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 22:38:02 -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 1qLE7e-0003WR-EZ for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 22:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLE7e-0004e0-1u for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 22:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2023 02:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63290 X-GNU-PR-Package: emacs Original-Received: via spool by 63290-submit@debbugs.gnu.org id=B63290.168956145117814 (code B ref 63290); Mon, 17 Jul 2023 02:38:02 +0000 Original-Received: (at 63290) by debbugs.gnu.org; 17 Jul 2023 02:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:48782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLE79-0004dG-Ei for submit@debbugs.gnu.org; Sun, 16 Jul 2023 22:37:31 -0400 Original-Received: from mail.fitzsim.org ([69.165.165.189]:54288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLE77-0004d2-47 for 63290@debbugs.gnu.org; Sun, 16 Jul 2023 22:37:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=98Vwow1CfXuK6MUk8JyNgAN8qubgZY2jH7YsoVOjuKk=; b=c0kcMbqbZjaa7phKkm8lrhPt7h hRYtwCIfyCKmDbMKwVFePOmLeBQLWP1+OtQrMil00VIodlXRc9c4v0NPWn/iI/m/bo3XeUSRuji42 CvaNI6ZDtDlZ6CENgUyQxsDbhFxJrT0nm9lfgYJW66o5WttGAhjIHc0cRwX95X2pCppT8qX2BoJsh DkWEmCCqwiyLL+iP+Hb3bbfgCitukKGcmQSjLTZEtlBOvNOlmO1lreErSdhWn+39DnEvhxenMFai0 jspcVK1aeTSJVA3yxPdb6ga1eDfBAS8QtWivRb2lwC0CGhD1uv0ZI8r5kXkfDkFW+/rGI1gTOCTzb B9YGbYzA==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qLE70-0012rV-NU; Sun, 16 Jul 2023 22:37:22 -0400 In-Reply-To: <136334d9-262d-e290-cff3-159c2f827b87@gmail.com> (Mauro Aranda's message of "Sun, 16 Jul 2023 10:15:26 -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:265369 Archived-At: Mauro Aranda writes: > Thomas Fitzsimmons writes: [...] >> It seems like after a const is shown, Customize considers the >> variable "edited". I don't know why it is adding those extra >> INS/DEL key/value UI boxes though. > > The code currently ignores the value if it's present but > nil. That's not good, obviously. But it might be tricky to fix > it because other widgets depend on the code ignoring it... > > I think it might be good to have a different property specify a > default value (defaulting to :value upon creation, if not > provided), and let :value be treated as of today, like the > current value holder. OK, thanks for taking a look; let me know if you want me to try a patch. Sounds like a good way of maintaining backward compatibility with respect to other widgets. Or you can test it against excorporate-configuration in GNU ELPA; just search for the FIXME that mentions this bug report. Thanks, Thomas