From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [BUG] widget-field-overlay becomes wrong Date: Tue, 13 Jul 2004 17:00:45 +0200 Organization: The Church of Emacs Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <40E28BE8.4030300@math.ku.dk> <40EF09AA.3010207@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089730907 2135 80.91.224.253 (13 Jul 2004 15:01:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2004 15:01:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 13 17:01:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BkOma-0006dq-00 for ; Tue, 13 Jul 2004 17:01:24 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BkOmZ-0005bH-00 for ; Tue, 13 Jul 2004 17:01:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BkOox-0004zc-53 for emacs-devel@quimby.gnus.org; Tue, 13 Jul 2004 11:03:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BkOos-0004xz-2T for emacs-devel@gnu.org; Tue, 13 Jul 2004 11:03:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BkOor-0004xa-1T for emacs-devel@gnu.org; Tue, 13 Jul 2004 11:03:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BkOoq-0004xX-VM for emacs-devel@gnu.org; Tue, 13 Jul 2004 11:03:45 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BkOmA-00034B-6K for emacs-devel@gnu.org; Tue, 13 Jul 2004 11:00:58 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BkOm4-0001rQ-00 for ; Tue, 13 Jul 2004 17:00:56 +0200 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Jul 2004 17:00:52 +0200 Original-Received: from abraham by sheridan.dina.kvl.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Jul 2004 17:00:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sheridan.dina.kvl.dk X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:WzILkcKmQXX+M9WsJ/It4U7wgD8= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25647 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25647 Lars Hansen writes: > From what you write, and from what is in the manual, it suffices that > "fields are surrounded by static text". However that is not enough. > The text may not be part of another widget. I think the problem in the example is that the "menu-choice" widget is not "static text". Whenever you make a new choice, the widget rewrite itself from scratch. > Even worse, in the > programming example, this rule is broken! So if you run the example, > you will see the "bug" i reported (click the Choose button). Yes, the example in my own directory already has this fix. The second part of your patch should be applied.