From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-devel@gnu.org
Subject: Activating input method globally
Date: Sat, 03 Nov 2007 20:10:09 +0100 [thread overview]
Message-ID: <v9d4urtab2.fsf@marauder.physik.uni-ulm.de> (raw)
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/
next reply other threads:[~2007-11-03 19:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-03 19:10 Reiner Steib [this message]
2007-11-06 1:15 ` Activating input method globally 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9d4urtab2.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).