From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.comp.gnu.core-utils.bugs Subject: Re: dired doesn't work properly with a multibyte locale Date: 03 Feb 2003 18:22:11 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200301151043.TAA09856@etlken.m17n.org> <200301230602.PAA07755@etlken.m17n.org> <200301250049.JAA11674@etlken.m17n.org> <200301270501.OAA14427@etlken.m17n.org> <200301271109.UAA14818@etlken.m17n.org> <200302030017.JAA24252@etlken.m17n.org> <200302030211.LAA24365@etlken.m17n.org> <200302030840.RAA24766@etlken.m17n.org> <200302030910.SAA24834@etlken.m17n.org> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1044264426 3563 80.91.224.249 (3 Feb 2003 09:27:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 09:27:06 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18fcsU-0000uq-00 for ; Mon, 03 Feb 2003 10:26:58 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18fd00-0005Yn-00 for ; Mon, 03 Feb 2003 10:34:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18fctw-0001du-09 for emacs-devel@quimby.gnus.org; Mon, 03 Feb 2003 04:28:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18fctU-0001G0-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 04:28:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18fctA-0000tB-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 04:27:40 -0500 Original-Received: from tyo201.gate.nec.co.jp ([210.143.35.51]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18fcpY-0007Uq-00; Mon, 03 Feb 2003 04:23:57 -0500 Original-Received: from mailgate3.nec.co.jp ([10.7.69.194])h139Nhw18343; Mon, 3 Feb 2003 18:23:43 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate52.nec.co.jp [10.7.69.191]) by mailgate3.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h139Nhi10004; Mon, 3 Feb 2003 18:23:43 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id h139MBq28212; Mon, 3 Feb 2003 18:23:05 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id h139MBB13906; Mon, 3 Feb 2003 18:22:11 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 0DCA136F6; Mon, 3 Feb 2003 18:22:11 +0900 (JST) Original-To: Kenichi Handa System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200302030910.SAA24834@etlken.m17n.org> Original-Lines: 16 Original-cc: d.love@dl.ac.uk Original-cc: bug-coreutils@gnu.org Original-cc: emacs-pretest-bug@gnu.org Original-cc: schwab@suse.de X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11305 gmane.comp.gnu.core-utils.bugs:100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11305 Kenichi Handa writes: > > Um, yes. If LANG=3Den_US.utf-8, then ls's output seems to be correct, > > counting by bytes,=20 >=20 > Really? I thought ls's output counts columns, thus, for > instnace, the filename "=C0" is counted as 1, not 2. > Otherwise, the current dired should work well. You seem to be correct, if I create that file, then `ls --dired' says it has a lengh of 1, but of course, it actually has a length of 2 bytes. Will Andrea's patch fix this? -Miles --=20 Run away! Run away!