From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21333: 25.0.50; window-size-change-functions not called after mini-window resize Date: Wed, 26 Aug 2015 09:09:48 +0200 Message-ID: <55DD663C.4040504@gmx.at> References: <83k2skhhz1.fsf@gnu.org> <83twrofr0u.fsf@gnu.org> <55DC185A.4080101@gmx.at> <83oahvfllk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440573033 19413 80.91.229.3 (26 Aug 2015 07:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2015 07:10:33 +0000 (UTC) Cc: pipcet@gmail.com, 21333@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 09:10:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZUUqc-0006lC-D9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Aug 2015 09:10:14 +0200 Original-Received: from localhost ([::1]:36446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUUqb-0006US-Tm for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Aug 2015 03:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUUqT-0006PP-38 for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 03:10:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUUqS-0007CN-8v for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 03:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUUqS-0007C1-4s for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 03:10:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZUUqR-0002al-Hk for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2015 03:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2015 07:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21333-submit@debbugs.gnu.org id=B21333.14405729989942 (code B ref 21333); Wed, 26 Aug 2015 07:10:03 +0000 Original-Received: (at 21333) by debbugs.gnu.org; 26 Aug 2015 07:09:58 +0000 Original-Received: from localhost ([127.0.0.1]:38540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUUqM-0002aH-CO for submit@debbugs.gnu.org; Wed, 26 Aug 2015 03:09:58 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:61981) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUUqJ-0002aB-Sm for 21333@debbugs.gnu.org; Wed, 26 Aug 2015 03:09:56 -0400 Original-Received: from [194.166.87.107] ([194.166.87.107]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lwnem-1YfxbV39nE-016Pig; Wed, 26 Aug 2015 09:09:53 +0200 In-Reply-To: <83oahvfllk.fsf@gnu.org> X-Provags-ID: V03:K0:/nGZCEhJTKqwWbfGj0jjyIij4GrYa/55JsJ3xjLUWNtmGlhUdft SRmWfhIBA1laUrBbync0K64Ysc7n09ex5UTroeHiumnnDDZ7r/3Sn6QB9ouiUQhS+AKeXbN QWu/0vc9yjpmediSwgzO1ko1q41h7y4T5aqdDxI2wLZvZpm0CsYCheE7zGjIOyPeZT/4yyy knQqYKqaGzo6jFIwC/3tA== X-UI-Out-Filterresults: notjunk:1;V01:K0:LnSHH581uMU=:TaG3h1+YsT1GEC3Kzv0UQf jocYqjj9p1ZQ2vmeqT0mzfuRu5BUiCIUqProbKuYZ2R+DVY94AE6yqgvtoLKzVv0TGzg/81KJ ej85glQfgmFi7o/htbXOUqH4xhNKaBG8MBFoMnzDNxJPCJ0jaMp4K97EMSSjxXbNCvLz4LSW8 WjD7bNdIJa5Z4OFi9tLUX4ppTN9K1DRGHhiMvyBuQLFGNY7jxghNolzrkQA7lp42JZZUxcz41 6U6My5Z41Ch4k56+QchmSMfLKqRJsUZwNHzh++sbv32A6tGptHViLoq4BcH1oC/+xz+aJ66uY EmVUQZg9yhTSzyEfZOpLKMdUftIWyNOul/hi48OL7KtX5U7uiMt6EeqrCdqXNP5y6MBFqTYLc VV8M7954wMoioCwvV6WDUNg1WGHFes6B6/SS5jdp5W76eoRMsS73tSMduo39XGlI0wIFjYI9N 8IKaa0Tpwkuabz17DEg2gQfNUBMhInTNS6alIWoXREWfFkoWyi1VIVU7FIEQgHgYga/JvnJ7W WPAkJBVeU/Ym0aKDucmmc5rnS6Fuu4rmEu6FOU1z90u3kNCcJfHRX1xNFai37wC8LFx6o9JWE cHuwAAKg3l6SXSreA0lYV/K6HLA3pbYR5Z2uOmmAjHZ5SSUIEtVLZmHOVeyxa0ip618ClU2uK Bb4kbXAdpl79Eka50QqZjW4l8b6wpMRzzZpjldL0HjeZH64PsNR9xfNy5eQAoHbxGHWFnHc8q vRPjNMaeZj4bqK9R8jD08CtDCQUldlvs+dTgnw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105826 Archived-At: > And I'm still not sure I understand the relevance. How exactly > knowing about the automatic resize will help with coordinates in this > case? If the Lisp program recomputes coordinates inside the hook, it > will get the same results in most cases (when point is not in the > obscured lines). So an alternative that doesn't need any hook is > simply to recompute the coordinates every time they are needed. It's > not like this calculation is expensive, is it? Correct. So =E2=80=98window-size-change-functions=E2=80=99 is dispensabl= e. > And we get regular complaints about that as well. Moreover, the > setting of the modified status by fill-paragraph is just an annoyance > that doesn't cost anyone any extra complexity, whereas the situation > with this and similar hooks costs us quite a lot in that aspect. But you don't worry about performance anyway. OTOH for the person who writes the function on the hook it might hardly matter whether some window size really changed. The more important case might be to not miss one single case where the size really changes. martin