emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: composed characters question and suggestions for quail-cyrillic-*


From: Kenichi Handa
Subject: Re: composed characters question and suggestions for quail-cyrillic-*
Date: Thu, 03 Jul 2008 11:29:53 +0900

In article <address@hidden>, Ted Zlatanov <address@hidden> 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 
>          ;; there must be a better way to do this grep :)
>        (remove nil
>                (mapcar 
>                 (lambda(m) 
>                   (let ((name (car-safe m)))
>                     (when (string-match "cyrillic" name)
>                       name)))
>                 input-method-alist)))
>   (quail-defrule ",," ?„ method)
>   (quail-defrule "\"\"" ?“ method))

> but it is not working, because the method name is not the right thing to
> 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
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]