[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
widget-forward skips empty editable-fields
From: |
Magnus Henoch |
Subject: |
widget-forward skips empty editable-fields |
Date: |
Tue, 30 Nov 2004 21:08:31 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
widget-forward skips empty editable-fields. The following code
demonstrates the problem:
(defun test-widget ()
(interactive)
(switch-to-buffer (get-buffer-create (generate-new-buffer-name "widget
test")))
(widget-minor-mode 1)
(widget-insert "Empty field: ")
(widget-create 'editable-field "")
(widget-insert "Not empty field: ")
(widget-create 'editable-field "foo")
(widget-setup)
(goto-char (point-min))
(message "Now, hit TAB. Point should go to the first field, but doesn't."))
In XEmacs point goes to the first editable field, but in Emacs (I
tried 21.2 and the CVS version with same result) it goes to the second
one. If I enter some text in the first field, I get the expected
behaviour.
Magnus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- widget-forward skips empty editable-fields,
Magnus Henoch <=