emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Isearch and postfix input methods.


From: Kenichi Handa
Subject: Re: Isearch and postfix input methods.
Date: Tue, 25 Oct 2005 15:32:35 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Juri Linkov <address@hidden> writes:

>>  When you type "o", isearch searches for "o" even if "o" is
>>  not yet fixed.  Then when you type, for instance, "'", "รณ"
>>  is searched for from the first search position, and move
>>  point to the found position regardless of that position
>>  being before or after the previously found "o".  So, isearch
>>  sometimes moves point back and forward.

>>  But, for the moment, no one has worked on implementing it.

> This looks like the most natural way of searching with active
> input methods.  Though, I don't see how this can be implemented,
> if read-string in isearch-process-search-multibyte-characters
> can't quit until the input sequence is finished.

One idea is to make input method function accept
INPUT-CONTEXT as the second arg, update it, and return
(EVENT-SEQ . INPUT-CONTEXT) instantly.  In the case of "o",
the returned EVENT-SEQ is nil which means no events to
propagate but INPUT-CONTEXT can carry information about the
current preedit string (i.e. "o") as well as the other
information used for handling the next key.

---
Kenichi Handa
address@hidden




reply via email to

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