From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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: Mon, 13 May 2024 09:26:31 -0400 Message-ID: References: <87h6gynx49.fsf@rub.de> <87o79c8n60.fsf@gmx.net> <87zfst4zuh.fsf@rub.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10543"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69941@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 13 15:27:27 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 1s6ViB-0002WI-Et for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 15:27:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Vht-0005I0-ED; Mon, 13 May 2024 09:27:09 -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 1s6Vhm-0005Fp-DR for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:27: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 1s6Vhm-0005iG-5Q for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Vhm-0001dq-An for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2024 13:27: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.17156068066303 (code B ref 69941); Mon, 13 May 2024 13:27:02 +0000 Original-Received: (at 69941) by debbugs.gnu.org; 13 May 2024 13:26:46 +0000 Original-Received: from localhost ([127.0.0.1]:60988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6VhW-0001da-3b for submit@debbugs.gnu.org; Mon, 13 May 2024 09:26:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6VhS-0001dU-6E for 69941@debbugs.gnu.org; Mon, 13 May 2024 09:26:44 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2A1598092E; Mon, 13 May 2024 09:26:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715606793; bh=8aTCCNRrucjs028dZYSYZiNG7ng8Et1O7O6ccbpeioY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oQTdB9k4sPVEoN6ZtehrDOR7eRAV6HBWVg3rlS/mpuFi5fNKdmN/T/kyGC79raZpV DJbT6EuMdiUw4k7707dxBnpjwpoPxdHCq8IvMZ5QaMBZoyK5MSc2+E6A1QOCNIMJf6 jBMFBSeNFBEOrPwtpNwUXHGeQyvs9FRinBa2ASnnxG/n3H4B12LIebtywrW0+d9ujv My4xemxG5YBaxL0mWoYakxkfw+O82aQDITEIbC8pGU6h8EUEesJ88KAz2bETz6kfYg RO+cPuPBbeu5V3vV/O71H4FK+c6dQDkLg3E8pcu6J3orQgZdYlW1q/KXZZcziKGJUy q6yl75SLXHYdg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0E94E8064F; Mon, 13 May 2024 09:26:33 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DCB1012012E; Mon, 13 May 2024 09:26:32 -0400 (EDT) In-Reply-To: <87zfst4zuh.fsf@rub.de> (Stephen Berman's message of "Mon, 13 May 2024 15:15:50 +0200") 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:284972 Archived-At: >>>> Could it be that part of the problem is that the insertion of >>>> a radio-button widget into a radio-button-choice widget is done "too >>>> late", i.e. after the radio-button-choice widget has been printed? >>> To avoid this I suspect that the radio-button-choice widget would have >>> to be redesigned, and also the checklist widget, which has a similar >>> issue. >> What does "this" refer to?" > I meant the "too late" insertion of radio buttons into > radio-button-choice widgets (and likewise of checkboxes into checklist > widgets), because IIUC the way this is currently done (by > widget-radio-add-item and widget-checklist-add-item, respectively) > requires that the container widget is already in the buffer. Then maybe widgets which expect to be filled after they're created should make sure they have an additional character at the beginning and another at the end so insertions "inside" don't get confused from insertions "right before" or "right after". Stefan