From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37503 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug on Summary line. Date: 05 Aug 2001 12:55:26 +1000 Organization: Not today, thank you, Mother. Message-ID: <87y9ozqkpt.fsf@inanna.rimspace.net> References: <2nitggb5vq.fsf@piglet.jia.vnet> <8766c7f4bf.fsf@inanna.rimspace.net> <87d76dxmqo.fsf@inanna.rimspace.net> <2nvgk5f38r.fsf@piglet.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172906 14236 80.91.224.250 (21 Oct 2002 04:01:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:01:46 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 25170 invoked from network); 5 Aug 2001 02:55:45 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (203.36.211.210) by gnus.org with SMTP; 5 Aug 2001 02:55:45 -0000 Original-Received: from localhost (melancholia.rimspace.net [203.36.211.210]) by melancholia.danann.net (Postfix) with ESMTP id 328492A833 for ; Sun, 5 Aug 2001 12:55:29 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id 5925082146; Sun, 5 Aug 2001 12:55:27 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: <2nvgk5f38r.fsf@piglet.jia.vnet> (ShengHuo ZHU's message of "Fri, 03 Aug 2001 10:43:48 -0700") X-Homepage: http://danann.net/ User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (anise) Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:37503 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37503 On Fri, 03 Aug 2001, ShengHuo ZHU wrote: > Daniel Pittman writes: [...] >> You then want to rewrite those so that, rather than using >> `substring', they use something akin to `truncate-string-to-width', >> `string-width' and `char-width'. > > truncate-string-to-width and string-width don't work, at least in > Emacs 21. I've tried use them to fixed the problem before. Using > char-width might slow down listing the summary :-(. *sigh* Well, that sucks. It's implemented as a loop counting the total of `char-width' for each character under XEmacs and it *seems* to get it right... ...which makes this a real PITA. At least it's not too much of a problem for me. Daniel -- When you realize you want to spend the rest of your life with somebody, you want the rest of your life to start as soon as possible. -- Billy Crystal