carbon2-commit: Use the carbon infrastructure to determine the language environment.

Aidan Kehoe kehoea at parhasard.net
Mon Dec 24 06:06:49 EST 2007


 Ar an ceathrú lá is fiche de mí na Nollaig, scríobh Stephen J. Turnbull: 

 > QUERY
 > 
 > This is probably a bad idea.  XEmacs/Mule is POSIX-oriented.  As such
 > it should be controlled by the POSIX locale.  I suspect that "the
 > Carbon infrastructure" pays attention to whatever it is that the Mac
 > uses instead of POSIX locales under normal conditions, and it is a
 > massive PITA to deal with this Mac exceptionalism when something in
 > the locales goes weird.

#'carbon-current-locale just passes back a POSIX locale string. The only
incompatibility I can realistically imagine will be in showing the logic
behind the locale settings in #'report-xemacs-bug; and see
http://mid.gmane.org/18187.60360.900893.282407@parhasard.net for a case
where knowing the Carbon locale in XEmacs can be a real win.

 > Aidan Kehoe writes:
 > 
 >  > 2007-12-23  Aidan Kehoe  <kehoea at parhasard.net>
 >  > 
 >  > 	* mule/mule-cmds.el (init-locale-at-early-startup):
 >  > 	If #'carbon-current-locale is available, use it when determining
 >  > 	the language environment at startup.

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?




More information about the XEmacs-Patches mailing list