From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69941: 30.0.50; Faulty fontification of radio button widgets Date: Thu, 18 Apr 2024 15:38:33 +0200 Message-ID: <875xwehjty.fsf@gmx.net> References: <87h6gynx49.fsf@rub.de> <865xxe1dwd.fsf@gnu.org> <51c20b56-4b82-4f5c-9559-cdbd0146df22@gmail.com> <87wmprqxj3.fsf@gmx.net> <8734s5w1mf.fsf@gmx.net> <941f6565-203b-47bf-82a9-2bb7b0788b6a@gmail.com> <86h6fyewgq.fsf@gnu.org> Reply-To: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69941@debbugs.gnu.org, Mauro Aranda , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 15:41:34 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 1rxS16-0008Zp-Nd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 15:41:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxS0d-0007cE-Bs; Thu, 18 Apr 2024 09:41:03 -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 1rxS0a-0007bf-0j for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 09:41:00 -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 1rxS0Z-0002WP-M5 for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 09:40:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxS0m-0000eH-9V for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 09:41:12 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Apr 2024 13:41:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69941 X-GNU-PR-Package: emacs Original-Received: via spool by 69941-submit@debbugs.gnu.org id=B69941.17134476231730 (code B ref 69941); Thu, 18 Apr 2024 13:41:11 +0000 Original-Received: (at 69941) by debbugs.gnu.org; 18 Apr 2024 13:40:23 +0000 Original-Received: from localhost ([127.0.0.1]:52498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxRzp-0000Pj-CA for submit@debbugs.gnu.org; Thu, 18 Apr 2024 09:40:21 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:60171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxRyb-0008VL-5D for 69941@debbugs.gnu.org; Thu, 18 Apr 2024 09:39:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1713447514; x=1714052314; i=stephen.berman@gmx.net; bh=Bpn+Kzhkp44m5ai9ZJgNnsITBKWvtTK71aFUlc9VEw4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=VBq1en3vKbRFuA95ZGAGazvv3aMPNuF6/1wQ6VUAQTQLV92svzp3kh5z9/dy9OfF hzCU9ywdqO7Vpc3D+GIrw0hbmiY7VeSUStnItICWX5jxNc0SFPSMWNlENdLnibFOC 5Qj68AISLAGi4PdLd0Qxg/Ub13/Bq0if83WYpu1SK5MjAyBW9JpcxrPyXg/Ejuyba 4C45vEQuGR9pnd+AUWudY7cejo+k5t/sFapDOUJJR2PjIlkc+t0NV/YSlg2m7rUKw 7v8ncDpWzoKsRg5geXogBLQcpBLgkeOAhwPAUCpGxpyKaILjYoKmdqDyzfHUlY1Hg S84/T6uniKYWlEexGQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([94.134.94.180]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQ5rU-1sJXBq1yMK-00M1Wk; Thu, 18 Apr 2024 15:38:34 +0200 In-Reply-To: <86h6fyewgq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Apr 2024 14:33:57 +0300") X-Provags-ID: V03:K1:OSa99nQB7C6chAmhlLmEJoR/AIPmnIvES01VA6T56FpJSQHPpEF EAPp+ukQ+wz1c52/n00YRxVdoIq4F1hR1Mj12jhWQR4rOQrE9Pc9f9te6v+3JNkTlrWZOnz kiW03WlM7HkUd9QOZ/8AVX+p4tL5gUb6XVfw8WygJUV/JRuyRwkCjtZQ/Jsi9ZbE4HCcgT0 qatCw59crWxiYJf+R9LAA== UI-OutboundReport: notjunk:1;M01:P0:jDlOLEjLU5k=;XwqRQNiS0x7RzCmIpTy1rEll9Pd D5yiFRE1IuvCxJw7xShjKooI80BVuvW8dbaUuKUVfU1Zq7nLzcGIC27fYr47GEgu0Pa7IZcUZ /MEgijvGbo3iov2IYu2uGHtpbbGrkAaXVxsNgFiHj8d7OYXc45YwQNvNXwhP9FfUtplFtrGu3 ZnIfou8i66Bpw68iNDEaAL7dBYtnFFzTIs2iZEwAyPBKpSC1I5FcGGQwSMzsVVDK3FRMpFmEw 4gbiqAkLt6akzAs8dHgzGfrtA4BNEduIdcpCEwD0L5QA1RpF/N6IZbo+Y+GZt+untHurTGR8Z 1LWo2jYxAmz/HnB8p0tZtcl242VJgK36olfSGWnhEX47Avpv2LHnEBWHTFFc/j4wCk49hT8RC bpMpQhq96ClUljXxLLDG7OMINiKK5fFl8HNc4EkpuUipgN4LHGFEQ6uSL0EuolGIP5fP5cCGc PtLPe7SzLSE031Ef4NBqrAuTa8GW+QokVPifPYphSMvfNwDuYOlqsVpJt/bM03xyO8UKy8xJH OFDXuuNKE/3VubP8fx6TsJ5mjtIHu/Os6uA7l3B6BuRemyMXJKCgau4wcL7wndvyFawrjYK96 hkOFdJbXw0nMDLF8FwP79jl48jSbWNnbKnbZJZTKeXb9dlwIFVNRfmMS9EVIsBd4geQySWI32 OMublfoNgw/094aUBH1bU5ubbRe4gzGZs/rVD8c3tQ+l03nYQKKBRRjCBnjjvOHuxwKGbNzC7 bl+zyrfrRYkONv4TIhT3r2VR0RBwiqdbgLGUzeWBak0J2woemMuo2QD7EKtVL4GjY7+8X5wE 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:283560 Archived-At: On Thu, 18 Apr 2024 14:33:57 +0300 Eli Zaretskii wrote: >> Date: Thu, 18 Apr 2024 07:18:29 -0300 >> Cc: Eli Zaretskii , 69941@debbugs.gnu.org, >> Stefan Monnier >> From: Mauro Aranda >>=20 >> > To fix this bug, do you have a preference between this patch for >> > widget-specify-inactive and the attached patch for >> > widget-default-create?=C2=A0 Or do you have a better fix? >> > >> > Steve Berman >>=20 >> I don't really have a better fix.=C2=A0 I mean, ideally, we'd find the r= eason >> why the setting behaves differently for the radio-button-choice widget, >> and only for the first one in a radio widget, as it seems to me. But >> I'll need more time to be able to look into that. >>=20 >> That said, if Eli is OK with installing a minor hack (with a FIXME, >> please), I don't have problems.=C2=A0 And since it's a hack (and hopeful= ly >> temporary), it's better if we keep it at widget-default-create then. > > My opinion doesn't matter much in this case. If you two agree on a > solution, feel free to install it, even if it is not 110% clean. I've been using the patch for for widget-specify-inactive in an application I'm developing that exercises radio-button-choice widgets, but I'll switch to using the patch for widget-default-create instead. I've been encountering inconsistent behavior in combination with the use of widget-unselected face that I haven't tracked down the cause of yet. I don't expect using the patch for widget-default-create will improve this issue, but I'll find out. I also plan to test that patch in combination with widget-unselected face with checklist widgets, which my application currently does not use. I'll report back here before committing the patch for widget-default-create (or something else, depending on the outcome of further testing). Steve Berman