bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alan Third
Subject: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness
Date: Thu, 21 Sep 2017 22:12:41 +0100
User-agent: Mutt/1.9.0 (2017-09-02)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]