From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29279: Sharing the margins Date: Sun, 19 Nov 2017 17:30:01 +0200 Message-ID: <8360a6ffra.fsf@gnu.org> References: <0a54e927-cab1-1f1d-4996-85bb36949a33@yandex.ru> <83375imbaa.fsf@gnu.org> <83o9o6kp61.fsf@gnu.org> <83h8tykm99.fsf@gnu.org> <83375glvx4.fsf@gnu.org> <0547e92c-a574-0fe4-6122-1d11b24ee3c5@yandex.ru> <5A0C8CC6.1090203@gmx.at> <834lpvjomc.fsf@gnu.org> <0e8009ab-d5b1-f996-0ae1-bd4680e5e81b@yandex.ru> <83tvxui663.fsf@gnu.org> <22787e15-080b-0309-d27e-f5ff937cee9e@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511105476 1609 195.159.176.226 (19 Nov 2017 15:31:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2017 15:31:16 +0000 (UTC) Cc: 29279@debbugs.gnu.org, joostkremers@fastmail.fm To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 16:31: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 1eGRYq-000887-Fg for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 16:31:08 +0100 Original-Received: from localhost ([::1]:53415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGRYu-0005bU-1P for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Nov 2017 10:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGRYn-0005bB-IJ for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 10:31:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGRYk-0004IX-Ah for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 10:31:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGRYk-0004IL-6q for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 10:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGRYk-0000tH-17 for bug-gnu-emacs@gnu.org; Sun, 19 Nov 2017 10:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Nov 2017 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29279-submit@debbugs.gnu.org id=B29279.15111054253379 (code B ref 29279); Sun, 19 Nov 2017 15:31:01 +0000 Original-Received: (at 29279) by debbugs.gnu.org; 19 Nov 2017 15:30:25 +0000 Original-Received: from localhost ([127.0.0.1]:47673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGRY9-0000sR-7W for submit@debbugs.gnu.org; Sun, 19 Nov 2017 10:30:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGRY7-0000sD-9t for 29279@debbugs.gnu.org; Sun, 19 Nov 2017 10:30:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGRXy-0003zx-Li for 29279@debbugs.gnu.org; Sun, 19 Nov 2017 10:30:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGRXv-0003yB-NK; Sun, 19 Nov 2017 10:30:11 -0500 Original-Received: from [176.228.60.248] (port=1915 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eGRXv-0007oX-4H; Sun, 19 Nov 2017 10:30:11 -0500 In-reply-to: <22787e15-080b-0309-d27e-f5ff937cee9e@yandex.ru> (message from Dmitry Gutov on Sun, 19 Nov 2017 01:46:29 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:140092 Archived-At: > Cc: 29279@debbugs.gnu.org, joostkremers@fastmail.fm > From: Dmitry Gutov > Date: Sun, 19 Nov 2017 01:46:29 +0200 > > On 11/16/17 5:39 PM, Eli Zaretskii wrote: > > >>> Regardless of the reasons for this change, it doesn't affect the issue > >>> at hand: calling window-size-change-functions from inside redisplay > >>> has the same issues as calling window-configuration-change-hook. > > Could you clarify what is the exact issue, BTW? The same ones described up-thread: the adverse effects of calling these due to change in line-number width. > >> But margin size changes won't have to call window-size-change-functions, > >> right? Then it might be possible to move all the heavy consumers to this > >> hook, leaving window-configuration-change-hook relatively lightweight > >> (right)? > > > > For some value of "lightweight". The ones that I think about would > > want to change window dimensions, e.g. by enlarging or shrinking the > > margins, and that is not "lightweight", as I explained up-thread. > > Are window-size-change-functions really supposed to be called when only > the margin size has changed, but not the window's outer dimensions? It's the other way around: in the cases discussed here the hooks will most probably _want_ to change the margins or some other window dimensions.