Mercurial > emacs
changeset 76043:af8094fdc276
(User Interface, Basic Types): Document need to put some
text before the %v escape in :format string in editable-field widget.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 22 Feb 2007 00:30:41 +0000 |
parents | c76aa2fa987a |
children | bedbe56c20fc |
files | man/widget.texi |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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