[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38181: Actual height of mode-line not taken into account
From: |
Eli Zaretskii |
Subject: |
bug#38181: Actual height of mode-line not taken into account |
Date: |
Fri, 15 Nov 2019 17:11:19 +0200 |
> From: Jonas Bernoulli <jonas@bernoul.li>
> Cc: 38181@debbugs.gnu.org
> Date: Fri, 15 Nov 2019 15:24:11 +0100
>
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > So much for theory. Now for the practical aspects: how bad is it to
> > have to invoke redisplay by hand in these cases? After all, they
> > don't sound like something a Lisp program would do frequently.
>
> Currently I do the manual redisplay by advising fit-window-to-buffer,
> which I don't think can be avoided. This results in some flickering,
> so I make sure it is only done once per buffer.
Why the need to use advising? Your recipe shows that calling
redisplay before fit-window-to-buffer also solves the problem. Can't
you do something like that only when you add such tall images to the
mode line?
An alternative would be to scale the image so that it doesn't enlarge
the mode line, btw. Is that possible in your use cases?
- bug#38181: Actual height of mode-line not taken into account, Jonas Bernoulli, 2019/11/12
- bug#38181: Actual height of mode-line not taken into account, martin rudalics, 2019/11/13
- bug#38181: Actual height of mode-line not taken into account, Eli Zaretskii, 2019/11/15
- bug#38181: Actual height of mode-line not taken into account, Jonas Bernoulli, 2019/11/15
- bug#38181: Actual height of mode-line not taken into account,
Eli Zaretskii <=
- bug#38181: Actual height of mode-line not taken into account, Jonas Bernoulli, 2019/11/15
- bug#38181: Actual height of mode-line not taken into account, Eli Zaretskii, 2019/11/16
- bug#38181: Actual height of mode-line not taken into account, Jonas Bernoulli, 2019/11/16
- bug#38181: Actual height of mode-line not taken into account, Eli Zaretskii, 2019/11/16
- bug#38181: Actual height of mode-line not taken into account, Jonas Bernoulli, 2019/11/17
bug#38181: Actual height of mode-line not taken into account, Eli Zaretskii, 2019/11/15