all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Activating input method globally
@ 2007-11-03 19:10 Reiner Steib
  2007-11-06  1:15 ` Kenichi Handa
  0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2007-11-03 19:10 UTC (permalink / raw)
  To: emacs-devel

Hi,

the manual says that `set-input-method' sets the input method buffer
locally:

,----[ (info "(emacs)Select Input Method") ]
|    To choose an input method for the current buffer, use `C-x <RET>
| C-\' (`set-input-method').
`----

It doesn't mention how to set it globally (AFAICS).  What is the
recommended way to achieve this?  I think this should be documented.

The best I could think about was adding `set-input-method' to
`text-mode-hook':

(add-hook 'text-mode-hook
	  (lambda () (set-input-method "german-prefix")))

Background: This question popped up several times in German speaking
Emacs/Gnus-related newsgroups.  Some users use an American keyboard
layout, but want to type German non-ascii characters (cf. `M-x
describe-input-method RET german-...').

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

end of thread, other threads:[~2007-11-06 21:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 19:10 Activating input method globally Reiner Steib
2007-11-06  1:15 ` Kenichi Handa
2007-11-06  8:37   ` Richard Stallman
2007-11-06 11:20     ` Kenichi Handa
2007-11-06 16:23     ` Mathias Dahl
2007-11-06 21:35   ` Reiner Steib

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.