GNU bug report logs - #17077
24.4.50; regression: `set-frame-size' results in wrong frame size

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 23 Mar 2014 22:36:01 UTC

Severity: normal

Found in version 24.4.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 17077 <at> debbugs.gnu.org
Subject: bug#17077: 24.4.50; regression: `set-frame-size' results in wrong frame size
Date: Mon, 24 Mar 2014 10:06:23 +0100
> In previous builds and releases, including a build as recent as
> 2014-03-11, (set-frame-size 75 64)

(set-frame-size nil 75 64)

> ends up with these frame parameters
> (using my setup, for a special-display frame):
>
>   (width . 75) ; <==============================
>   (height . 62)
...
>   (width . 74) ; <==============================
>   (height . 64)
...
>
> I don't care so much about the height.  What is definitely wrong is
> diminishing the specified width (75) by one.  The widest line in the
> buffer is 75 chars wide, so fitting the frame to a width of 74 does
> not cut the mustard.
>
> Depending on the char (font) size, sometimes the frame fitting still
> works as it should.  But for other sizes it has this
> one-char-less-than-required-width failing.  E.g., this is the case
> also for font "-outline-Lucida
> Console-normal-normal-normal-mono-10-*-*-*-c-*-iso8859-1" (same font,
> with size 10).

Should be fixed with revision 116849 on the emacs-24 release branch.

Please also check whether bug#16923 is affected.  The "fix" that caused
the present bug was a stab in direction of fixing 16923.

Thanks, martin




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

Previous Next


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