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

From: martin rudalics <[email-masked]>
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