From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: dired doesn't work properly with a multibyte locale Date: 23 Jan 2003 15:12:15 +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> 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 1043302369 10858 80.91.224.249 (23 Jan 2003 06:12:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2003 06:12:49 +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 18babX-0002p0-00 for ; Thu, 23 Jan 2003 07:12:47 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18badf-000368-00 for ; Thu, 23 Jan 2003 07:14:59 +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 18babj-0006eZ-02 for emacs-devel@quimby.gnus.org; Thu, 23 Jan 2003 01:12:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18babS-0006dg-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 01:12:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18babQ-0006cP-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 01:12:41 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.202]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18babP-0006aw-00; Thu, 23 Jan 2003 01:12:40 -0500 Original-Received: from mailgate3.nec.co.jp ([10.7.69.194])h0N6CTU16667; Thu, 23 Jan 2003 15:12:29 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate3.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h0N6CSi12857; Thu, 23 Jan 2003 15:12:28 +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 h0N6CFq02595; Thu, 23 Jan 2003 15:12:27 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id h0N6CFB07963; Thu, 23 Jan 2003 15:12:15 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 882D237BD; Thu, 23 Jan 2003 15:12:15 +0900 (JST) Original-To: Kenichi Handa System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200301230602.PAA07755@etlken.m17n.org> Original-Lines: 24 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:10990 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10990 Kenichi Handa writes: > > This patch seems to work well for me (it correctly parses directories > > that are completely screwed up by the old code). > > Thank you for testing it. I've just installed that patch in > HEAD. I did find one case where things still don't seem to work properly: If there's a file containing a newline, then if LANG=C, dired can correctly deal with it (e.g., I can put the cursor on it and hit RET, and it visits that file), but if LANG=ja_JP.eucjp, then it correctly displays all _other_ files, but you can't use RET to visit the newline-in-the-file-name file (it says `File no longer exists; type `g' to update Dired buffer'). Since other files work OK in that case, the offsets must be correct, but perhaps the chunk-decoding screws up the newline somehow? Does there need to be some sort of fiddling with eol-type? -Miles -- A zen-buddhist walked into a pizza shop and said, "Make me one with everything."