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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Reitter <david.reitter <at> gmail.com>
Subject: bug#4151: closed (Re: bug#4151: non-utf locale leads to errors in
 `decode-coding-region' (dired))
Date: Thu, 11 Feb 2016 20:56:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#4151: non-utf locale leads to errors in `decode-coding-region' (dired)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 4151 <at> debbugs.gnu.org.

-- 
4151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4151
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Reitter <david.reitter <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 4151-done <at> debbugs.gnu.org
Subject: Re: bug#4151: non-utf locale leads to errors in
 `decode-coding-region' (dired)
Date: Thu, 11 Feb 2016 15:55:47 -0500
On Feb 11, 2016, at 3:45 PM, Alan Third <alan <at> idiocy.org> wrote:
> 
> Hi, I can't reproduce this with Emacs 25. Are you still seeing this
> problem with a recent build?

I do not.  It seems to have been fixed.

Thanks for checking on it.  Closing the bug.



[Message part 3 (message/rfc822, inline)]
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.