From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Replacement for C-x 8 based on input methods Date: 15 May 2002 10:21:43 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <87sn4urb7w.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021425837 5274 127.0.0.1 (15 May 2002 01:23:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 01:23:57 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177nWG-0001Mx-00 for ; Wed, 15 May 2002 03:23:56 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177nhY-0005MM-00 for ; Wed, 15 May 2002 03:35:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177nWS-0001j2-00; Tue, 14 May 2002 21:24:08 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 177nUJ-0001eZ-00; Tue, 14 May 2002 21:21:56 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g4F1LlR21033; Wed, 15 May 2002 10:21:47 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g4F1LkL27187; Wed, 15 May 2002 10:21:46 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g4F1Liu06015; Wed, 15 May 2002 10:21:45 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g4F1LiK25512; Wed, 15 May 2002 10:21:44 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 020BC37C8; Wed, 15 May 2002 10:21:43 +0900 (JST) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 23 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3946 I think it would also be nice to move the guts of that function into something like `insert-input-method-char', which takes the input method as an argument, and then have `insert-with-secondary-input-method' call it. Then it's easy for people define their own specialized versions (if say they just really need to insert both latin1 and russian characters occasionally, but want to use chinese as their default input method). [I say this, instead of making `insert-with-secondary-input-method' take an optional argument, because I think the name's not quite right if you do that -- the term `secondary' is misleading if you're not actually using a distinguished secondary input method.] You could even make `insert-input-method-char' be interactive, with the argument optional and defaulting to `current-input-method'; that way people could define a prefix to use instead of toggling the input method on and off (some people may prefer it). -Miles -- [|nurgle|] ddt- demonic? so quake will have an evil kinda setting? one that will make every christian in the world foamm at the mouth? [iddt] nurg, that's the goal