From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: [BUG] widget-field-overlay becomes wrong Date: Mon, 02 Aug 2004 11:08:01 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <410E0471.9080208@math.ku.dk> References: <40E28BE8.4030300@math.ku.dk> <40EF09AA.3010207@math.ku.dk> <40F4DA0F.5000608@math.ku.dk> <41028E34.5060003@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091437733 26552 80.91.224.253 (2 Aug 2004 09:08:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 09:08:53 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 02 11:08:47 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BrYoI-0005UQ-00 for ; Mon, 02 Aug 2004 11:08:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrYrg-0000xt-Gk for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2004 05:12:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BrYrJ-0000p3-42 for emacs-devel@gnu.org; Mon, 02 Aug 2004 05:11:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BrYrI-0000oj-Fg for emacs-devel@gnu.org; Mon, 02 Aug 2004 05:11:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrYrI-0000oS-7S for emacs-devel@gnu.org; Mon, 02 Aug 2004 05:11:52 -0400 Original-Received: from [130.225.103.32] (helo=imf.math.ku.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BrYne-00076N-71; Mon, 02 Aug 2004 05:08:06 -0400 Original-Received: by imf.math.ku.dk (Postfix, from userid 73) id 8AB42173DA1; Mon, 2 Aug 2004 11:08:05 +0200 (CEST) Original-Received: from imf (localhost [127.0.0.1]) by spamwall (Postfix) with ESMTP id B7F0B173BFF; Mon, 2 Aug 2004 11:08:01 +0200 (CEST) Original-Received: from localhost ([127.0.0.1]) by imf.math.ku.dk (MailMonitor for SMTP v1.2.2 ) ; Mon, 2 Aug 2004 11:08:01 +0200 (CEST) Original-Received: from math.ku.dk (pc33.math.ku.dk [10.2.1.33]) by imf.math.ku.dk (Postfix) with ESMTP id 73204173BFF; Mon, 2 Aug 2004 11:08:01 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: da, en-us, en Original-To: Per Abrahamsen In-Reply-To: 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+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26149 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26149 Per Abrahamsen wrote: >Only the menu-choice, coding-system and color widgets[1] call >widget-value-set as a result of a user action, so only those are >inherently unsafe. > >Footnotes: >[1] The radio-button-choice widget also call widget-value-set, but it >doesn't rewrite itself when that happens. > > Try to evaluate (progn (switch-to-buffer "*test*") (widget-create 'editable-field :format "%v" :size 3) (widget-create 'checkbox) (use-local-map widget-keymap) (widget-setup)) or (progn (switch-to-buffer "*test*") (widget-create 'editable-field :format "%v" :size 3) (widget-create 'radio-button-choice :value "1" '(item "1") '(item "2")) (use-local-map widget-keymap) (widget-setup)) The problem shows up here as well.