From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29050: 26.0; Change in when `window-configuration-change-hook' is run Date: Sun, 29 Oct 2017 17:10:55 -0700 (PDT) Message-ID: <7f86795f-e5b7-4d9c-a499-df2951ece50c@default> References: <37edcb5c-29d2-4125-a86d-a360db6fcd5f@default> <59F5B927.5020907@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509322337 3762 195.159.176.226 (30 Oct 2017 00:12:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 00:12:17 +0000 (UTC) To: martin rudalics , 29050@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 30 01:12:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8xgU-0008Dv-7M for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 01:12:06 +0100 Original-Received: from localhost ([::1]:38147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8xgZ-0001wy-Qh for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Oct 2017 20:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8xgT-0001wb-Pe for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2017 20:12:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8xgQ-0006OL-KX for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2017 20:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8xgQ-0006OF-GR for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2017 20:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8xgQ-0004Z8-8g for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2017 20:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Oct 2017 00:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29050-submit@debbugs.gnu.org id=B29050.150932226517484 (code B ref 29050); Mon, 30 Oct 2017 00:12:02 +0000 Original-Received: (at 29050) by debbugs.gnu.org; 30 Oct 2017 00:11:05 +0000 Original-Received: from localhost ([127.0.0.1]:41103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8xfV-0004Xw-Le for submit@debbugs.gnu.org; Sun, 29 Oct 2017 20:11:05 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:31305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8xfU-0004XR-BJ for 29050@debbugs.gnu.org; Sun, 29 Oct 2017 20:11:04 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9U0AvUO017058 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Oct 2017 00:10:57 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v9U0AuM5013683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Oct 2017 00:10:57 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v9U0Au4V007744; Mon, 30 Oct 2017 00:10:56 GMT In-Reply-To: <59F5B927.5020907@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4600.0 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139172 Archived-At: > In earlier Emacsen, changing the frame size was allowed to delete all > windows but the selected one. Nowadays, changing the frame size does > not delete windows any more and so does no more change the window > configuration proper but only the sizes of individual windows. >=20 > 'window-configuration-change-hook' is a quite expensive hook which is > run for way too many functions in the windows area. It's expensive > because it's run for every single invocation of these functions and > often even if nothing had changed at all. I plan to run it exclusively > for the following cases - window deletion and creation and displaying a > different buffer in a window - which are all real changes. Any window > resizing is covered by =E2=80=98window-size-change-functions=E2=80=99 whi= ch is now run > (almost) only when the size of a window really changed. OK.