Subject: Re: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness

From: Alan Third <[email-masked]>
Date: Thu, 21 Sep 2017 22:12:41 +0100

On Fri, Sep 22, 2017 at 12:01:38AM +1200, Nick Helm wrote:
> 
> Emacs does not set frame geometry parameters correctly:
> 
>   Emacs -Q
> 
>   (frame-parameter nil 'width)  -> 75
>   (frame-parameter nil 'height) -> 35
>   ;this is already odd as default geometry should be 80x36
> 
>   (set-frame-parameter nil 'width 105)
> 
>   (frame-parameter nil 'width)  -> 100 ;width is incorrect
>   (frame-parameter nil 'height) -> 35
> 
> Setting frame width also seems to somehow influence frame height:
> 
>   (set-frame-parameter nil 'width 105)
>   (set-frame-parameter nil 'width 105) 
>   ;set frame width a few more times
>   ;the frame pixel height changes by a fraction of a char each time
> 
>   (frame-parameter nil 'width)  -> 100
>   (frame-parameter nil 'height) -> 34  ;height changed

Apologies all, this was my fault. I misunderstood the discussion in an
old bug report that probably should have been closed as notabug.

I’ve reverted the change now.

Thanks for your reports.
-- 
Alan Third