It seems that having a FORM element right next to a field element can leave the overlays in a bad state. Consider the following three tempel expansions:
(tempel-insert '((if (length> str 1) "{" "") " " (s str) " " (if (length> str 1) "}" "")))
(tempel-insert '((if (length> str 1) "{" "") (s str) (if (length> str 1) "}" "")))
(tempel-insert '((if (length> str 1) "y" "n") (s str) (if (length> str 1) "y" "n")))
In the first one, the FORM elements work as expected. In the second one, both FORM overlays appear behind the field, and in the third one both FORM overlays appear after the named field. They also stop updating correctly on further input.
It seems that having a FORM element right next to a field element can leave the overlays in a bad state. Consider the following three tempel expansions:
In the first one, the FORM elements work as expected. In the second one, both FORM overlays appear behind the field, and in the third one both FORM overlays appear after the named field. They also stop updating correctly on further input.