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: Sun, 21 Apr 2024 21:45:59 +0200 Message-ID: <87wmoqlcso.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> <875xwehjty.fsf@gmx.net> Reply-To: Stephen Berman Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34500"; 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 Sun Apr 21 21:46:53 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 1ryd9I-0008n8-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Apr 2024 21:46:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryd9F-0001xQ-3T; Sun, 21 Apr 2024 15:46:49 -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 1ryd9D-0001wS-Jb for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 15:46:47 -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 1ryd9D-0006Qn-AG for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 15:46:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryd9S-0002AW-IJ for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Apr 2024 19:47:02 +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.17137287918083 (code B ref 69941); Sun, 21 Apr 2024 19:47:02 +0000 Original-Received: (at 69941) by debbugs.gnu.org; 21 Apr 2024 19:46:31 +0000 Original-Received: from localhost ([127.0.0.1]:44555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryd8v-00025v-7u for submit@debbugs.gnu.org; Sun, 21 Apr 2024 15:46:30 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:43305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryd8s-00024b-0O for 69941@debbugs.gnu.org; Sun, 21 Apr 2024 15:46:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1713728760; x=1714333560; i=stephen.berman@gmx.net; bh=O/z8MDbK6Q3B+E63x5sUyRMlqRh/MiPB4wye1dq2ALA=; 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=DWK7bHNjglCRKU4AqVP8ltnrdzM1yc1M/U/xUnc2n8G/APD8qXVJUCAR0/aRBeHu 3hLMB+kNN8HLl9ueXzk/0D/o6RD/a8eAUxNEPn7ErkUqbtSrT2DCBs1G1RgOTovwN i5fYBZ9h0uf+cIg8m2YMJvM5okzLIFHomhVHn3UJXXxKYASfb/A7PpjjeNi6BKFAb eblVHldqcKNrVz1zWc+rxVJuvaVwRq5v19Q9BNOXVo4/SeA2AtBR9fllE/IX2c7T1 HyVfAQO9NM17/oOClxvc4enEp4uCOsztqUwKzh6bqk+Ox97+npR5yOY1SqqcBKaFt MPShLf19eIvhZojvUQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([94.134.94.36]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MUowb-1s73If1ain-00Qicf; Sun, 21 Apr 2024 21:46:00 +0200 In-Reply-To: <875xwehjty.fsf@gmx.net> (Stephen Berman's message of "Thu, 18 Apr 2024 15:38:33 +0200") X-Provags-ID: V03:K1:jJ83ul3GOyZbr5usj2s0HVag3pauoc8palp8lvpxPrgumFJWlxN vg1Lw4TE54PIXjw0xGYeYew75aap+PaXvcMz7NDnyO9XATnOpeLcZ0D29ChXJK11AlCW2g9 yxMmJhtE7P5B1CxFselWp2VvJieS6v1jfSu4unbVeKHbQDAaQg4VSs6WUExFFSJatX6mrw6 iWFRv6VLl2uyoogKsmslA== UI-OutboundReport: notjunk:1;M01:P0:950Y2LXDotY=;dORE+yO/aGq+wXTunsHxi5dM4gt Ou2DWQQqSnC/akh/Z6EtwzOVEIVAAscY93uLgCHeeqSFYt3rNu1tJrF82yqHgLNWh7AnX3fsH 2LybAIpSiG5i4XXdHOjHVIped7WVIRD442YEGssxTjV7GEAb3DQqHZkd3HmtLZ7BHKQpzSzIr 4T1jqMmMuvjHOs/ro2/ZKkHoOsZMSdpOmtyGjFRehSUZYkIT+Kz6WEt5hcSSaIn/4zHHFRySr iORRRnTPW6nDkW7/dExeQSNaV2w5P03F5HL4QiOKZFtivNJcWcuQxzavgCJIwp1NCuhdwyHLq c80hLsYbMcGoJihRiMmrxo37605x0v3NPEVd4HyclrTlkHA/I2fsAeWBs6JSQFItWSYUSt511 mV0ciSY8B00CRRiKUPfAbZhn32cJWMoeCgHcGBitnx4lvYQ3x1IU3qv5bvg7WBYUHJjHh/0VX HnkJgBspaBrMV5oNgTioGmRFPjHwlulBZ6TxS+4oaKiH/uFJVZGZw1yDnQGYC4Ukq44b3/24w x9BrGsdzXr1Ma21Cbqe107F6p24hPb/6o5fKq0JTwOuyNmSivcqZMALYXmy8SHQOyBkuQiClv 4dj/S+ngVoAA9+8MXk48qpJ+RO4VRDX/zte/HZvTCfkDp/GDMs4mFsW+5QI+EOY9/CCJun+fK mkdwOqPJg5dRp2kl0wWGKhN6E/Hzkq3xo1IyNY0iIZsGz4rvdnyCB44MHLi/thEAjTS8LqLT7 AHsYD6w+xs5v5cWqFjDsF5MHLCeA7OaabKhb8mNN1povTlFUrXcFIg6X2OM4/dU5eqzXS8Nc 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:283779 Archived-At: On Thu, 18 Apr 2024 15:38:33 +0200 Stephen Berman = wrote: > 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?=A0 Or do you have a better fix? >>> > >>> > Steve Berman >>>=20 >>> I don't really have a better fix.=A0 I mean, ideally, we'd find the rea= son >>> 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.=A0 And since it's a hack (and hopefully >>> 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). Just a brief status report: My testing does indeed indicate that the fontification problem with radio-button-choice also occurs with checklist widgets, though the pattern appears not to be identical; I need to do more testing and debugging. Steve Berman