From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4839: 23.1.50; *Buffer List* -- incorrect handling of multibyte characters? Date: Mon, 02 Nov 2009 04:08:16 -0500 Message-ID: References: <87eiojy8tp.fsf@gmail.com> Reply-To: Glenn Morris , 4839@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257154112 7368 80.91.229.12 (2 Nov 2009 09:28:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2009 09:28:32 +0000 (UTC) Cc: 4839@emacsbugs.donarmstrong.com To: stepnem@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 10:28:25 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4tCO-00054N-V9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 10:27:42 +0100 Original-Received: from localhost ([127.0.0.1]:49102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4tCN-00042Y-P0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 04:27:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4tC7-0003sJ-84 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 04:27:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4tC2-0003p7-8P for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 04:27:22 -0500 Original-Received: from [199.232.76.173] (port=47161 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4tC2-0003ow-5F for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 04:27:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45730) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4tC1-0004bm-Lz for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 04:27:17 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA29RFoi029710; Mon, 2 Nov 2009 01:27:15 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA29F4cs028436; Mon, 2 Nov 2009 01:15:04 -0800 Resent-Date: Mon, 2 Nov 2009 01:15:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 02 Nov 2009 09:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4839 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4839-submit@emacsbugs.donarmstrong.com id=B4839.125715289827863 (code B ref 4839); Mon, 02 Nov 2009 09:15:03 +0000 Original-Received: (at 4839) by emacsbugs.donarmstrong.com; 2 Nov 2009 09:08:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA298GeU027860 for <4839@emacsbugs.donarmstrong.com>; Mon, 2 Nov 2009 01:08:18 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N4stc-0002Ec-5P; Mon, 02 Nov 2009 04:08:16 -0500 X-Spook: Venezuela Nazi spies World Trade Center SAPO Clinton X-Ran: &Cg1C,<"4,i5iP1r\'fVCyF\]RR)Ftvl}x+n1.f1QkK@NG|y(`C_:,VE~-(;`zuYi0j`[& X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 02 Nov 2009 04:27:22 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32370 Archived-At: stepnem@gmail.com wrote: > Here is a part of my *Buffer List*: > > desktop-menu.el 20228 Emacs-Lisp ~/.emacs.d/load/desktop= -menu.el [...] > =E9=9D=A2=E7=84=A1=E4=BA=BA=E8=89=B2.org 11681 Org = ~/Documents/ling/cn/=E9=9D=A2=E7=84=A1=E4=BA=BA=E8=89=B2.org > xhc.org 1833 Org ~/Documents/ling/cn/xhc= .org > =E8=AF=8D=E5=85=B8.org 2940 Org ~/Documen= ts/ling/cn/=E8=AF=8D=E5=85=B8.org [...] > All the `Org' lines, with exception of `xhc.org', are misaligned. When I copy and paste your buffer names, the issue seems to be that `string-width' returns an incorrect value (eg 13 when the buffer name actually seems to occupy 12). Although some of these characters seem to have a non-integer width on my system, so I don't see that it is possible to get this right. But it still looks more wrong than it should be (off by > 1 character).