From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#4839: 23.1.50; *Buffer List* -- incorrect handling of multibyte characters? Date: Mon, 2 Nov 2009 16:21:17 +0100 Message-ID: <20091102152117.GA14203@headley> References: <87eiojy8tp.fsf@gmail.com> Reply-To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= , 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 1257175659 18786 80.91.229.12 (2 Nov 2009 15:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2009 15:27:39 +0000 (UTC) Cc: 4839@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 16:27:31 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 1N4yob-0001Z9-Hp for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 16:27:30 +0100 Original-Received: from localhost ([127.0.0.1]:45812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4yoa-0001os-NI for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 10:27:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4yoV-0001n4-BC for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 10:27:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4yoQ-0001jv-Kn for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 10:27:22 -0500 Original-Received: from [199.232.76.173] (port=52028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4yoQ-0001jn-H3 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 10:27:18 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52010) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4yoP-0004Yn-Vy for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2009 10:27:18 -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 nA2FRFcQ031023; Mon, 2 Nov 2009 07:27:16 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA2FPDb3030818; Mon, 2 Nov 2009 07:25:13 -0800 Resent-Date: Mon, 2 Nov 2009 07:25:13 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 02 Nov 2009 15:25:13 +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.125717524330517 (code B ref 4839); Mon, 02 Nov 2009 15:25:13 +0000 Original-Received: (at 4839) by emacsbugs.donarmstrong.com; 2 Nov 2009 15:20:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA2FKf8e030514 for <4839@emacsbugs.donarmstrong.com>; Mon, 2 Nov 2009 07:20:42 -0800 Original-Received: by bwz27 with SMTP id 27so8219041bwz.1 for <4839@emacsbugs.donarmstrong.com>; Mon, 02 Nov 2009 07:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=tRTmVcmEZbRzKiDEfFR+MXtp5Hy1vrOzphuJkh5udUc=; b=WzhunTgkuS4XWutnLel82Vl6FZyAAJcHHLy3vXxTgVLUQzbHOsdxfZYV91qcU9JnWE PcGU1Tm/3/JlheN9w2mfbkQ2ofs/UMDD6S5/y50Z658QA3nh172ltRTwNtVLx1pd97Ia DCOSfEValqA0dXZyRtaF8vvw3sPUJJ0OLKRlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=R4sCxZhW5QMxIEAk/ZpM9VTqLIMFaCjRzoqqXme2MgL2+30LGpgt7TvZmWED5dGNV7 vSd3RQNrAepUaq3l12c1+HVko19W07KISzZq9Hyox838OU9hO0fMajFVSt7Xlc+3acB7 79smzLoiEawCQrYNevwAKQXgnkQHUlr7fSTu0= Original-Received: by 10.204.153.3 with SMTP id i3mr4039152bkw.26.1257175235055; Mon, 02 Nov 2009 07:20:35 -0800 (PST) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id d13sm6451376fka.22.2009.11.02.07.20.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Nov 2009 07:20:34 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-27) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id nA2FRFcQ031023 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 02 Nov 2009 10: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:32372 Archived-At: On Mon, Nov 02, 2009 at 04:08:16AM -0500, Glenn Morris wrote: > stepnem@gmail.com wrote: >=20 > > Here is a part of my *Buffer List*: > > > > desktop-menu.el 20228 Emacs-Lisp ~/.emacs.d/load/des= ktop-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 ~/Doc= uments/ling/cn/=E8=AF=8D=E5=85=B8.org > [...] > > All the `Org' lines, with exception of `xhc.org', are misaligned. >=20 > 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). Yes -- when I view your quotation from my mail above in Mutt, it's aligned correctly, but as soon as I cut & paste it into an Emacs buffer, it's misaligned again, the exact same way as displayed in the *Buffer Lis= t*...