From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Frame size changes Date: Thu, 02 Oct 2008 13:54:31 -0400 Message-ID: <877i8qvq5k.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222970020 20496 80.91.229.12 (2 Oct 2008 17:53:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 17:53:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 02 19:54:39 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlSNp-0005z8-5v for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2008 19:54:37 +0200 Original-Received: from localhost ([127.0.0.1]:41586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlSMm-0007vn-2V for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2008 13:53:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlSMh-0007vY-30 for emacs-devel@gnu.org; Thu, 02 Oct 2008 13:53:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlSMe-0007vL-NF for emacs-devel@gnu.org; Thu, 02 Oct 2008 13:53:25 -0400 Original-Received: from [199.232.76.173] (port=52115 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlSMe-0007vI-IF for emacs-devel@gnu.org; Thu, 02 Oct 2008 13:53:24 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:58517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlSMe-0000ct-7a for emacs-devel@gnu.org; Thu, 02 Oct 2008 13:53:24 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 3E80E57E08C; Thu, 2 Oct 2008 13:54:31 -0400 (EDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104307 Archived-At: For a while, there's been a bug regarding erratic frame sizing: see bug#598, possibly also bug#708. I've been able to reproduce this using the Terminus font (for those using Debian or Ubuntu, this is from the xfonts-terminus package). When this font is used, the initial frame size is unpredictable. This seems to arise from ConfigureNotify events that Emacs receives, which causes its frame size in rows/columns to change (because of the ConfigureNotify event, handle_one_xevent (xterm.c:6774) calls xg_frame_resized (gtkutil.c:642), which changes the frame size. I don't know why these ConfigureNotify events are issued. It's strange, because none of the changes during the startup process ought to change the number or rows/columns in the initial frame. Another strange thing is that this happens with the Terminus font, but not other fonts I've tried. Does anyone have ideas about what's causing this?