From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#4151: non-utf locale leads to errors in `decode-coding-region' (dired) Date: Tue, 18 Aug 2009 11:28:12 +0900 Message-ID: References: <14BCF4EE-ACCD-401B-8072-24112978DCBD@gmail.com> Reply-To: Kenichi Handa , 4151@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 1250802391 9303 80.91.229.12 (20 Aug 2009 21:06:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 21:06:31 +0000 (UTC) To: David Reitter , 4151@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 23:06:13 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 1MeEpl-0001zE-Nu for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 23:06:10 +0200 Original-Received: from localhost ([127.0.0.1]:45500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeEpl-0007eQ-3K for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 17:06:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeEpg-0007eK-Sp for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:06:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeEpc-0007e8-Bj for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:06:03 -0400 Original-Received: from [199.232.76.173] (port=37191 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeEpc-0007e5-8w for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:06:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeEpb-0007El-Cf for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:05:59 -0400 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 n7KKkpnm019227; Thu, 20 Aug 2009 13:48:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KKK9Cp013923; Thu, 20 Aug 2009 13:20:09 -0700 Resent-Date: Thu, 20 Aug 2009 13:20:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:20:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4151-submit@emacsbugs.donarmstrong.com id=B4151.125056249528191 (code B ref 4151); Thu, 20 Aug 2009 20:20:08 +0000 Original-Received: (at 4151) by emacsbugs.donarmstrong.com; 18 Aug 2009 02:28:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7I2SDuJ028188 for <4151@emacsbugs.donarmstrong.com>; Mon, 17 Aug 2009 19:28:15 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n7I2SCWp011036; Tue, 18 Aug 2009 11:28:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n7I2SCPW020164; Tue, 18 Aug 2009 11:28:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n7I2SCo9010594; Tue, 18 Aug 2009 11:28:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MdEQm-0006Tj-78; Tue, 18 Aug 2009 11:28:12 +0900 In-reply-to: <14BCF4EE-ACCD-401B-8072-24112978DCBD@gmail.com> (message from David Reitter on Sat, 15 Aug 2009 08:10:32 -0400) X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id n7KKkpnm019227 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 20 Aug 2009 17:06:03 -0400 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:30347 Archived-At: In article <14BCF4EE-ACCD-401B-8072-24112978DCBD@gmail.com>, David Reitte= r writes: > With > export LANG=3Dde_DE.ISO8859-15 > on a Mac (NS port), and a directory that contains a folder named =20 > "T=C3=A4t=C3=A4=C3=A4"(i.e. a German umlaut), viewing the directory wit= h `dired' =20 > fails with an error message. The trace is below. > The bugs here are > 1. `decode-coding-region' signals an error (it is not documented to do = =20 > so) I think it's a bug of ns-utf8-nfd-post-read-conversion that is set for :post-read-conversion of utf-8-nfd. Anyone who wrote it please work on this bug. > 2. with this locale, "ls -la" will not output utf-8-nfd, even though =20 > it seems that we expect this. Please find why default-file-name-coding-system (or file-name-coding-system) is set to ntf-8-nfd. --- Kenichi Handa handa@m17n.org