From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: Other potential problem with :format. Date: Mon, 25 Aug 2003 15:02:24 +0200 Organization: The Church of Emacs Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200308232052.h7NKqVW02469@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061821138 20236 80.91.224.253 (25 Aug 2003 14:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 14:18:58 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 25 16:18:56 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rIBM-0005Fd-00 for ; Mon, 25 Aug 2003 16:18:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19rIGv-0008UE-00 for ; Mon, 25 Aug 2003 16:24:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rIB3-0005Hz-Oq for emacs-devel@quimby.gnus.org; Mon, 25 Aug 2003 10:18:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rI6a-0000FP-0w for emacs-devel@gnu.org; Mon, 25 Aug 2003 10:14:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rI4X-0006Z0-TB for emacs-devel@gnu.org; Mon, 25 Aug 2003 10:12:25 -0400 Original-Received: from [130.225.40.227] (helo=sheridan.dina.kvl.dk) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rI06-0003A9-Oe; Mon, 25 Aug 2003 10:07:18 -0400 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id PAA31388; Mon, 25 Aug 2003 15:02:26 +0200 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.11.6+Sun/8.11.6) id h7PD2O301881; Mon, 25 Aug 2003 15:02:24 +0200 (MEST) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: rms@gnu.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Richard Stallman's message of "Sun, 24 Aug 2003 23:30:02 -0400") Original-Lines: 53 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16147 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16147 Richard Stallman 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.