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:28:54 -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="26224"; 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:30:22 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 1s6Vl0-0006a6-7w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 15:30:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Vkj-0005ta-4l; Mon, 13 May 2024 09:30: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 1s6Vkg-0005tA-Vs for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:30: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 1s6Vkg-000678-LY for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Vkh-0001fE-2Y for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 09:30:03 -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:30:03 +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.17156069596358 (code B ref 69941); Mon, 13 May 2024 13:30:03 +0000 Original-Received: (at 69941) by debbugs.gnu.org; 13 May 2024 13:29:19 +0000 Original-Received: from localhost ([127.0.0.1]:32768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Vjx-0001eU-M0 for submit@debbugs.gnu.org; Mon, 13 May 2024 09:29:18 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:58484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Vji-0001eH-DS for 69941@debbugs.gnu.org; Mon, 13 May 2024 09:29:15 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 85E818092E; Mon, 13 May 2024 09:28:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715606935; bh=kOMxgBbIje2PcDRBIwAut52C7vixBTzQq91PeRNrvGs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fRJk+gXJqb3iCSC8CKOFBW9wTR75fDupBwWCzEiKl2kCINY3hRJnx9CUebfUkufFX XEUojRttnU0bFABYA9yawLZzyq0+RSZcV3tZVQSTEQ1xD4vy4Q/PAp7BIJycpraKjc MladnmbAQtJ+4lJLUmsmvfYK1PXKiDhwNjEiCwrGs/N1njNxAjG7IUxWQ8w5G/6b85 12jiBCw2yNEKF51hp2XktlLQHb62/nmQd7X0S994Ta84XtKniCWnlvvz0gB4RsmnoH ycCQ89CmckXgOXFqBU3tOcFAdId7Q1yBVcqU9oPOd8y14GdzqBqmWV+/QA5A/2Cbit l4G25PL3NqIPA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5868E80822; Mon, 13 May 2024 09:28:55 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 373701203DF; Mon, 13 May 2024 09:28:55 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Mon, 13 May 2024 09:26:31 -0400") 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:284973 Archived-At: >> 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". Or maybe `widget-*-add-item` should temporarily change the insertion type of the from/to markers? Stefan