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: composed characters question and suggestions for quail-cyrillic-* Date: Thu, 03 Jul 2008 11:29:53 +0900 Message-ID: References: <86lk19mmua.fsf@lifelogs.com> <485298A4.30000@gnu.org> <867ict8awn.fsf@lifelogs.com> <87tzfvj16y.fsf@uwakimon.sk.tsukuba.ac.jp> <86lk12zee7.fsf@lifelogs.com> <86r6acqbif.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215052212 3227 80.91.229.12 (3 Jul 2008 02:30:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 02:30:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 03 04:30:58 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 1KEEb3-0004Ca-KL for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 04:30:58 +0200 Original-Received: from localhost ([127.0.0.1]:44316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEEaC-0004EA-RW for ged-emacs-devel@m.gmane.org; Wed, 02 Jul 2008 22:30:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEEa7-0004BM-O5 for emacs-devel@gnu.org; Wed, 02 Jul 2008 22:29:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEEa6-0004A8-B7 for emacs-devel@gnu.org; Wed, 02 Jul 2008 22:29:58 -0400 Original-Received: from [199.232.76.173] (port=37552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEEa6-0004A0-7M for emacs-devel@gnu.org; Wed, 02 Jul 2008 22:29:58 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:52367) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEEa5-0002cg-GB for emacs-devel@gnu.org; Wed, 02 Jul 2008 22:29:58 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m632TsGA009284; Thu, 3 Jul 2008 11:29:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m632Tsa5019568; Thu, 3 Jul 2008 11:29:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m632TrY5027133; Thu, 3 Jul 2008 11:29:53 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KEEa1-0004Cc-SB; Thu, 03 Jul 2008 11:29:53 +0900 In-reply-to: <86r6acqbif.fsf@lifelogs.com> (message from Ted Zlatanov on Wed, 02 Jul 2008 15:25:28 -0500) X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.aist.go.jp id m632TsGA009284 X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:100289 Archived-At: In article <86r6acqbif.fsf@lifelogs.com>, Ted Zlatanov = writes: KH> You can use quail-defrule. KH> emacs/leim/leim-ext.el adds extra rules to the existing input method = by: KH> (eval-after-load "quail/..." KH> '(quail-defrule "..." ...)) > Thank you. I have this: > (dolist (method=20 > ;; there must be a better way to do this grep :) > (remove nil > (mapcar=20 > (lambda(m)=20 > (let ((name (car-safe m))) > (when (string-match "cyrillic" name) > name))) > input-method-alist))) > (quail-defrule ",," ?=E2=80=9E method) > (quail-defrule "\"\"" ?=E2=80=9C method)) > but it is not working, because the method name is not the right thing t= o > specify for quail-defrule. NAME surely should work as far as that input method is already loaded. > I hope I don't have to use a macro to do > (eval-after-load "quail/..." > '(quail-defrule "A" ?B nil t)) > for each such method, as leim-ext.el does. Why? > I hope also I don't have to modify input-method-alist > directly, but it seems right now that is the best option. In what way, are you going to modify input-method-alist? --- Kenichi Handa handa@ni.aist.go.jp