aboutsummaryrefslogtreecommitdiffstats
path: root/man/widget.texi
diff options
context:
space:
mode:
authorKaroly Lorentey <[email protected]>2007-02-24 19:26:54 +0000
committerKaroly Lorentey <[email protected]>2007-02-24 19:26:54 +0000
commitf65f7603312547e51230192daf34349b8ac569a0 (patch)
treecbc5877854d00bbdd5ecd4906d130ab8fbb44430 /man/widget.texi
parent9440b75fccbf763e3fb23a31a128d97eb4debdf5 (diff)
parent735895f1fa28f88c559e73910ea0ff0bda0f228c (diff)
Merged from [email protected]
Patches applied: * [email protected]/emacs--devo--0--patch-619 Update from CVS * [email protected]/emacs--devo--0--patch-620 Update from CVS * [email protected]/emacs--devo--0--patch-621 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-622 Update from CVS * [email protected]/emacs--devo--0--patch-623 Remove RCS keywords * [email protected]/emacs--devo--0--patch-624 Update from CVS * [email protected]/emacs--devo--0--patch-625 Update from CVS * [email protected]/emacs--devo--0--patch-626 Update from CVS * [email protected]/emacs--devo--0--patch-627 Update from CVS * [email protected]/emacs--devo--0--patch-628 Update from CVS * [email protected]/emacs--devo--0--patch-629 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-630 Update from CVS * [email protected]/emacs--devo--0--patch-631 Update from CVS * [email protected]/emacs--devo--0--patch-632 Update from CVS * [email protected]/emacs--devo--0--patch-633 Update from CVS * [email protected]/emacs--devo--0--patch-634 Update from CVS * [email protected]/emacs--devo--0--patch-635 Update from CVS * [email protected]/emacs--devo--0--patch-636 Update from CVS * [email protected]/emacs--devo--0--patch-637 Remove RCS keywords * [email protected]/emacs--devo--0--patch-638 Update from CVS * [email protected]/emacs--devo--0--patch-639 Update from CVS * [email protected]/emacs--devo--0--patch-640 Update from CVS * [email protected]/emacs--devo--0--patch-641 Update from CVS * [email protected]/emacs--devo--0--patch-642 Merge from gnus--rel--5.10 * [email protected]/emacs--devo--0--patch-643 Update from CVS * [email protected]/emacs--devo--0--patch-644 Update from CVS * [email protected]/emacs--devo--0--patch-645 Update from CVS * [email protected]/emacs--devo--0--patch-646 Update from CVS * [email protected]/emacs--devo--0--patch-647 Update from CVS * [email protected]/emacs--devo--0--patch-648 Update from CVS * [email protected]/emacs--devo--0--patch-649 Update from CVS * [email protected]/gnus--rel--5.10--patch-197 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-198 Update from CVS * [email protected]/gnus--rel--5.10--patch-199 Update from CVS * [email protected]/gnus--rel--5.10--patch-200 Merge from emacs--devo--0 * [email protected]/gnus--rel--5.10--patch-201 Update from CVS: lisp/nnweb.el (nnweb-google-parse-1): Update parser. * [email protected]/gnus--rel--5.10--patch-202 Update from CVS git-archimport-id: [email protected]/emacs--multi-tty--0--patch-596
Diffstat (limited to 'man/widget.texi')
-rw-r--r--man/widget.texi15
1 files changed, 11 insertions, 4 deletions
diff --git a/man/widget.texi b/man/widget.texi
index a55c2d529d..7215728952 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 preceded 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.
@@ -349,10 +353,10 @@ Interface}).
(let ((inhibit-read-only t))
(erase-buffer))
(remove-overlays)
- (widget-insert "Here is some documentation.\n\nName: ")
+ (widget-insert "Here is some documentation.\n\n")
(widget-create 'editable-field
:size 13
- :format "%v " ; Text after the field!
+ :format "Name: %v " ; Text after the field!
"My Name")
(widget-create 'menu-choice
:tag "Choose"
@@ -364,8 +368,8 @@ Interface}).
'(item :tag "This option" :value "This")
'(choice-item "That option")
'(editable-field :menu-tag "No option" "Thus option"))
- (widget-insert "Address: ")
(widget-create 'editable-field
+ :format "Address: %v"
"Some Place\nIn some City\nSome country.")
(widget-insert "\nSee also ")
(widget-create 'link
@@ -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 preceded 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