Dear Mahn-Soo,

On 2007/11/09, at 22:35, Mahn-Soo Choi wrote:
>
> The line
>  (setq default-input-method 'MacOSX)
> should read
>  (setq default-input-method "MacOSX")
> (at least for me).
>
Thanks for useful information.

> By the way, why is the line necessary now?
> Before it was set automatically when I set the
> option "Mac-Style Key Bindings", right?

There is no relation between "Mac-Style Key Bindings" and input method.

It seems that inline input method code is integrated into Emacs.   
Input method works, when and only when default-input-method is  
"MacOSX".  The problem is that (set-language-environment ...) sets  
default-input-method to a *platform-independent* one.

In my opinion, (set-language-environment ...) should set it to  
"MacOSX", at least for east Asian languages.  Below is my quick hack  
to emacs/lisp/language/japanese.el.  Similar modification can be  
applied to Chinese and Korean language files.

101c101
<  "Japanese" '((setup-function . setup-japanese-environment-internal)
---
 >  "Japanese" `((setup-function . setup-japanese-environment-internal)
110c110,111
<             (input-method . "japanese")
---
 >            ,(if (eq window-system 'mac) '(input-method . "MacOSX")
 >               '(input-method . "japanese"))


Seiji


--~--~---------~--~----~------------~-------~--~----~
"Carbon Emacs" group mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to