unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* activate input method
@ 2012-05-28 19:18 harven
  2012-05-29 17:49 ` Andreas Röhler
       [not found] ` <mailman.1873.1338313782.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: harven @ 2012-05-28 19:18 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-30 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-28 19:18 activate input method harven
2012-05-29 17:49 ` Andreas Röhler
     [not found] ` <mailman.1873.1338313782.855.help-gnu-emacs@gnu.org>
2012-05-30 15:51   ` harven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).