all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: martin rudalics <rudalics@gmx.at>
Cc: 21869@debbugs.gnu.org, Pip Cet <pipcet@gmail.com>
Subject: bug#21869: Redisplay: after echo area diminishes in size, Follow Mode windows aren't resynchronised.
Date: Mon, 9 Nov 2015 11:15:05 +0000	[thread overview]
Message-ID: <20151109111505.GB2284@acm.fritz.box> (raw)
In-Reply-To: <56406FA0.8090601@gmx.at>

Hello, Martin.

On Mon, Nov 09, 2015 at 11:04:16AM +0100, martin rudalics wrote:
>  > Follow Mode puts a function on window-scroll-functions which should be

> I suppose you mean ‘window-size-change-functions’.

Yes, that was what I meant.  Sorry about the inaccuracy.

>  > called any time

> Not really.

>  > a window changes size.  At the C-f above,
>  > window-size-change-functions is not being invoked.

>  > The one single place where window-size-change-functions is invoked is in
>  > the function prepare_menu_bars in xdisp.c.

>  > The one single place where prepare_menu_bars is called is fairly early on
>  > in redisplay_internal, at L+137.  This is before the echo area is resized
>  > at L+164.  Thus, the check on changed window sizes happens too early,
>  > before the change in the echo area size.

> Probably bug#830 and bug#21333.

Yes, probably.  What this bug might add to the debate is that here, the
misalignment of the windows persists after the echo area returns to its
normal size.

It is not good that window-size-change-functions gets called when the
echo area expands, but not when it shrinks again.  This is unsymmetric.

> martin

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2015-11-09 11:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1986.1447061708.7904.bug-gnu-emacs@gnu.org>
2015-11-09  9:35 ` bug#21869: Redisplay: after echo area diminishes in size, Follow Mode windows aren't resynchronised Alan Mackenzie
2015-11-09 10:04   ` martin rudalics
2015-11-09 11:15     ` Alan Mackenzie [this message]
2015-11-09 16:10     ` Eli Zaretskii
2015-11-09 19:42     ` bug#21869: [Patch] " Alan Mackenzie
2015-11-09 20:50       ` Eli Zaretskii
2015-11-10 13:49         ` Alan Mackenzie
2015-11-16 15:03         ` Alan Mackenzie
2015-11-17 17:56           ` bug#21333: " Alan Mackenzie
2015-11-09 18:18   ` bug#21869: " Alan Mackenzie

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=20151109111505.GB2284@acm.fritz.box \
    --to=acm@muc.de \
    --cc=21869@debbugs.gnu.org \
    --cc=pipcet@gmail.com \
    --cc=rudalics@gmx.at \
    /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.