From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: multiple input methods (was: adding consistent extra symbols to input methods) Date: Mon, 28 Jul 2008 16:30:33 +0300 Organization: JURTA Message-ID: <87r69euoee.fsf_-_@jurta.org> References: <86lk19mmua.fsf@lifelogs.com> <87tzfvj16y.fsf@uwakimon.sk.tsukuba.ac.jp> <86lk12zee7.fsf@lifelogs.com> <86r6acqbif.fsf@lifelogs.com> <864p76lp60.fsf_-_@lifelogs.com> <87ej66ubkv.fsf@jurta.org> <8763rh73l5.fsf@jurta.org> <87ej5yqs5j.fsf@catnip.gol.com> <87fxqd4te3.fsf@jurta.org> <87skuckusq.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217253329 12534 80.91.229.12 (28 Jul 2008 13:55:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 13:55:29 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, tzz@lifelogs.com, monnier@iro.umontreal.ca, miles@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 15:56:16 2008 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 1KNTCx-0003FX-Ta for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 15:56:16 +0200 Original-Received: from localhost ([127.0.0.1]:44192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNTC3-0002gE-M6 for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 09:55:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNT8D-0000Ys-Pj for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNT8C-0000YK-Ue for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:21 -0400 Original-Received: from [199.232.76.173] (port=48617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNT8C-0000YG-OD for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:20 -0400 Original-Received: from smtp-out.neti.ee ([194.126.126.37]:43590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNT80-0006FJ-PW; Mon, 28 Jul 2008 09:51:09 -0400 X-Virus-Scanned: Debian amavisd-new at estpak.ee Original-Received: from Relayhost2.neti.ee (Relayhost2 [88.196.174.142]) by MXR-8.estpak.ee (Postfix) with ESMTP id BDD3D144CC7; Mon, 28 Jul 2008 16:51:02 +0300 (EEST) Original-Received: from mail.estpak.ee (66.132.191.90.dyn.estpak.ee [90.191.132.66]) by Relayhost2.neti.ee (Postfix) with ESMTP id ED8A81FB0B9; Mon, 28 Jul 2008 16:50:59 +0300 (EEST) In-Reply-To: (Kenichi Handa's message of "Tue, 15 Jul 2008 10:24:46 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:101638 Archived-At: >> > My original patch intends that "preposition" input methods >> > are what handled before the normal input method (as >> > documented). > >> I'm not sure if "preposition" is the right English word here. > > Me neither. Anyway, it is an input method handled before > the normal input method. So it has the same meaning as e.g. the command `pre-command-hook' that runs a hook before each command? But I doubt that the word "pre" in its name stands for "preposition". Maybe we could do the same and name new methods using the same short word "pre"? E.g. activate-pre-input-method inactivate-pre-input-method >>>> global-input-method-list -> remove this variable since there is >>>> no global variant of `current-input-method'. >> > >> > ??? A preposition input method can be activated globally >> > when recorded in global-input-method-list. In that case, in >> > any buffer, when you activate a normal input method, that >> > preposition input method is also activated automatically. >> > Isn't it useful? > >> This is useful, but I think it should work exactly like a single input >> method works now, i.e. since a global single input method is defined by the >> variable `default-input-method', so an additional/preposition/subsidiary >> input method should be defined by a similar global variable like e.g. >> `default-input-methods' (note the plural `s' at the end of the name) or >> `default-input-method-list'. > > Ah, I see your point. But, I think that the preposition > input methods is a little bit different from the normal > single input method because even if we activate the > different single input method, the same preposition input > methods are activated. Though, I'm not sure that this > behaviour is the best. It looks convenient for those people > who switches multiple input methods but wants a consistent > key binding for inputting specific characters. But, perhaps > most users don't switches multiple input methods. I think we should provide UI that activates the normal single input method and all pre input methods at the same time. So a sequence `C-\ IM1,IM2,IM3 RET' will set the normal single input method to IM1, and set pre input methods to a list '(IM2 IM3). -- Juri Linkov http://www.jurta.org/emacs/