From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32672: 27.0.50; image resize on window resizing Date: Thu, 27 Dec 2018 23:41:59 +0200 Organization: LINKOV.NET Message-ID: <87y38azly0.fsf@mail.linkov.net> References: <87pnxmyjgt.fsf@mail.linkov.net> <87r2e3j1mp.fsf@mail.linkov.net> <5C249D2F.6020803@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545947985 31481 195.159.176.226 (27 Dec 2018 21:59:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2018 21:59:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32672@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 27 22:59:40 2018 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 1gcdgp-0007wt-Nb for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 22:59:40 +0100 Original-Received: from localhost ([127.0.0.1]:55465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcdir-0005Yw-J9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 17:01:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcdev-0000pS-Oa for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:57:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcdTh-0005Cx-Sy for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:46:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcdTe-0005Af-Fv for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:46:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcdTe-0006D6-Ca for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Dec 2018 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32672-submit@debbugs.gnu.org id=B32672.154594715623857 (code B ref 32672); Thu, 27 Dec 2018 21:46:02 +0000 Original-Received: (at 32672) by debbugs.gnu.org; 27 Dec 2018 21:45:56 +0000 Original-Received: from localhost ([127.0.0.1]:39592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcdTY-0006Cj-Ck for submit@debbugs.gnu.org; Thu, 27 Dec 2018 16:45:56 -0500 Original-Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:11783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcdTW-0006CZ-GM for 32672@debbugs.gnu.org; Thu, 27 Dec 2018 16:45:54 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 355F85E38D7; Thu, 27 Dec 2018 21:45:53 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (unknown [100.96.26.166]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E824F5E37C2; Thu, 27 Dec 2018 21:45:52 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 27 Dec 2018 21:45:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Share-Descriptive: 0e619bac5fccb125_1545947153066_218640453 X-MC-Loop-Signature: 1545947153066:3683460963 X-MC-Ingress-Time: 1545947153066 Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id 953E67FCFE; Thu, 27 Dec 2018 13:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=CiiT3vQW6GXE7H55Qi4VcMudtws=; b= CTzyjPROHCqExc4SZrY2P1koUYdjG2d0TpZITPRlTomCXhzNJZG5jFno/Vij1CkF V0BGhmDKu2R+TTY7XVeLLCjZM72Fo7PySNo42K31sex400QCksZYRMM9gBAnHB/r LHA7wm8hwE+AS3LDhv9aIZEWHdedetb0U/HwpwbvsDY= Original-Received: from mail.jurta.org (m91-129-108-193.cust.tele2.ee [91.129.108.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 447A57FD07; Thu, 27 Dec 2018 13:45:50 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a68 In-Reply-To: <5C249D2F.6020803@gmx.at> (martin rudalics's message of "Thu, 27 Dec 2018 10:36:47 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrtdefgdelfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrudelfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrdduleefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedu 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:153933 Archived-At: >> Using new hooks I noticed only one problem that when the same image buffer is >> displayed in several windows then using `other-window' to switch between them, >> the selection-change hook is not always called. > > I can't imagine that to fail - it's too elementary. Can you give > an 'other-window' scenario without images? This is because of debounce: the selection-change hook is called twice, so only the last call is processed. But the problem is that the selection-change hook is called not in the logical order, as would be expected, i.e. first in unselected window, then in the selected window. But actually it's called in the order of windows in the window list, e.g. first the 'selected' event is called if the window was created earlier, then the 'deselected' event if the window was created later. IOW, the calling order depends on the window order.