emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] widget-field-overlay becomes wrong


From: Lars Hansen
Subject: Re: [BUG] widget-field-overlay becomes wrong
Date: Mon, 02 Aug 2004 11:08:01 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]