unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Annoyance] resizing of echo area is too eager
Date: Wed, 7 May 2003 22:13:49 +0900 (JST)	[thread overview]
Message-ID: <200305071313.WAA23301@etlken.m17n.org> (raw)
In-Reply-To: <67B8CED503F3D511BB9F0008C75DAD66054855C4@dewdfx17> (christoph.wedler@sap.com)

In article <67B8CED503F3D511BB9F0008C75DAD66054855C4@dewdfx17>, "Wedler, Christoph" <christoph.wedler@sap.com> 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

  reply	other threads:[~2003-05-07 13:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-02 12:36 [Annoyance] resizing of echo area is too eager Wedler, Christoph
2003-05-07 13:13 ` Kenichi Handa [this message]
2003-05-07 14:48   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14 18:11 Wedler, Christoph
2003-05-08 17:33 Wedler, Christoph
2003-05-12 11:37 ` Kenichi Handa
2003-05-07 19:32 Wedler, Christoph
2003-05-07 20:01 ` Luc Teirlinck
2003-05-08  4:09 ` Kenichi Handa
2003-04-07 17:31 Wedler, Christoph
2003-04-11  4:43 ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200305071313.WAA23301@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).