emacs-devel
[Top][All Lists]
Advanced

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

Re: Docstring for system-type


From: Stefan Monnier
Subject: Re: Docstring for system-type
Date: Wed, 12 Jan 2005 13:36:27 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> The darwin string should say "Compile for Mac OS X or Darwin" since it
> works perfectly on GNU-Darwin x86.

Thanks, I didn't know about GNU-Darwin.
Hmmm.... does a GNU-Darwin system also unconditionally use utf-8
encoding for file names, like Mac OS X?

I was thinking of using a change along the lines of (still unstested):


        Stefan


--- orig/lisp/international/mule-cmds.el
+++ mod/lisp/international/mule-cmds.el
@@ -1863,7 +1864,8 @@
 
   (set-default-coding-systems nil)
   (setq default-sendmail-coding-system 'iso-latin-1)
-  (setq default-file-name-coding-system 'iso-latin-1)
+  (setq default-file-name-coding-system
+       (if (eq system-type 'darwin) 'utf-8 'iso-latin-1))
   ;; Preserve eol-type from existing default-process-coding-systems.
   ;; On non-unix-like systems in particular, these may have been set
   ;; carefully by the user, or by the startup code, to deal with the




reply via email to

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