[OS X Emacs] Re: Return of dired mode problems like in Aquaemacs 1.7

David Reitter david.reitter at gmail.com
Sat Aug 15 08:12:32 EDT 2009


On Aug 13, 2009, at 1:15 PM, Peter Dyballa wrote:
>
> Bad that nothing works! Actually I see similiar things in my self- 
> compiled (Cocoa) Emacs.app: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3710 
> . I get in dired "File no longer exists;..." although I can easily  
> isearch for file or directory names with umlauts. And it does not  
> work to open such a file via C-x C-f.  So it looks like a serious  
> bug in the handling of decomposed Unicode characters, which both HFS  
> and UFS return. And therefore it has nothing to do with dired, which  
> simply presents what ls or gls deliver.

FYI see the report below, describing what I think is part of the  
problem.  Uwe's locale settings are a bit unusual.


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!



Begin forwarded message:

> From: David Reitter <david.reitter at gmail.com>
> Date: August 15, 2009 8:10:32 AM EDT
> To: Bug-Gnu-Emacs <bug-gnu-emacs at gnu.org>
> Subject: non-utf locale leads to errors in `decode-coding- 
> region' (dired)
>
> 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)
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090815/4fcb8a3a/attachment.p7s>


More information about the MacOSX-Emacs mailing list