From 135e3b47ec43ea6c2d83c460f43fbacb8b8257e2 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 22 Feb 2007 00:30:41 +0000 Subject: [PATCH] (User Interface, Basic Types): Document need to put some text before the %v escape in :format string in editable-field widget. --- man/widget.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man/widget.texi b/man/widget.texi index 22e5ce13631..086b9f69cf3 100644 --- a/man/widget.texi +++ b/man/widget.texi @@ -228,6 +228,10 @@ separating text after the field. If you don't include the @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 @@ The text inside will be displayed with the face specified by 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 @@ where each @var{component} must be a widget type. Each component widget 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 -- 2.39.2