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: [Annoyance] resizing of echo area is too eager Date: Wed, 7 May 2003 22:13:49 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305071313.WAA23301@etlken.m17n.org> References: <67B8CED503F3D511BB9F0008C75DAD66054855C4@dewdfx17> 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 1052314077 1316 80.91.224.249 (7 May 2003 13:27:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 7 May 2003 13:27:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 07 15:27:55 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DOxf-0000Kq-00 for ; Wed, 07 May 2003 15:27:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19DP1e-0003oZ-00 for ; Wed, 07 May 2003 15:32:02 +0200 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 19DOyI-0003NI-01 for emacs-devel@quimby.gnus.org; Wed, 07 May 2003 09:28:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19DOxx-0003Mn-00 for emacs-devel@gnu.org; Wed, 07 May 2003 09:28:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19DOoh-0008OB-00 for emacs-devel@gnu.org; Wed, 07 May 2003 09:18:42 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DOkF-0005cg-00 for emacs-devel@gnu.org; Wed, 07 May 2003 09:14:03 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h47DDoo18167; Wed, 7 May 2003 22:13:50 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h47DDnA11981; Wed, 7 May 2003 22:13:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id WAA23301; Wed, 7 May 2003 22:13:49 +0900 (JST) Original-To: christoph.wedler@sap.com In-reply-to: <67B8CED503F3D511BB9F0008C75DAD66054855C4@dewdfx17> (christoph.wedler@sap.com) 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:13742 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13742 In article <67B8CED503F3D511BB9F0008C75DAD66054855C4@dewdfx17>, "Wedler, Christoph" writes: >> I guess so. Perhaps, your Korean font is taller than the >> frame's default font. What happens if you evalute this? >> (message _SOME_KOREAN_STRING_) > The same (the echo area is unnecessarily resized). Is it really unnecessary? The reason why it is resized is that Emacs detects that the message doesn't fit in the height of the normal line. Perhaps, you font has unnecessarily big ascent or descent value. >> Anyway, I've just changed quail to use `message' for showing >> the guidance in CVS HEAD. So, if you set >> resize-mini-windows to nil, the echo area won't be resized. > Hm, this works if I `setq' that variable before calling `message', but > (let ((resize-mini-windows nil)) (message _SOME_KOREAN_STRING_)) > still resizes the echo area. Yes, because redisplay happens only after the execution of the above code is finished. > Any idea how to disable the resizing for > one `message'? (A real fix = correct behaviour w/ var-width fonts would > also be OK.) I have no idea. By they way, even with the default value of resize-mini-windows (grow-only), the behaviour of quail input method should be improved. Previously, it resizes the echo area so frequently, but now it makes the area taller just once, and keep that hight until you turns the input method off. Could you verify it? --- Ken'ichi HANDA handa@m17n.org