GNU bug report logs - #28536
26.0.60; cannot set frame geometry, plus weirdness

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Thu, 21 Sep 2017 12:03:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.60

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28536 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Nick Helm <nick <at> tenpoint.co.nz>
Cc: Bob Halley <halley <at> play-bow.org>, 28536 <at> debbugs.gnu.org
Subject: Re: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness
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




This bug report was last modified 7 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.