From: martin rudalics <rudalics@gmx.at>
To: Steve Purcell <steve@sanityinc.com>, 23579@debbugs.gnu.org
Subject: bug#23579: 25.1.50; window-configuration-change-hook not invoked when window resized
Date: Thu, 19 May 2016 15:02:14 +0200 [thread overview]
Message-ID: <573DB956.7050301@gmx.at> (raw)
In-Reply-To: <7d251ae5c3f0bd45bfca513099bf7328.squirrel@mail.purcellpeople.com>
> Under OS X "El Capitan" it's possible to split a Space between two
> full-screen applications, with a draggable divider between them.
>
> When Emacs is one of those split-screen applications, it does not
> trigger window-configuration-change-hook when the divider has been
> dragged, even though the net result is that the window configuration
> changed.
Recently I have tried to make the distinction between size and
configuration changes more precise. Please have a look at the Elisp
manual. The scenario you describe above does not change the
configuration of any of the involved frames but only their sizes.
> This means that user or package code which relies on the hook is not
> triggered reliably, leading to unexpected behaviour.
Indeed: For the given scenario you have to add a function to
‘window-size-change-functions’.
martin
next prev parent reply other threads:[~2016-05-19 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 4:42 bug#23579: 25.1.50; window-configuration-change-hook not invoked when window resized Steve Purcell
2016-05-19 13:02 ` martin rudalics [this message]
2016-05-19 19:50 ` Steve Purcell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573DB956.7050301@gmx.at \
--to=rudalics@gmx.at \
--cc=23579@debbugs.gnu.org \
--cc=steve@sanityinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.