# HG changeset patch # User Kim F. Storm # Date 1172104241 0 # Node ID af8094fdc276700c2e341ee92f4c578d42a9d376 # Parent c76aa2fa987a4cc30911b63b24fd209c113c7064 (User Interface, Basic Types): Document need to put some text before the %v escape in :format string in editable-field widget. diff -r c76aa2fa987a -r af8094fdc276 man/widget.texi --- a/man/widget.texi Wed Feb 21 13:55:27 2007 +0000 +++ b/man/widget.texi Thu Feb 22 00:30:41 2007 +0000 @@ -228,6 +228,10 @@ @code{:size} keyword, the field will extend to the end of the line, and the terminating newline will provide separation after. +@strong{Warning:} In an @code{editable-field} widget, the @samp{%v} escape +must be preceeded by some other text in the @code{:format} string +(if specified). + The editing text fields are highlighted with the @code{widget-field-face} face, making them easy to find. @@ -529,6 +533,9 @@ This will be replaced with the buffer representation of the widget's value. What this is depends on the widget type. +@strong{Warning:} In an @code{editable-field} widget, the @samp{%v} escape +must be preceeded by some other text in the format string (if specified). + @item %d Insert the string specified by @code{:doc} here. @@ -1342,7 +1349,7 @@ will be displayed in the buffer, and will be editable by the user. @deffn Widget cons -The value of a @code{cons} widget must be a cons-cell whose @sc{car} +The value of a @code{cons} widget must be a cons-cell whose @sc{car} and @sc{cdr} have two specified types. It uses this syntax: @example