emacs-devel
[Top][All Lists]
Advanced

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

Re: Inactive Minibuffer Requires Redisplay for Input Methods


From: Kenichi Handa
Subject: Re: Inactive Minibuffer Requires Redisplay for Input Methods
Date: Wed, 8 Jan 2003 14:16:27 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Andrew Choi <address@hidden> writes:

> Certain Quail input methods display a list of word choices in an
> /inactive/ minibuffer for the user to select by typing 0 to 9.  The
> change below in xdisp.c (redisplay_window) prevents this minibuffer from
> being displayed.

> To see a manifestation of the problem, switch to the input method
> chinese-ctlaub, for example, and type `ngoh'.  Before the change, a list
> of choices labeled by their respective numbers are displayed in the
> minibuffer.  After the change they don't appear.

> -----
> 2002-12-22  Richard M. Stallman  <address@hidden>

>       * xdisp.c (try_cursor_movement): Don't call try_window here.
>       (redisplay_window): Never redisplay minibuffer when inactive.

The reason why Quail does that is that the text must be shown
with some face.  Previously, we couldn't use `message' for
that.   But, now we can do something like this:
  (message (propertize "hello" 'face 'highlight))
So, if requested, I can make quail to use `message' instead
of minibuffer.  Actually, that change will make the code
simpler.  The only drawback I can think of now is that it
consumes *Messages* buffer too much.

---
Ken'ichi HANDA
address@hidden




reply via email to

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