From unknown Mon Jun 23 23:51:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6354 <6354@debbugs.gnu.org> To: bug#6354 <6354@debbugs.gnu.org> Subject: Status: 23.2; set-frame-size sets incorrect size Reply-To: bug#6354 <6354@debbugs.gnu.org> Date: Tue, 24 Jun 2025 06:51:40 +0000 retitle 6354 23.2; set-frame-size sets incorrect size reassign 6354 emacs submitter 6354 Phil Johnson severity 6354 normal tag 6354 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 04 14:44:08 2010 Received: (at submit) by debbugs.gnu.org; 4 Jun 2010 18:44:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKbsF-0003U5-QO for submit@debbugs.gnu.org; Fri, 04 Jun 2010 14:44:08 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKblz-0003Qt-Jb for submit@debbugs.gnu.org; Fri, 04 Jun 2010 14:37:40 -0400 Received: from lists.gnu.org ([199.232.76.165]:41514) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OKblv-0000h8-2a for submit@debbugs.gnu.org; Fri, 04 Jun 2010 14:37:35 -0400 Received: from [140.186.70.92] (port=39190 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKblt-0000pc-GB for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 14:37:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKblo-0004e5-Jg for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 14:37:33 -0400 Received: from us01smtp3.synopsys.com ([198.182.44.81]:54847 helo=hermes.synopsys.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKblo-0004dt-F8 for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2010 14:37:28 -0400 Received: from crone.synopsys.com (crone.synopsys.com [146.225.7.23]) by hermes.synopsys.com (Postfix) with ESMTP id 69B8EB5FB0; Fri, 4 Jun 2010 11:37:26 -0700 (PDT) Received: from [10.12.18.24] (localhost [127.0.0.1]) by crone.synopsys.com (8.9.1/8.9.1) with ESMTP id LAA11990; Fri, 4 Jun 2010 11:37:25 -0700 (PDT) Message-ID: <4C0947E5.7050201@stanfordalumni.org> Date: Fri, 04 Jun 2010 11:37:25 -0700 From: Phil Johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.2; set-frame-size sets incorrect size Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 04 Jun 2010 14:44:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) The set-frame-size function sets a frame height that is one less than requested. This can be demonstrated by evaluating the following code: (set-frame-size (selected-frame) 80 32) (message "Frame size is %dx%d (requested 80x32)" (frame-width) (frame-height)) The message that gets printed is Frame size is 80x31 (requested 80x32) The width is occasionally set incorrectly, too, although I'm not certain how to reproduce this reliably. This functionality works correctly in Emacs 23.1 built with exactly the same configuration options. In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-06-01 on dcamd12 Windowing system distributor `The XFree86 Project, Inc', version 11.0.40201000 configured using `configure '--prefix=/remote/dcopt022/pjj/emacs' '--x-libraries=/usr/X11R6/lib64' 'CC=/depot/gcc-4.2.2-static/bin/gcc' 'CFLAGS=-O3 -Wdeclaration-after-statement'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-SPC C-p C-p M-x e v a l - r e g i o n Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [2 times] Frame size is 80x31 (requested 80x32) Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 03 13:45:46 2015 Received: (at 6354) by debbugs.gnu.org; 3 Jan 2015 18:45:46 +0000 Received: from localhost ([127.0.0.1]:35806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7Thp-0004ef-9c for submit@debbugs.gnu.org; Sat, 03 Jan 2015 13:45:45 -0500 Received: from mout.gmx.net ([212.227.15.18]:60821) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7Thn-0004eY-Is for 6354@debbugs.gnu.org; Sat, 03 Jan 2015 13:45:44 -0500 Received: from [194.166.85.1] ([194.166.85.1]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ln7wj-1XbyIt3UPl-00hQVa for <6354@debbugs.gnu.org>; Sat, 03 Jan 2015 19:45:42 +0100 Message-ID: <54A838CC.3090101@gmx.at> Date: Sat, 03 Jan 2015 19:45:32 +0100 From: martin rudalics MIME-Version: 1.0 To: 6354@debbugs.gnu.org Subject: Re: 23.2; set-frame-size sets incorrect size Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:VJZUtfgYveM39SI5D5cWae1WBkeGuQxFN2rBqdHB/mB5Lxfntpx reT5agcDdu16nTKnEGd/b0bT2LyV6LlYKH1FXfMnQVAvcLpWhBuhHejIzM1hyNzELcd0Y5X yR3vH3LM+/2M7lNh2HHxiAM/D6I0p0YQdk5HPvLAJdPUhPxZb3+On8ZckrPcZnffF7A/r7O ujWnknzf1f7bMJO6O8EQw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 6354 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > The set-frame-size function sets a frame height that is one less than > requested. This can be demonstrated by evaluating the following code: > > (set-frame-size (selected-frame) 80 32) > (message "Frame size is %dx%d (requested 80x32)" (frame-width) (frame-height)) > > The message that gets printed is > > Frame size is 80x31 (requested 80x32) > > The width is occasionally set incorrectly, too, although I'm not certain > how to reproduce this reliably. > > This functionality works correctly in Emacs 23.1 built with exactly the > same configuration options. > > In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2010-06-01 on dcamd12 Works here with current master/trunk and a Lucid build with Xaw3d scroll bars. Can you try it? Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 13 13:29:34 2015 Received: (at 6354-done) by debbugs.gnu.org; 13 Feb 2015 18:29:35 +0000 Received: from localhost ([127.0.0.1]:42158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMKze-0000EO-Ik for submit@debbugs.gnu.org; Fri, 13 Feb 2015 13:29:34 -0500 Received: from mout.gmx.net ([212.227.17.22]:55185) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMKzc-0000EB-J1 for 6354-done@debbugs.gnu.org; Fri, 13 Feb 2015 13:29:33 -0500 Received: from [88.117.117.6] ([88.117.117.6]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MELdk-1YOb7q3pMm-00FTOg for <6354-done@debbugs.gnu.org>; Fri, 13 Feb 2015 19:29:23 +0100 Message-ID: <54DE427A.60608@gmx.at> Date: Fri, 13 Feb 2015 19:29:14 +0100 From: martin rudalics MIME-Version: 1.0 To: 6354-done@debbugs.gnu.org Subject: Re: bug#6354: 23.2; set-frame-size sets incorrect size References: <4C0947E5.7050201@stanfordalumni.org> <54A838CC.3090101@gmx.at> In-Reply-To: <54A838CC.3090101@gmx.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:tq77iSx7KXLUp7W0LB6i6EKxYkUxQ1SOza6sa4DjUTimsiDCSU9 LTnIpBIqscoqeumqc1Xv/QAzSV3CGv6qiaCWXul9MPt87fi7GFRuu7TYnd2fQzry3uXnqTU 3uX9RBD4G7u2Jqcd8maNKwjO+XwdCnmKwj1BA+CVdlR2AiUJ/uw812Vr5XleGgfh3M8+ZPS qc4giNrYPnjBpb6q8ilQg== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 6354-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Works here with current master/trunk and a Lucid build with Xaw3d scroll > bars. Can you try it? Closing. If there are still problems with current trunk/master please tell us. Thanks, martin From unknown Mon Jun 23 23:51:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Mar 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator