[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Other potential problem with :format.
From: |
Per Abrahamsen |
Subject: |
Re: Other potential problem with :format. |
Date: |
Mon, 25 Aug 2003 15:02:24 +0200 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) |
Richard Stallman <address@hidden> writes:
> Editable fields should in general be surrounded by static text, as
> they need the text to "anchor" themselves as we have little control of
> what happens inside the field.
>
> Could you please look at the manual and see if this could use being
> stated more clearly?
*** widget.texi.~1.19.~ Thu Aug 21 14:18:07 2003
--- widget.texi Mon Aug 25 15:01:36 2003
***************
*** 10,16 ****
@c %**end of header
@copying
! Copyright @copyright{} 2000, 2002 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
--- 10,16 ----
@c %**end of header
@copying
! Copyright @copyright{} 2000, 2002, 2003 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
***************
*** 211,217 ****
For example, capitalizing all text from the middle of one field to the
middle of another field is prohibited.
! Editing text fields are created by the @code{editable-field} widget.
The editing text fields are highlighted with the
@code{widget-field-face} face, making them easy to find.
--- 211,225 ----
For example, capitalizing all text from the middle of one field to the
middle of another field is prohibited.
! Editable text fields are created by the @code{editable-field} widget.
!
! An editable fields must be surrounded by static text on both sides, that
! is, text that does not change in the lifetime of the widget. If the
! field extend to the end of the line, the terminating line-feed character
! will count as the necessary static text on that end. You will have to
! provide the static text before the field yourself. The @code{:format}
! keyword is useful for that, if you give it a value of e.g. @code{"Name:
! %v"} the "Name: " part will count as the static text.
The editing text fields are highlighted with the
@code{widget-field-face} face, making them easy to find.