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

Uwe Pieczynski uwe at piehome.de
Sat Aug 15 20:22:29 EDT 2009


Now I got it.
Error is only in Aquaemacs 2.0p2.

In Carbon Emacs (Emacs.app) and /usr/bin/emacs everything works fine.
As a workaround I set in .emacs (Homedir) the following lines:
[...]
(setenv "LC_CTYPE" "de_DE.UTF-8")
(setenv "LANG" "de_DE.UTF-8")
 [...]

With this lines Aquaemacs 2.0p2 is fine too.

Greetings, Uwe

David Reitter schrieb:
> On Aug 15, 2009, at 1:59 PM, Peter Dyballa wrote:
>>>> 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.
>>
>> Interestingly this works with the X client version! The problem it
>> has, is with the date of a file:
>>
>>  -rw-r--r--    1 pete  admin    15421 29 Nov  2004 EnvironmentVars.html
>>  -rw-r--r--    1 pete  admin    13601 16 M\344r  2005 Georgisch
>>
>> The other problem is with displaying a directory or file name with
>> umlaut in mode-line: instead of using the composed character from the
>> font its constituents are taken from various fonts and thrown together...
>>
>>
>> Your problem in Emacs.app is easily reproduced by having a clean 7-bit
>> directory with clean 7-bit files – and at least one entry with a date
>> that has an umlaut, for example: Mär!
>>
>> When LC_CTYPE and LANG are de_DE.UTF-8 then this month name does *not*
>> produce an error:
>>
>>  lrwxr-xr-x     1 root  admin       11  7 Mär 13:46 etc -> private/etc
>>
>> After any error has occurred, this fine presentation is destroyed and
>> we're back at M\344r!
> 
> OK, so I can't reproduce this easily with Emacs.app, that is, with a
> vanilla build of Emacs 23.1 (or its CVS branch that is, NextStep port).
> 
> I can reproduce it with Aquamacs 2.0-series.
> 
> How do you reproduce?  Where do you set these env vars, in Emacs with
> setenv, or in the login shell, or in the parent process that starts
> Emacs (e.g., Terminal/shell)?
> 
> Thanks
> - David
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx




More information about the MacOSX-Emacs mailing list