unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31354: 26.1rc1; window-configuration-change-hook not respected anymore
@ 2018-05-03 12:22 Stefan Guath
  2018-05-03 13:38 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Guath @ 2018-05-03 12:22 UTC (permalink / raw)
  To: 31354

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

VERSION
"GNU Emacs 26.1 (build 1, x86_64-apple-darwin13.4.0, NS appkit-1265.21
Version 10.9.5 (Build 13F1911)) of 2018-04-10"

DESCRIPTION
Functions added to window-configuration-change-hook are not executed in
26.1rc1. It works in 25.3.1.

TO REPRODUCE
1) emacs -q
2) Eval in *scratch*: (add-hook 'window-configuration-change-hook (lambda
() (ding)))
3) Resize window
4) There is no sound (i.e. ding is not executed) on 26.1rc1. It works as
expected on 25.3.1.

[-- Attachment #2: Type: text/html, Size: 602 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31354: 26.1rc1; window-configuration-change-hook not respected anymore
  2018-05-03 12:22 bug#31354: 26.1rc1; window-configuration-change-hook not respected anymore Stefan Guath
@ 2018-05-03 13:38 ` Eli Zaretskii
  2018-05-03 14:00   ` Stefan Guath
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2018-05-03 13:38 UTC (permalink / raw)
  To: 31354, stefan

On May 3, 2018 3:22:24 PM GMT+03:00, Stefan Guath <stefan@automata.se> wrote:
> VERSION
> "GNU Emacs 26.1 (build 1, x86_64-apple-darwin13.4.0, NS appkit-1265.21
> Version 10.9.5 (Build 13F1911)) of 2018-04-10"
> 
> DESCRIPTION
> Functions added to window-configuration-change-hook are not executed
> in
> 26.1rc1. It works in 25.3.1.
> 
> TO REPRODUCE
> 1) emacs -q
> 2) Eval in *scratch*: (add-hook 'window-configuration-change-hook
> (lambda
> () (ding)))
> 3) Resize window
> 4) There is no sound (i.e. ding is not executed) on 26.1rc1. It works
> as
> expected on 25.3.1.

This is a deliberate change, it is called out in NEWS.  There is another
hook to use for size changes.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31354: 26.1rc1; window-configuration-change-hook not respected anymore
  2018-05-03 13:38 ` Eli Zaretskii
@ 2018-05-03 14:00   ` Stefan Guath
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Guath @ 2018-05-03 14:00 UTC (permalink / raw)
  To: eliz; +Cc: 31354

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

Thanks for your answer and sorry for not reading the NEWS first!

/s

On Thu, May 3, 2018 at 3:38 PM Eli Zaretskii <eliz@gnu.org> wrote:

> On May 3, 2018 3:22:24 PM GMT+03:00, Stefan Guath <stefan@automata.se>
> wrote:
> > VERSION
> > "GNU Emacs 26.1 (build 1, x86_64-apple-darwin13.4.0, NS appkit-1265.21
> > Version 10.9.5 (Build 13F1911)) of 2018-04-10"
> >
> > DESCRIPTION
> > Functions added to window-configuration-change-hook are not executed
> > in
> > 26.1rc1. It works in 25.3.1.
> >
> > TO REPRODUCE
> > 1) emacs -q
> > 2) Eval in *scratch*: (add-hook 'window-configuration-change-hook
> > (lambda
> > () (ding)))
> > 3) Resize window
> > 4) There is no sound (i.e. ding is not executed) on 26.1rc1. It works
> > as
> > expected on 25.3.1.
>
> This is a deliberate change, it is called out in NEWS.  There is another
> hook to use for size changes.
>
>

[-- Attachment #2: Type: text/html, Size: 1320 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-03 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 12:22 bug#31354: 26.1rc1; window-configuration-change-hook not respected anymore Stefan Guath
2018-05-03 13:38 ` Eli Zaretskii
2018-05-03 14:00   ` Stefan Guath

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).