unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Cc: emacs-devel@gnu.org, xemacs-design@xemacs.org
Subject: Re: API changes
Date: Sun, 28 Apr 2002 10:58:35 +1000	[thread overview]
Message-ID: <aafhjg$t6d$2@main.gmane.org> (raw)
In-Reply-To: <3CCAA9FF.4000905@666.com> (Ben Wing's message of "Sat, 27 Apr 2002 06:39:11 -0700")

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_

       reply	other threads:[~2002-04-28  0:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3CCAA9FF.4000905@666.com>
2002-04-28  0:58 ` Daniel Pittman [this message]
2002-04-28  5:48 ` API changes Colin Walters
2002-04-28 23:45 ` Stefan Monnier
2002-04-29  5:05 ` Richard Stallman
2002-05-04  6:26   ` Colin Walters
     [not found]   ` <1020493576.5286.5.camel@space-ghost>
2002-05-17 12:30     ` Ben Wing
2002-05-18 18:49       ` Richard Stallman
2002-05-18 19:54       ` Colin Walters
     [not found]         ` <200205191940.g4JJeij24049@aztec.santafe.edu>
2002-05-19 20:09           ` Colin Walters
2002-05-20  3:07             ` Stephen J. Turnbull
     [not found] ` <1019972901.27106.63.camel@space-ghost>
2002-04-29  5:05   ` Richard Stallman
2002-04-29  6:25     ` Colin Walters
2002-04-27 13:39 Ben Wing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='aafhjg$t6d$2@main.gmane.org' \
    --to=daniel@rimspace.net \
    --cc=emacs-devel@gnu.org \
    --cc=xemacs-design@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).