all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4151: non-utf locale leads to errors in `decode-coding-region' (dired)
@ 2009-08-15 12:10 David Reitter
  2009-08-15 13:33 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Reitter @ 2009-08-15 12:10 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

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)







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-11 21:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-15 12:10 bug#4151: non-utf locale leads to errors in `decode-coding-region' (dired) David Reitter
2009-08-15 13:33 ` Eli Zaretskii
2009-08-18  2:28 ` Kenichi Handa
2016-02-11 20:45 ` Alan Third
2016-02-11 20:55   ` David Reitter
2016-02-11 21:21   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.