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: Sun, 01 Aug 2004 17:18:30 +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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091373554 29178 80.91.224.253 (1 Aug 2004 15:19:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Aug 2004 15:19:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 01 17:19:05 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 1BrI76-0007ag-00 for ; Sun, 01 Aug 2004 17:19:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrIAS-00078h-6Z for ged-emacs-devel@m.gmane.org; Sun, 01 Aug 2004 11:22:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BrIAL-00078b-E1 for emacs-devel@gnu.org; Sun, 01 Aug 2004 11:22:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BrIAK-00078P-PD for emacs-devel@gnu.org; Sun, 01 Aug 2004 11:22:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrIAK-00078M-Mq for emacs-devel@gnu.org; Sun, 01 Aug 2004 11:22:24 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BrI6d-0003cN-SY for emacs-devel@gnu.org; Sun, 01 Aug 2004 11:18:36 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BrI6a-0005n2-00 for ; Sun, 01 Aug 2004 17:18:34 +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 ; Sun, 01 Aug 2004 17:18:32 +0200 Original-Received: from abraham by sheridan.dina.kvl.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Aug 2004 17:18:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 15 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:Cj7FMQfbRC3esG7auxBy/SyHKe0= 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:26138 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26138 Lars Hansen writes: > As you noted yourself, the problem comes when a widget rewrites itself > "from scratch". Any widget does that if you change it's value with > widget-value-set from some lisp program. Yes, from a Lisp program. But then it is under programmer control. 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.