[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Mac: set-language-environment trashes default-file-name-

From: Richard Stallman
Subject: address@hidden: Mac: set-language-environment trashes default-file-name-coding-system]
Date: Mon, 06 Nov 2006 00:02:03 -0500

Would someone please DTRT?

Maybe it would be better on MacOS to ignore
default-file-name-coding-system and alays use `utf-8'.  Or maybe
reset-language-environment should avoid setting that variable.

------- Start of forwarded message -------
To: address@hidden
From: Benjamin Riefenstahl <address@hidden>
Date: Sat, 04 Nov 2006 01:07:08 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Mac: set-language-environment trashes
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 

Hi all,

- - Start Emacs as emacs -q. 
- - default-file-name-coding-system is set to `utf-8'. 
- - M-x set-language-environment RET UTF-8 RET. 
- - default-file-name-coding-system is now set to `iso-latin-1' (!). 

On Mac OS X the encoding of filenames is always UTF-8.

The problem occurs in the implementation of set-language-environment
in mule-cmds.el.  set-language-environment calls
reset-language-environment which sets default-file-name-coding-system
to iso-latin-1 unconditionally.  After that, set-language-environment
calls set-default-coding-systems but that function avoids setting
default-file-name-coding-system specifically on Darwin/Mac OS X.


emacs-pretest-bug mailing list
------- End of forwarded message -------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]