[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37630: 27.0.50; image-mode-fit-frame doesn't
From: |
Lars Ingebrigtsen |
Subject: |
bug#37630: 27.0.50; image-mode-fit-frame doesn't |
Date: |
Tue, 08 Oct 2019 17:47:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
> Looking at the code of 'image-mode-fit-frame' I can't find anything
> wrong with
>
> (set-frame-height frame (+ (ceiling (cdr size))
> height (- inner-height)))
>
> and would be surprised if this failed unless some frame properties
> changed in between the 'frame-height' and the 'window-inside-edges'
> calls.
In my experiments, this wasn't what failed. (window-inside-edges)
claimed that there was one more line in the frame than there actually is
(but only in --with-x-toolkit=no builds; it computes the correct height
in Gtk builds).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, (continued)
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Lars Ingebrigtsen, 2019/10/07
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/07
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Lars Ingebrigtsen, 2019/10/07
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Lars Ingebrigtsen, 2019/10/07
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/07
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, martin rudalics, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, martin rudalics, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, martin rudalics, 2019/10/09
- bug#37630: 27.0.50; image-mode-fit-frame doesn't,
Lars Ingebrigtsen <=
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Lars Ingebrigtsen, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Eli Zaretskii, 2019/10/08
- bug#37630: 27.0.50; image-mode-fit-frame doesn't, Lars Ingebrigtsen, 2019/10/09