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: Mon, 02 Aug 2004 14:21:55 +0200 Organization: The Church of Emacs Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <40E28BE8.4030300@math.ku.dk> <40EF09AA.3010207@math.ku.dk> <40F4DA0F.5000608@math.ku.dk> <41028E34.5060003@math.ku.dk> <410E0471.9080208@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 1091449398 18772 80.91.224.253 (2 Aug 2004 12:23:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 12:23:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 02 14:23:06 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 1BrbqL-0006x8-00 for ; Mon, 02 Aug 2004 14:23:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Brbtj-0006L2-T6 for ged-emacs-devel@m.gmane.org; Mon, 02 Aug 2004 08:26:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Brbsm-00065b-Vc for emacs-devel@gnu.org; Mon, 02 Aug 2004 08:25:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Brbsk-00064P-EC for emacs-devel@gnu.org; Mon, 02 Aug 2004 08:25:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Brbsk-00064L-AO for emacs-devel@gnu.org; Mon, 02 Aug 2004 08:25:34 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BrbpJ-0007XA-SP for emacs-devel@gnu.org; Mon, 02 Aug 2004 08:22:02 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BrbpI-0007kO-00 for ; Mon, 02 Aug 2004 14:22:00 +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 ; Mon, 02 Aug 2004 14:22:00 +0200 Original-Received: from abraham by sheridan.dina.kvl.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Aug 2004 14:22:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 29 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:pUZS9Od8THoUGLB0VOgYFU5HiwA= 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:26151 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26151 Lars Hansen writes: > (progn > (switch-to-buffer "*test*") > (widget-create 'editable-field :format "%v" :size 3) > (widget-create 'checkbox) > (use-local-map widget-keymap) > (widget-setup)) Yes, the toggle widget also call widget-value-set. I missed that one. > (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. Not if you put some static text first: (progn (switch-to-buffer "*test*") (widget-create 'editable-field :format "%v" :size 3) (widget-create 'radio-button-choice :format "Radio: %v" :value "1" '(item "1") '(item "2")) (use-local-map widget-keymap) (widget-setup))