From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Inactive Minibuffer Requires Redisplay for Input Methods Date: Wed, 8 Jan 2003 14:16:27 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301080516.OAA00596@etlken.m17n.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1042010448 10952 80.91.224.249 (8 Jan 2003 07:20:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 07:20:48 +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.35 #1 (Debian)) id 18WAVv-0002qF-00 for ; Wed, 08 Jan 2003 08:20:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WAaq-00014j-00 for ; Wed, 08 Jan 2003 08:25:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18W9ze-0000Zu-02 for emacs-devel@quimby.gnus.org; Wed, 08 Jan 2003 01:47:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18W9Is-0007dW-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 01:03:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18W8s4-0001Mi-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 00:35:51 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18W8Zy-0004vM-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 00:16:38 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h085GSk21543; Wed, 8 Jan 2003 14:16:28 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h085GRR14879; Wed, 8 Jan 2003 14:16:27 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id OAA00596; Wed, 8 Jan 2003 14:16:27 +0900 (JST) Original-To: akochoi@shaw.ca In-reply-to: (message from Andrew Choi on Mon, 06 Jan 2003 10:27:52 -0700) 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) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10566 In article , Andrew Choi 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 > * 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 handa@m17n.org