From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.devel Subject: Re: API changes Date: Sun, 28 Apr 2002 10:58:35 +1000 Organization: Not today, thank you, Mother. Sender: emacs-devel-admin@gnu.org Message-ID: References: <3CCAA9FF.4000905@666.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019955632 29901 127.0.0.1 (28 Apr 2002 01:00:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2002 01:00:32 +0000 (UTC) Cc: emacs-devel@gnu.org, xemacs-design@xemacs.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171d3I-0007mA-00 for ; Sun, 28 Apr 2002 03:00:32 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 171d6e-0006TT-00 for ; Sun, 28 Apr 2002 03:04:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171d32-0000Xb-00; Sat, 27 Apr 2002 21:00:16 -0400 Original-Received: from melancholia.rimspace.net ([210.23.138.19] helo=melancholia.danann.net) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171d1Y-0000Rb-00 for ; Sat, 27 Apr 2002 20:58:44 -0400 Original-Received: from localhost (melancholia.rimspace.net [210.23.138.19]) by melancholia.danann.net (Postfix) with ESMTP id D562A2A831 for ; Sun, 28 Apr 2002 10:58:41 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id 4210510F12D; Sun, 28 Apr 2002 10:58:35 +1000 (EST) Original-To: Ben Wing In-Reply-To: <3CCAA9FF.4000905@666.com> (Ben Wing's message of "Sat, 27 Apr 2002 06:39:11 -0700") Original-Lines: 33 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, i686-pc-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3339 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3339 On Sat, 27 Apr 2002, Ben Wing wrote: [...] > Recently I also added the function > > (truncate-string-with-continuation-dots STR END-COLUMN &optional > DOTS-STR) > > Documentation: Truncate string STR to end at column END-COLUMN, adding > dots if needed. The dots (normally `...', but can be controlled by > DOTS-STR)' will be added in such a way that the total string occupies > no more than END-COLUMN columns -- i.e. if the string goes past > END-COLUMN, it will be truncated somewhere short of END-COLUMN so > that, with the dots added, the string occupies END-COLUMN columns. > > "columns" in here refers to the same thing that > `truncate-string-to-width' deals in, i.e. "display columns" where > Japanese characters get two. Can you please include the fact that this deals with display columns to the documentation? Having dealt with the differing opinions of GNU Emacs and XEmacs on what (format "%-10s" foo) outputs, it's /really/ nice to have that in the docstring, not just the source. :) Thanks, Daniel -- In the present-day reconstruction of physics, fragments of the Newtonian concepts are stubbornly retained. The result is to reduce modern physics to a sort of mystic chant over an unintelligible universe. -- Alfred North Whitehead, _Modes of Thought_