GNU bug report logs -
#38181
Actual height of mode-line not taken into account
Previous Next
Reported by: Jonas Bernoulli <jonas <at> bernoul.li>
Date: Tue, 12 Nov 2019 16:54:01 UTC
Severity: normal
Fixed in version 29.1
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 38181 <at> debbugs.gnu.org (full text, mbox):
> From: Jonas Bernoulli <jonas <at> bernoul.li>
> Cc: 38181 <at> debbugs.gnu.org
> Date: Fri, 15 Nov 2019 15:24:11 +0100
>
>
> Eli Zaretskii <eliz <at> 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?
This bug report was last modified 3 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.