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:02:44 +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> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044263252 32557 80.91.224.249 (3 Feb 2003 09:07:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 09:07:32 +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 18fcZd-0008Sk-00 for ; Mon, 03 Feb 2003 10:07:29 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18fch9-0005Nh-00 for ; Mon, 03 Feb 2003 10:15:16 +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 18fcaB-0000C3-06 for emacs-devel@quimby.gnus.org; Mon, 03 Feb 2003 04:08:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18fcY4-00088h-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 04:05:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18fcWG-000703-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 04:04:01 -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 18fcVU-0006O7-00; Mon, 03 Feb 2003 04:03:12 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193])h1392lw29176; Mon, 3 Feb 2003 18:02:48 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h1392lo07932; Mon, 3 Feb 2003 18:02:47 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id h1392jH05986; Mon, 3 Feb 2003 18:02:45 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id h1392jB13889; Mon, 3 Feb 2003 18:02:45 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id ED95B36F6; Mon, 3 Feb 2003 18:02:44 +0900 (JST) Original-To: Kenichi Handa System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200302030840.RAA24766@etlken.m17n.org> Original-Lines: 18 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:11303 gmane.comp.gnu.core-utils.bugs:98 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11303 Kenichi Handa writes: > I read his mail again, and found that the bug is not in > chars vs bytes, but columns vs bytes. > > So, ja_JP.eucJP was not a good example because, in that > locale, column numbers and bytes are equal. > > Please try some UTF-8 locale (e.g. en_US.UTF-8) with Latin-1 > filenames. I believe that the current dired will be > confused. Um, yes. If LANG=en_US.utf-8, then ls's output seems to be correct, counting by bytes, but dired screws it up for some reason... I thought the current dired was supposed to also count by bytes? -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.