* bug#830: 23.0.60; window-size-change-functions sometimes not called
@ 2008-08-30 17:13 Markus Triska
0 siblings, 0 replies; only message in thread
From: Markus Triska @ 2008-08-30 17:13 UTC (permalink / raw)
To: emacs-pretest-bug
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-30 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-30 17:13 bug#830: 23.0.60; window-size-change-functions sometimes not called Markus Triska
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.