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: [BUG] widget-field-overlay becomes wrong Date: Thu, 05 Aug 2004 00:22:27 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <40E28BE8.4030300@math.ku.dk> <40EF09AA.3010207@math.ku.dk> <40F4DA0F.5000608@math.ku.dk> <410E0468.6070700@math.ku.dk> <41100113.2010703@math.ku.dk> <411002D5.7050902@math.ku.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1091679799 30565 80.91.224.253 (5 Aug 2004 04:23:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Aug 2004 04:23:19 +0000 (UTC) Cc: abraham@dina.kvl.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 05 06:23:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BsZmb-0003iR-00 for ; Thu, 05 Aug 2004 06:23:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsZq7-0005k2-Pa for ged-emacs-devel@m.gmane.org; Thu, 05 Aug 2004 00:26:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BsZpx-0005i8-JH for emacs-devel@gnu.org; Thu, 05 Aug 2004 00:26:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BsZpw-0005hp-Rz for emacs-devel@gnu.org; Thu, 05 Aug 2004 00:26:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsZpw-0005hl-Qd for emacs-devel@gnu.org; Thu, 05 Aug 2004 00:26:40 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BsZlu-00028a-2R for emacs-devel@gnu.org; Thu, 05 Aug 2004 00:22:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BsZlr-0004Vx-2k; Thu, 05 Aug 2004 00:22:27 -0400 Original-To: Lars Hansen In-reply-to: <411002D5.7050902@math.ku.dk> (message from Lars Hansen on Tue, 03 Aug 2004 23:25:41 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26190 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26190 Thanks for writing this. Now I can polish it up. ! @strong{Warning:} In an @code{editable-field} widget, the editable ! field is not allowed to be adjacent to another widget, there must be ! some text in between. "Is not allowed to be" is not just passive, it is contorted. This text must be part of the ! @code{editable-field} widget itself or inserted with ! @code{widget-insert}. A single "be" is used for a passive verb and in another way. That's not just passive, but confusing too. Here's how I would write it more readably: @strong{Warning:} In an @code{editable-field} widget, the editable field must not be adjacent to another widget---that won't work. You must put some text in between. Either make this text part of the @code{editable-field} widget itself, or insert it with @code{widget-insert}. The @code{:format} keyword is useful for generating the necessary text; for instance, if you give it a value of @code{"Name: %v "}, the @samp{Name: } part will provide the necessary separating text before the field and the trailing space will provide the 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. I split the paragraph for readability too. Long paragraphs are hard to read. Could somene please install the change, with this modification?