unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@ni.aist.go.jp>
To: Reiner Steib <Reiner.Steib@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Activating input method globally
Date: Tue, 06 Nov 2007 10:15:07 +0900	[thread overview]
Message-ID: <E1IpD23-0004mr-9D@etlken.m17n.org> (raw)
In-Reply-To: <v9d4urtab2.fsf@marauder.physik.uni-ulm.de> (message from Reiner Steib on Sat, 03 Nov 2007 20:10:09 +0100)

In article <v9d4urtab2.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> writes:

> 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.

Currently we don't have such a facility.

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

Yes, if text mode is the only mode you want to activate an
input method automatically.

---
Kenichi Handa
handa@ni.aist.go.jp

  reply	other threads:[~2007-11-06  1:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03 19:10 Activating input method globally Reiner Steib
2007-11-06  1:15 ` Kenichi Handa [this message]
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=E1IpD23-0004mr-9D@etlken.m17n.org \
    --to=handa@ni.aist.go.jp \
    --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).