From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Swapping default input method: why so complicated? Date: Mon, 15 Nov 2010 15:15:16 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd3y9tln.fsf@lifelogs.com> References: <874obiofmc.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291888967 22151 80.91.229.12 (9 Dec 2010 10:02:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 10:02:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 11:02:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQdKl-0003PJ-0A for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 11:02:43 +0100 Original-Received: from localhost ([127.0.0.1]:53892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQdKj-0007TX-NL for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:02:41 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.albasani.net HBZahaz04p2Kjac3iU+GuI53YTf0w9AegJ3MKLwCnh/RX1wO2G1IivC1ln7oBtzBXYDyDWbT2Xaw9IMiIUzVApR/UtE1qL6MqqoZsylLDPyeL8bnVlAFLm51JfYxXQzo Original-NNTP-Posting-Date: Mon, 15 Nov 2010 21:15:16 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:Xnn2oqP34p28tMT1TwqpS4Gr3pU= sha1:RTS8sRiT+RUPjccx0Ns7kc0j5T4= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Injection-Info: news.albasani.net; logging-data="Ytzb/ULgd5GZ8wlSOGEc3e37jSzPZ0OmdutEp1ElKx72UpKDAuhKEQvvhr6mAvFpFHVsXPJA1IdkXQ+79n3o6+C7AEyFeTL9CzkVxt4lp1NysyCf9OdpzeUMfNf3wBPX"; mail-complaints-to="abuse@albasani.net" Original-Xref: usenet.stanford.edu gnu.emacs.help:182445 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76942 Archived-At: On Mon, 15 Nov 2010 14:55:55 +0100 pjb@informatimago.com (Pascal J. Bourguignon) wrote: PJB> Ilya Zakharevich writes: >> I'm trying to do what I consider a very typical requirement: swap two >> values of default input method. Unfortunately, I could not find any >> documented solution (outside of info-manuals, just using f1 v and f1 >> f). To get it working, I was forced to inspect the sources... Is >> there a simpler solution? PJB> What is complicated in typing C-\ which is bound to PJB> toggle-input-method by default? PJB> You just use: PJB> M-x set-input-method RET cyrillic-yawerty RET PJB> M-x set-input-method RET cyrillic-jcuken RET PJB> to select your two input methods, and then type C-\ That only toggles the last input method that was set. Hence my suggestion about cycling (by explicit command or implicitly by setting the input method to a list). Ted