From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#17077: 24.4.50; regression: `set-frame-size' results in wrong frame size Date: Mon, 24 Mar 2014 10:06:23 +0100 Message-ID: <532FF58F.1070204@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395652032 31769 80.91.229.3 (24 Mar 2014 09:07:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 09:07:12 +0000 (UTC) To: Drew Adams , 17077@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 10:07:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WS0qm-0006QJ-0B for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 10:07:20 +0100 Original-Received: from localhost ([::1]:35087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS0ql-0001Gx-1W for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 05:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS0qb-0001Gh-OB for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 05:07:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS0qU-0005CT-E9 for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 05:07:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS0qU-0005CO-At for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 05:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WS0qT-0002I5-Qy for bug-gnu-emacs@gnu.org; Mon, 24 Mar 2014 05:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Mar 2014 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17077-submit@debbugs.gnu.org id=B17077.13956519978773 (code B ref 17077); Mon, 24 Mar 2014 09:07:01 +0000 Original-Received: (at 17077) by debbugs.gnu.org; 24 Mar 2014 09:06:37 +0000 Original-Received: from localhost ([127.0.0.1]:46715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS0q5-0002HQ-3W for submit@debbugs.gnu.org; Mon, 24 Mar 2014 05:06:37 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:50277) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS0q1-0002HF-4G for 17077@debbugs.gnu.org; Mon, 24 Mar 2014 05:06:34 -0400 Original-Received: from [93.82.14.209] ([93.82.14.209]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lv9lm-1X9Dlv0BRi-010Hnh; Mon, 24 Mar 2014 10:06:29 +0100 In-Reply-To: X-Provags-ID: V03:K0:v580TToR2Vowfjo2ESB+ebwiKvckSCZXELzAs29F2nc1+31Gum9 lmr/dBgAraMq/hSh1llw1WKmPlBU0qR2gE7pM2I5MJ8tlfL9i/4WXo8xsT3dvMtLpTr4/Jn duv4kcng5Y6FOBOICpj3sTaZeQoQdyOBKW+7UAmn24AwrSRM6JTJEW2eTyxkXDNN1mI4lt3 ySEa7xJ6b1d+b/mHSiubw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87290 Archived-At: > 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