From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32672: 27.0.50; image resize on window resizing Date: Wed, 12 Sep 2018 08:33:33 +0200 Message-ID: <5B98B33D.7000605@gmx.at> References: <87pnxmyjgt.fsf@mail.linkov.net> <87ftyfoakb.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1536735675 15360 195.159.176.226 (12 Sep 2018 07:01:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 07:01:15 +0000 (UTC) To: Juri Linkov , 32672@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 12 09:01:10 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 1fzz9A-0003nA-3z for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 09:01:08 +0200 Original-Received: from localhost ([::1]:34793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzzBG-0008P9-5E for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 03:03:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzzB8-0008Om-Bx for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 03:03:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzzB0-00019u-Gi for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 03:03:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzzB0-00019k-4q for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 03:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzzB0-0007QC-0T for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 03:03:02 -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, 12 Sep 2018 07:03:01 +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.153673576228489 (code B ref 32672); Wed, 12 Sep 2018 07:03:01 +0000 Original-Received: (at 32672) by debbugs.gnu.org; 12 Sep 2018 07:02:42 +0000 Original-Received: from localhost ([127.0.0.1]:37733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzzAf-0007PR-Tq for submit@debbugs.gnu.org; Wed, 12 Sep 2018 03:02:42 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:51609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzzAb-0007Oy-WB for 32672@debbugs.gnu.org; Wed, 12 Sep 2018 03:02:38 -0400 Original-Received: from [192.168.1.101] ([213.162.73.211]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lz0aC-1fmfQL3Aem-014955; Wed, 12 Sep 2018 09:02:29 +0200 In-Reply-To: <87ftyfoakb.fsf@mail.linkov.net> X-Provags-ID: V03:K1:jTd1XSrMTUI/Y+tyEA/tr+yTW+r7mnFfcppOocnvnr5VvcLI2a+ Makp5NI9RoGg5LCYEEIGFEbKw142qUzccwZR36AU1bfQnnrulohdkdILxvkTmBQlNaJ4i0A 4ghFdJqLRu++uCz9eQQ6fnq4Sqg+WzBlRh5M8T8yGbHGGqh1E51FgyWx25h9BirxhwzmKxZ t4CxlkdYWEQjU1Oxdz4EA== X-UI-Out-Filterresults: notjunk:1;V01:K0:aGhAFqtXj3E=:C/J3xU23pUT2QwUuX8lIpJ Pe9IUs6yxwf+103oq+evJp8zgpV1Mnon/JGzITkF6nNvdIUm8YGpWo409q11shjjIO3yNZ1q6 Tl2cFjWJaNGxe8ze6MsFq07XVNm9PxnG0cdGsJ2qIYHyjqiS6MJzWfLIDK6fDGc2p1YIJBk0q mW39FAdWU+Zh91x75MyeI7/4147XBgeiESrJDzRmnltZAj2HRgA4Dg6Br7rDWUzLt3mtBRxZ0 3HdLdXIFd38MSnDnsbNqbH4EeUlNgXlFliSKZoLtJca8LYkWDao2On6QefX/Ze+EAVaUcTRRG bEBLDONAE8Bf/Y4dyG0YqmNN+F4n38B2RBztot/iFxBCc1AijHZgZ6Y0aDvd9AdsF0xdyki/R jB9SgTTdbxMxMs2/IIjRekd8mGu71vMHw++7rNkle4yjzFZ4ig+IBXTVE4dY3MfbRKkerMq4n b7YagTL/WUTYh2A2TKthz3QOzGk6rg+MhpAAluOa5VuTJ/tU7s/5G+sS3LG6HZ0PFLOfaIlIr YcSYU6COfYNP677EVWK7Be6QvuaTQ8V9MwVJVJtJlHHd6sbAQLIXXMFKWuy+X9xd83dvwLApF NyYonFaeB35OdIwGIH15BIdxTOvWToBnpeYYWcCvrhnxJ7C3oaa7SuyyaZNKcd4qx0WDgV2Pc QWQvqGy7bQhR6Bgc8/2M2ytbzcYWQhawmyUK7p1mMKMbxmPzJVYnlHibgeP3Coy9PDrs/muCR fwKeaHITEG7bku/RONhg3rbLkF07h45wBj1Tye7piRtVG7T6+F7yPr30KQaTBBCWU6dFOkvX 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:150241 Archived-At: > There is still a problem how to catch a moment when an image-mode buffer > is displayed after switching to it. "Switching to a buffer" means to display it ... > For example, when the selected window > is resized while it displayed a non-image-mode buffer, then after that > the current buffer switched to the image-mode buffer. ... so please reformulate this in terms of a sequence of some sort of pseudo actions. In Emacs terminology, switching to a buffer implies making it current but making a buffer current doesn't imply switching to it. > I can't find a hook > that could be activated to resize the image to fit the new sizes of the window. Tell us which action should trigger such a hook. Thanks, martin