all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: dmantipov@yandex.ru, emacs-devel@gnu.org
Subject: Re: 8af8355c3f72500986f6f10b62714b228d6f35ee breaks minibuffer echo with Lucid
Date: Tue, 06 Oct 2015 19:54:41 +0200	[thread overview]
Message-ID: <56140AE1.2010502@gmx.at> (raw)
In-Reply-To: <83h9m4xd8v.fsf@gnu.org>

 > My guess is that we don't call adjust_frame_size when the toolbar and
 > the scroll bar are removed, so no one tells the display engine that
 > the dimensions changed, and so the echo-area display is produced in a
 > glyph row that is now beyond the frame's lower end.  This guess is
 > backed up by the fact that if I drag the frame's edge even one pixel,
 > the problem immediately goes away.

Yes.  The minibuffer should appear on line 34 but does so on line 35,
hence it's virtually invisible.  You can't guess that from looking at
the screen - apparently everything has been drawn correctly.  The root
window and its mode line are both OK.

 > So I think we need to arrange to call adjust_frame_size from
 > x_set_frame_parameters, when the parameters in question affect the
 > frame's dimensions.

We always do that whenever setting a frame parameter can change any of
the frame's dimensions.  Here for some mysterious reason the top line of
the minibuffer is not set up correctly in resize_frame_windows.  I'm yet
too silly to find out why.

martin



  reply	other threads:[~2015-10-06 17:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  9:32 8af8355c3f72500986f6f10b62714b228d6f35ee breaks minibuffer echo with Lucid Dmitry Antipov
2015-10-06 10:20 ` martin rudalics
2015-10-06 14:50   ` Eli Zaretskii
2015-10-06 17:54     ` martin rudalics [this message]
2015-10-07  9:47       ` martin rudalics
2015-10-07  9:47 ` martin rudalics

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

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

  git send-email \
    --in-reply-to=56140AE1.2010502@gmx.at \
    --to=rudalics@gmx.at \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.