From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: dired doesn't work properly with a multibyte locale Date: Thu, 23 Jan 2003 15:02:02 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301230602.PAA07755@etlken.m17n.org> References: <200301151043.TAA09856@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1043301795 9477 80.91.224.249 (23 Jan 2003 06:03:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2003 06:03:15 +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 18baSH-0002SZ-00 for ; Thu, 23 Jan 2003 07:03:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18baUO-00030q-00 for ; Thu, 23 Jan 2003 07:05:24 +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 18baTZ-0007z4-00 for emacs-devel@quimby.gnus.org; Thu, 23 Jan 2003 01:04:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18baSO-0007C1-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 01:03:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18baS5-00070G-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 01:03:03 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18baRE-0005a5-00; Thu, 23 Jan 2003 01:02:08 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h0N623k10904; Thu, 23 Jan 2003 15:02:03 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h0N622R25356; Thu, 23 Jan 2003 15:02:03 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id PAA07755; Thu, 23 Jan 2003 15:02:02 +0900 (JST) Original-To: miles@gnu.org In-reply-to: (message from Miles Bader on 23 Jan 2003 13:31:36 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Original-cc: rms@gnu.org Original-cc: emacs-pretest-bug@gnu.org 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:10989 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10989 In article , Miles Bader writes: >> Yes. I think that is the correct fix. ... we can preserve >> the text-property `dired-filename' by decoding one bunch by >> one. Could you please try the attached patch? > This patch seems to work well for me (it correctly parses directories > that are completely screwed up by the old code). > Richard Stallman writes: >> That is a clever solution. It might be slow, but perhaps it is fast >> enough for the job at hand. Miles, do you find it fast enough? > It doesn't seem any noticably slower than the old dired on my system > (both take some time to display a large directory, but I don't notice > any difference between them). Thank you for testing it. I've just installed that patch in HEAD. --- Ken'ichi HANDA handa@m17n.org