GNU bug report logs - #4151
non-utf locale leads to errors in `decode-coding-region' (dired)

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Sat, 15 Aug 2009 12:30:04 UTC

Severity: normal

Tags: unreproducible

Done: David Reitter <david.reitter <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: non-utf locale leads to errors in `decode-coding-region' (dired)
Date: Sat, 15 Aug 2009 08:10:32 -0400
With

export LANG=de_DE.ISO8859-15

on a Mac (NS port), and a directory that contains a folder named  
"Tätää"(i.e. a German umlaut), viewing the directory with `dired'  
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  
so)
2. with this locale, "ls -la" will not output utf-8-nfd, even though  
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)





This bug report was last modified 9 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.