From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Other potential problem with :format. Date: Mon, 25 Aug 2003 21:38:30 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200308232052.h7NKqVW02469@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1061867740 21408 80.91.224.253 (26 Aug 2003 03:15:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 03:15:40 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Aug 26 05:15:38 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 19rUJ0-0003fl-00 for ; Tue, 26 Aug 2003 05:15:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19rUOo-0007Yv-00 for ; Tue, 26 Aug 2003 05:21:39 +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 19rUIA-0006rc-PP for emacs-devel@quimby.gnus.org; Mon, 25 Aug 2003 23:14:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rSv4-0003nM-Gr for emacs-devel@gnu.org; Mon, 25 Aug 2003 21:46:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rStU-0001ws-TD for emacs-devel@gnu.org; Mon, 25 Aug 2003 21:45:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rSqE-00086H-Vc for emacs-devel@gnu.org; Mon, 25 Aug 2003 21:41:50 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19rSn0-0005jZ-1j; Mon, 25 Aug 2003 21:38:30 -0400 Original-To: Per Abrahamsen In-reply-to: (message from Per Abrahamsen on Mon, 25 Aug 2003 15:02:24 +0200) 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:16155 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16155 ! 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. It would be clearer with this small rewrite. ! 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, but you will have to provide the static ! text before the field yourself. The @code{:format} keyword is ! useful for generating the static text; for instance, if you give ! it a value of @code{"Name: %v"}, the "Name: " part will count as ! the static text. Can you install it?