From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs Date: Sun, 20 Feb 2022 10:17:41 +0100 Message-ID: <6e15c95e-f282-1b31-3dc8-da36c37d1b83@gmx.at> References: <874k4xrgu5.fsf@gmail.com> <86wnhtjrb4.fsf@mail.linkov.net> <87fsohouaw.fsf@gmail.com> <86wnhslhli.fsf@mail.linkov.net> <86y226wyea.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54038@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 10:18:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLiMK-0006j2-5R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 10:18:24 +0100 Original-Received: from localhost ([::1]:57150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLiMI-0001lk-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 04:18:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLiM0-0001ka-3T for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 04:18:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLiLy-0005xG-UN for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 04:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLiLy-0006bI-Rd for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 04:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Feb 2022 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54038 X-GNU-PR-Package: emacs Original-Received: via spool by 54038-submit@debbugs.gnu.org id=B54038.164534867125339 (code B ref 54038); Sun, 20 Feb 2022 09:18:02 +0000 Original-Received: (at 54038) by debbugs.gnu.org; 20 Feb 2022 09:17:51 +0000 Original-Received: from localhost ([127.0.0.1]:59352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLiLm-0006ad-Nx for submit@debbugs.gnu.org; Sun, 20 Feb 2022 04:17:50 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:46945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLiLk-0006aN-Hr for 54038@debbugs.gnu.org; Sun, 20 Feb 2022 04:17:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645348662; bh=CbaPXOSfXg2D7EcoDCB2ZWufE2KJicbkhA7em0Czl4o=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=PQWiaXglmr2X1QEMjlvpd96wEZUsPgLRpoW0KSmuFP2BYt3l5a7r15tPl8C7ypQpT K8bhIR270wU+ZzzR/mGBRm6mIGAh/Fogd+Ci9Rq/lEbeV/sCAfftOAJhTvpUvsPBem 8cdgieLpX8DCrQEG0CUVG4m/4D3Ib/ULh25VKbc4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([213.142.96.4]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M3lYB-1nLR6D24X5-000q0L; Sun, 20 Feb 2022 10:17:42 +0100 Content-Language: en-US In-Reply-To: <86y226wyea.fsf@mail.linkov.net> X-Provags-ID: V03:K1:r/tK7jX7dAVgUage4YY6JuKAZ7WGCYWNvjr16S7sSzL3uhw0M3m 9l+uolg1CuTG+O9H943OfJBcpU6RllqEjvBfTxg5vzPCt2TkFJ8XeJPYvRB/w8ZODxthc8v eOLiIJcr9M2E8qmjT53AD+n+UW2IwMKH0cFyAxzIZkIzk88E8RVTHzFDnCYCdvyT6Ean0Nu m5oIzXRZ71RmQ5XMBenjA== X-UI-Out-Filterresults: notjunk:1;V03:K0:zx7yoS7PyI0=:0ryT4ICszBgehP6tu0okBa el0eJXs2f7o73FmsO6fpZqTNESQU5iPejR8nUJeYboCBMmKFq+nqCSunH8ldr5mtKlASFkRuv iKfZ9sysn2QriFlzz13jTt+lThlQB9lbB2qKNvEkeJomXNfJhCDTG8zAflqm5YdfypQXNrzmh kSWk5Ggz4aIR3/H7qSszz3YUcsucGqJdYioHXDbCBUhbFjaB7LSkvhXZhM4Yj14QDmCFnD1dv eSaxn8WJwIJko+5XrMvddMwlmlX8TepKAEOp6IeEpXkjciZwD7tNS0wweuTlE6zOCV4iGuxp0 UCyazOxW0fCQx4QncryRKSxRfhHxDjOoE9ivxbbbvWF7LWq1WGVdwplzgBhd9PjZZbbhb/UCV M+QhMyrc5Yx+EVkotr3weshsIDsTGwTJOjINGlC1C70zDfXI0HAIaZ60CYBu93Z93hWdkeZXQ FZY5/GqOHPeXGpOuBqCR1xDVFeCDqsERGr+OTcUlvibpKBzkG3TNzTKI49ELX3OdtviNERRI5 F7Mdt8L0ZykJsPNfVjlnKgTnOfC7pHfv5fct0ju/kBYb8HG/XlrRLLnostrKUGTkFEBIu10Bs X6vpE9I0nYcfOhS9sHQThcFN3sHKTzxOn5TDh3SDpGkCHJ1s0B+Jd3CXK5Vm7zeFRGsesfZ9H REUDuiAhWq2vLH1ppb/v4T+LFv4BBOdhHNs8GXdlzDxdLbdNlot4t0MsGBdCVUUkEPF8ZdW+e 4dTfqDJllS0bc5GAxF5YF87uGN4F6AbEQ55SoWBqFCerHDWhbX+OAPjNspc3Br3aaRfoZpxU X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227216 Archived-At: > 'window-live-p' doesn't check windows saved in window-configurations in tabs. > > Maybe it should check tab window-configurations on all frames > by a new function 'window-configuration-windows' > (something like used in 'tab-bar-get-buffer-tab'). > > But then what about windows saved by 'window-configuration-to-register'? > Should they be checked by 'window-live-p' too? > > Or maybe better to change 'image-mode-winprops-alist' to the hash > 'image-mode-winprops-hash' where window keys are garbage-collected? > So when a window is deleted from all window-configurations, > it will be garbage-collected? GC tries to remove dead buffers window configurations stored in their list of previous or next buffers. But checking for whether a dead window has disappeared from all stored configurations is more demanding - maybe we could reserve a bit in each window the collector resets for all dead windows at the beginning of each cycle and at the end reclaim the space of all windows that did not have that bit set when the window was found in a stored window configuration. martin