GNU bug report logs - #830
23.0.60; window-size-change-functions sometimes not called

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Markus Triska <markus.triska <at> gmx.at>; dated Sat, 30 Aug 2008 17:20:03 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
bug Marked as found in versions 24.0.90. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,FOURLA,
	RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 30 Aug 2008 17:14:34 +0000
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7UHEUkn028564
	for <submit <at> emacsbugs.donarmstrong.com>; Sat, 30 Aug 2008 10:14:32 -0700
Received: from mx10.gnu.org ([199.232.76.166]:55580)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <markus.triska <at> gmx.at>)
	id 1KZU0O-0000tE-TD
	for emacs-pretest-bug <at> gnu.org; Sat, 30 Aug 2008 13:12:56 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <markus.triska <at> gmx.at>)
	id 1KZU1n-0000yT-4I
	for emacs-pretest-bug <at> gnu.org; Sat, 30 Aug 2008 13:14:28 -0400
Received: from mail.gmx.net ([213.165.64.20]:34574)
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <markus.triska <at> gmx.at>)
	id 1KZU1m-0000x5-43
	for emacs-pretest-bug <at> gnu.org; Sat, 30 Aug 2008 13:14:22 -0400
Received: (qmail invoked by alias); 30 Aug 2008 17:14:19 -0000
Received: from v254-028.vps.tuwien.ac.at (EHLO v254-028.vps.tuwien.ac.at) [128.131.254.28]
  by mail.gmx.net (mp062) with SMTP; 30 Aug 2008 19:14:19 +0200
X-Authenticated: #4064391
X-Provags-ID: V01U2FsdGVkX1/baX5rBi3bQSdi8GJwEe+nnrx0EltZ9UcDm3AoyG
	plcmdzSec/xeh+
Received: by mt-computer.local (Postfix, from userid 502)
	id 19574A465CC; Sat, 30 Aug 2008 13:13:57 -0400 (EDT)
From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; window-size-change-functions sometimes not called
Date: Sat, 30 Aug 2008 13:13:57 -0400
Message-ID: <m11w062zoq.fsf <at> gmx.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.49
X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized.

Let size1.el consist of the following forms:

   (defun my-size-change-function (frame)
     (with-temp-file "sizelog"
       (insert (format "size changed at %s - %s\n" (current-time) frame))))

   (add-hook 'window-size-change-functions 'my-size-change-function)

   (scroll-bar-mode -1)

   (setq mylist nil)
   (dotimes (i 100)
     (setq mylist (cons "this is a longer test string" mylist)))

When I do:

*) $ emacs -Q size1.el -f eval-buffer

*) M-: mylist

*) $ cat sizelog

then I see in this created log file that window-size-change-functions
were called as expected:

   size changed at (18617 32068 355364) - #<frame emacs@....>

When I then switch back to the Emacs X11 window and press any key, the
enlarged echo area shrinks away again, and the window showing size1.el
grows. However, I see from the unchanged log file that the functions in
window-size-change-functions were not called. This happens only when
scroll-bar-mode is disabled (which the above code does).


In GNU Emacs 23.0.60.7 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-08-30 on v254-034.vps.tuwien.ac.at
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t




Acknowledgement sent to Markus Triska <markus.triska <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#830; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 Oct 2011 19:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.