On 2007/11/06, at 21:34, Wen Zhang wrote:
>
> The related lines are
>  (set-language-environment "Chinese-GB")
>  (set-default-coding-systems 'utf-8)
>  (set-keyboard-coding-system 'utf-8)
>  (set-clipboard-coding-system 'utf-8)
>  (set-terminal-coding-system 'utf-8)
>  (prefer-coding-system 'utf-8)
>
> I just spotted the problem, I can't evoke system's input method in
> Emacs.  It's queer.
>
Put (setq default-input-method 'MacOSX) *after* the above lines.
I think (set-language-environment) overwrites default-input-method.
The system input method works when default-input-method is set to  
MacOSX.

Seiji

> On 11/7/07, Seiji Zenitani <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I can use Chinese input method without any customization
>> (.emacs/.emacs.el) in both English and Japanese environments.  Try
>> again without your .emacs.el, or send language-related lines in
>> your .emacs to this mailing list.
>>
>> Seiji
>>
>> On 2007/11/06, at 13:28, Wen Zhang wrote:
>>>
>>> Hi,
>>> I tried to add
>>>
>>>  (mac-input-method-mode 1)
>>>  (setq default-input-method 'MacOSX)
>>>
>>> in my .emacs but found I couldn't input Chinese characters in emacs
>>> using system's input method.
>>>
>>> How can I enable this?
>>

--~--~---------~--~----~------------~-------~--~----~
"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