From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#19428: 25.0.50; Frame is wider (in chars) than normal non-deterministically Date: Tue, 30 Dec 2014 17:47:58 -0500 Message-ID: <87r3vgah5t.fsf@maru2.md5i.com> References: <87bnmwe6at.fsf@maru2.md5i.com> <54A2CC71.8040502@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1419979758 29099 80.91.229.3 (30 Dec 2014 22:49:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2014 22:49:18 +0000 (UTC) Cc: Michael Welsh Duggan , 19428@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 23:49:11 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 1Y65bD-0008QA-3K for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 23:49:11 +0100 Original-Received: from localhost ([::1]:38488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y65bC-0007x1-Gp for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 17:49:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y65b7-0007wj-Ke for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2014 17:49:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y65b4-0004ni-9p for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2014 17:49:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y65b4-0004nH-5W for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2014 17:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y65b4-0004yA-0O for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2014 17:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Dec 2014 22:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19428-submit@debbugs.gnu.org id=B19428.141997968419026 (code B ref 19428); Tue, 30 Dec 2014 22:49:01 +0000 Original-Received: (at 19428) by debbugs.gnu.org; 30 Dec 2014 22:48:04 +0000 Original-Received: from localhost ([127.0.0.1]:33212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y65a8-0004wo-33 for submit@debbugs.gnu.org; Tue, 30 Dec 2014 17:48:04 -0500 Original-Received: from md5i.com ([75.151.244.229]:55055 helo=maru2) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y65a5-0004wO-8y for 19428@debbugs.gnu.org; Tue, 30 Dec 2014 17:48:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=DZDbqJYLlnTPOWHzZ7/yYFUtktDZ7sqAF2f3Yfsk42E=; b=NhZbDBTGht4L2mC2CiYxxnVXbx/SSaUwgDI+s8pHYToq20sLbHPn2W3JobVjQcjvNkP0oMOP2LdmGV5p8fORjdC6rXwmSFBOxXUOxfv0S0m/2DgPcCatUTnFxmM9jY/0; Original-Received: from md5i by maru2 with local (Exim 4.84) (envelope-from ) id 1Y65a2-0007j2-3t; Tue, 30 Dec 2014 17:47:58 -0500 In-Reply-To: <54A2CC71.8040502@gmx.at> (martin rudalics's message of "Tue, 30 Dec 2014 17:01:53 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) 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:97885 Archived-At: --=-=-= Content-Type: text/plain martin rudalics writes: >> If I run "emacs -Q" multiple times in a row with the build described >> below in an X environment, I normally get a frame that my window manager >> describes as 80x34 characters in size. >> >> However, about one in every ten times, I get a differently sized frame, >> usually 84x36. (And that is indeed the width in chars.) > > Please do `M-: (window--dump-frame)' on both frame types and post the > contents of the buffer *window-frame-dump* for both cases so we can see > where we spend the extra space. Good: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=good.txt frame pixel: 756 x 682 cols/lines: 84 x 34 units: 9 x 19 frame text pixel: 720 x 646 cols/lines: 80 x 34 tool: 36 scroll: 18/0 fringe: 16 border: 1 right: 0 bottom: 0 # parent: nil pixel left: 0 top: 34 size: 754 x 627 new: 0 char left: 0 top: 1 size: 83 x 33 new: 0 normal: 1.0 x 1.0 new: 0 body pixel: 720 x 608 char: 80 x 32 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 18 divider: 0 height header-line: 0 mode-line: 19 divider: 0 # parent: nil pixel left: 0 top: 661 size: 754 x 19 new: 0 char left: 0 top: 34 size: 754 x 1 new: 0 normal: 1.0 x 1.0 new: 0 body pixel: 720 x 19 char: 80 x 1 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 18 divider: 0 height header-line: 0 mode-line: 0 divider: 0 --=-=-= Content-Type: text/plain Bad: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=bad.txt frame pixel: 792 x 720 cols/lines: 88 x 36 units: 9 x 19 frame text pixel: 756 x 684 cols/lines: 84 x 36 tool: 36 scroll: 18/0 fringe: 16 border: 1 right: 0 bottom: 0 # parent: nil pixel left: 0 top: 34 size: 790 x 665 new: 0 char left: 0 top: 1 size: 87 x 35 new: 0 normal: 1.0 x 1.0 new: 0 body pixel: 756 x 646 char: 84 x 34 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 18 divider: 0 height header-line: 0 mode-line: 19 divider: 0 # parent: nil pixel left: 0 top: 699 size: 790 x 19 new: 0 char left: 0 top: 36 size: 790 x 1 new: 0 normal: 1.0 x 1.0 new: 0 body pixel: 756 x 19 char: 84 x 1 width left fringe: 8 left margin: 0 right margin: 0 width right fringe: 8 scroll-bar: 18 divider: 0 height header-line: 0 mode-line: 0 divider: 0 --=-=-= Content-Type: text/plain >> To repeat, in order to reproduce this I run emacs -Q, check its size, >> then type `C-x C-c' and do it again until I see this happening. This is >> also happening to me at work on an older system (Gnome 2 instead of >> Gnome 3), with a slightly older (but still recent) build of master. > > Please do the same there and post the results as well. Does/did it > happen with Emacs 24.4 too or do you see it only on Emacs 25? I am unable to test this on the other system this week. I made a build from the emacs-24 branch on this machine (the one referenced below), and I was unable to trigger this bug there. >> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) >> of 2014-11-27 on maru2 >> Repository revision: 1e3e8ae1d6da51606bf099e5cf02d6ab1f0c27ec >> Windowing system distributor `The X.Org Foundation', version 11.0.11602901 >> System Description: Debian GNU/Linux 8.0 (jessie) >> >> Configured using: >> `configure --without-toolkit-scroll-bars --with-x-toolkit=lucid > > It should be related to the combination of these options. But maybe it > happens to other users as well and they simply ignore it. > >> 'CFLAGS=-Og -ggdb -g3' --with-wide-int' > > Thanks, martin Thanks for looking into this. -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=--