From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Activating input method globally Date: Tue, 06 Nov 2007 10:15:07 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1194311793 8593 80.91.229.12 (6 Nov 2007 01:16:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 01:16:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Reiner Steib Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 06 02:16:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IpD3P-00079a-Rx for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 02:16:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpD3E-0003Xp-UY for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 20:16:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpD2o-00036I-A7 for emacs-devel@gnu.org; Mon, 05 Nov 2007 20:15:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpD2n-000357-6n for emacs-devel@gnu.org; Mon, 05 Nov 2007 20:15:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpD2m-00034q-Tq for emacs-devel@gnu.org; Mon, 05 Nov 2007 20:15:52 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpD2i-00060O-1X for emacs-devel@gnu.org; Mon, 05 Nov 2007 20:15:52 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id lA61FCYt010121; Tue, 6 Nov 2007 10:15:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id lA61F8Qb020923; Tue, 6 Nov 2007 10:15:08 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id lA61F7X3011261; Tue, 6 Nov 2007 10:15:07 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IpD23-0004mr-9D; Tue, 06 Nov 2007 10:15:07 +0900 In-reply-to: (message from Reiner Steib on Sat, 03 Nov 2007 20:10:09 +0100) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82608 Archived-At: In article , Reiner Steib 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 > | 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