GNU bug report logs -
#19962
25.0.50; window-configuration-change-hook not running on trunk
Previous Next
Reported by: Jorgen Schaefer <contact <at> jorgenschaefer.de>
Date: Fri, 27 Feb 2015 18:42:01 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 25.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19962 in the body.
You can then email your comments to 19962 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19962
; Package
emacs
.
(Fri, 27 Feb 2015 18:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jorgen Schaefer <contact <at> jorgenschaefer.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 27 Feb 2015 18:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
With recent Emacs versions from trunk, it seems
`window-configuration-change-hook' is not run anymore.
Reproduction:
(setq window-configuration-change-hook
'((lambda ()
(message "Change!"))))
C-x 2 => does not show "Change!"
In Emacs 24.4, this still happened.
In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu)
of 2015-02-21 on loki.jorgenschaefer.de
Repository revision: 9074a684990600abd9dfad0477c7cd1d2f339ed3
System Description: Debian GNU/Linux 7.8 (wheezy)
Same behavior in b2a590d4e3dc692a97c1b53e015b945d84b4b4c7 from
2015-02-27.
Configured using:
`configure --without-x'
Configured features:
SOUND NOTIFY LIBXML2 ZLIB
Important settings:
value of $LC_ALL:
value of $LC_COLLATE: de_DE.UTF-8
value of $LC_CTYPE: de_DE.UTF-8
value of $LC_MESSAGES: POSIX
value of $LC_MONETARY: POSIX
value of $LC_NUMERIC: POSIX
value of $LC_TIME: POSIX
value of $LANG: POSIX
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19962
; Package
emacs
.
(Fri, 27 Feb 2015 19:58:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19962 <at> debbugs.gnu.org (full text, mbox):
> With recent Emacs versions from trunk, it seems
> `window-configuration-change-hook' is not run anymore.
>
> Reproduction:
>
> (setq window-configuration-change-hook
> '((lambda ()
> (message "Change!"))))
>
> C-x 2 => does not show "Change!"
>
> In Emacs 24.4, this still happened.
>
> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu)
> of 2015-02-21 on loki.jorgenschaefer.de
> Repository revision: 9074a684990600abd9dfad0477c7cd1d2f339ed3
> System Description: Debian GNU/Linux 7.8 (wheezy)
>
> Same behavior in b2a590d4e3dc692a97c1b53e015b945d84b4b4c7 from
> 2015-02-27.
>
>
> Configured using:
> `configure --without-x'
Bad. Does the following patch fix it?
diff --git a/src/window.c b/src/window.c
index d59616d..efbe70f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3328,7 +3328,9 @@ run_window_configuration_change_hook (struct frame *f)
XSETFRAME (frame, f);
if (NILP (Vrun_hooks)
+#ifdef HAVE_WINDOW_SYSTEM
|| !(f->can_x_set_window_size)
+#endif
|| !(f->after_make_frame))
return;
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19962
; Package
emacs
.
(Sat, 28 Feb 2015 18:51:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 19962 <at> debbugs.gnu.org (full text, mbox):
> With recent Emacs versions from trunk, it seems
> `window-configuration-change-hook' is not run anymore.
>
> Reproduction:
>
> (setq window-configuration-change-hook
> '((lambda ()
> (message "Change!"))))
>
> C-x 2 => does not show "Change!"
Hopefully fixed now on trunk as
e605af8..5dd2272 master -> master
Please try again.
Thanks, martin
bug marked as fixed in version 25.1, send any further explanations to
19962 <at> debbugs.gnu.org and Jorgen Schaefer <contact <at> jorgenschaefer.de>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 14 May 2015 17:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 12 Jun 2015 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.