From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: bug#4151: non-utf locale leads to errors in `decode-coding-region' (dired) Date: Sat, 15 Aug 2009 08:10:32 -0400 Message-ID: <14BCF4EE-ACCD-401B-8072-24112978DCBD@gmail.com> Reply-To: David Reitter , 4151@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1074) Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250340431 2155 80.91.229.12 (15 Aug 2009 12:47:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 12:47:11 +0000 (UTC) To: Bug-Gnu-Emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 14:47:04 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 1McIf1-000600-J3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 14:47:04 +0200 Original-Received: from localhost ([127.0.0.1]:40055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McIf1-0004Mz-3X for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 08:47:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McIev-0004Mt-RZ for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:46:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McIeq-0004Mh-Mg for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:46:57 -0400 Original-Received: from [199.232.76.173] (port=46652 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McIeq-0004Ma-Gh for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:46:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40346) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McIep-0002ae-Sk for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:46:52 -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 n7FCknd8020958; Sat, 15 Aug 2009 05:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7FCU4mc018321; Sat, 15 Aug 2009 05:30:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Reitter Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 12:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125033887617031 (code B ref -1); Sat, 15 Aug 2009 12:30:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2009 12:21:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FCLE7K017028 for ; Sat, 15 Aug 2009 05:21:16 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McIG2-0006dA-9O for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:21:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McIG0-0006cy-9p for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:21:12 -0400 Original-Received: from [199.232.76.173] (port=36796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McIG0-0006cv-30 for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:21:12 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.147]:24432) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McI5p-0006G6-Nm for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 08:10:42 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 5so1169935qwf.24 for ; Sat, 15 Aug 2009 05:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=eML6IMvKB6NPtqDSHOtkqm9XAwOyZOQ1zBaggbM/Bwo=; b=iCyCgcz39eSX4/ecimME3b5Ukqc26i24f+zyjtnKWPCXI4XDxhF/wQspiCLO+G2mx6 6LrdV1ckzo8ZQErnZxkX5PB4IxeynaxCjx7H4dPpKZmDbTjWfZX+7ZI1jG9jVz9xOuND 0bc3gz9z2uMFjpekY0reSw6FoWgLoBOf7LQPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=q1Nca/XDhsov9VdIqYgiTgd5UlZbauxN2YWjZ8vvtOI3+uP7cFpS4tGmt5zhFguetb 3UPTwGGusT6UuKPG33F4xB6Ok0cckrRb67UXVsS5EQyE0QqADqlBe6Xn3XMGQIa4HM51 tNkukKF4HJ36RevFGt6DcJAn0AdE8iIRzSO3A= Original-Received: by 10.224.29.131 with SMTP id q3mr3068156qac.264.1250338237226; Sat, 15 Aug 2009 05:10:37 -0700 (PDT) Original-Received: from scarlett.local (pool-72-95-245-237.pitbpa.east.verizon.net [72.95.245.237]) by mx.google.com with ESMTPS id 5sm5242386qwg.20.2009.08.15.05.10.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 Aug 2009 05:10:36 -0700 (PDT) X-Mailer: Apple Mail (2.1074) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 15 Aug 2009 08:46:57 -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:30198 Archived-At: With export LANG=3Dde_DE.ISO8859-15 on a Mac (NS port), and a directory that contains a folder named =20 "T=E4t=E4=E4"(i.e. a German umlaut), viewing the directory with `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) 2. with this locale, "ls -la" will not output utf-8-nfd, even though =20 it seems that we expect this. Debugger entered--Lisp error: (wrong-type-argument wholenump nil) decode-coding-region(1 8177 utf-8-nfd) insert-directory("/Users/dr/" "-al" nil t) dired-insert-directory("/Users/dr/" "-al" nil nil t) dired-readin-insert() dired-readin() dired-internal-noselect("~/" nil) dired-noselect("~/") run-hook-with-args-until-success(dired-noselect "~/") find-file-noselect("~/" nil nil t)