help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: activate input method


From: Andreas Röhler
Subject: Re: activate input method
Date: Tue, 29 May 2012 19:49:27 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0

Am 28.05.2012 21:18, schrieb harven:
I am using this code to automatically activate the default input method
when a file is created.

  (add-hook 'find-file-hook
           (lambda () (activate-input-method default-input-method)))

But it does not handle buffers that are not related to a file, e.g.
buffers created using the switch-to-buffer command.
Is there a way to activate the input method for these newly created buffers ?

Thanks.


if all buffer are in same mode, maybe bind it at the resp. mode-hook?




reply via email to

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