From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs Date: Fri, 18 Feb 2022 17:49:15 +0530 Message-ID: <877d9spdto.fsf@gmail.com> References: <874k4xrgu5.fsf@gmail.com> <86wnhtjrb4.fsf@mail.linkov.net> <87fsohouaw.fsf@gmail.com> <86wnhslhli.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3866"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) 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 Fri Feb 18 13:22:01 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 1nL2Gt-0000jZ-2E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Feb 2022 13:21:59 +0100 Original-Received: from localhost ([::1]:52338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL2Gr-0005Pc-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Feb 2022 07:21:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL2F0-0003y7-P8 for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2022 07:20:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nL2F0-00068x-Eb for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2022 07:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nL2Ez-0002es-VI for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2022 07:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Feb 2022 12:20:01 +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.164518678410188 (code B ref 54038); Fri, 18 Feb 2022 12:20:01 +0000 Original-Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 12:19:44 +0000 Original-Received: from localhost ([127.0.0.1]:53603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL2Ei-0002eG-3I for submit@debbugs.gnu.org; Fri, 18 Feb 2022 07:19:44 -0500 Original-Received: from mail-pf1-f196.google.com ([209.85.210.196]:36785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nL2Eg-0002e2-3V for 54038@debbugs.gnu.org; Fri, 18 Feb 2022 07:19:42 -0500 Original-Received: by mail-pf1-f196.google.com with SMTP id z16so2201670pfh.3 for <54038@debbugs.gnu.org>; Fri, 18 Feb 2022 04:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZoWCU0iI4b6NW213riDMYqNUqRMd5Lri72zmK0Wk88U=; b=q79hfDQm+YGdY4AvjyZXl4G36FDbcgZbzx4AXk+anxnAqjauk4q3l0FHNDUWnR44Zk cz3It7RoIoe+sDKa0kon3rwWar9VXbINEtH5WqRqwYTXVFeC+gqh9QTsg2kEXFfPZXvQ nwJ6k2Gqt/eWe5a9tKNEdlQZdyA3CjU1h0j/voFZF4F3m0oLyHXRiWScCjLb8sQZ1MXV 2LR8fsTh0ixz2zIqL2K74KgQ/mwL8INIvBAUatmamk6X3Z1AkodwdOoi6sOETBg2AYB/ xMcGxp+iBY1XeABBCqYZ7cKtWVXBjhHl8W7iqDg3m58iYayhwQcYA8AAEcQtPSDN2Y78 7D7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZoWCU0iI4b6NW213riDMYqNUqRMd5Lri72zmK0Wk88U=; b=ICvpCNUVaCfCByMoPe+3q0TnXN8xHNuLinbzGZMRT0l5/jIxOcu5djVbVCPiRKOXXA dHpEl/tRQnnIugWzrtZF8CWJLOKZ2VTrDrRJQe7//U8hK0z0Egp/+P44+4C5KmMl34JG oX/WSSu4g7/YVtWYbG1+lcfFhbXwOasK3stcu7O+DRdT2i12CRHIiwfhk5N9qjtvBSDx 9zcTcKkon22101QQVrEjwS19gPVHiAojxuDgaCGzW6B/ZvnBHUuU+KHFWg21jZrR4Psq jCtcQS/kOS+FrP6rHuRVD09yGDKtQSu9SReXFjQuve6XgF3AUHawm5Qx2dLBUdSkrCCh 8nlQ== X-Gm-Message-State: AOAM5325wrslVUlJcUzhanIBsr36ul+iv/57qEfq0Sv44zTwDavU42mT tXx6i7F6GMT0d3PCNGpLY9s= X-Google-Smtp-Source: ABdhPJwzAP0rzlnRVQyll+FMYaNICrpOTiEA+OML4gCD9FS5MfkG8R85wjbd6wjYVuUaTEYU97aqrQ== X-Received: by 2002:a05:6a00:1a04:b0:4e1:786c:cce3 with SMTP id g4-20020a056a001a0400b004e1786ccce3mr7399138pfv.81.1645186776041; Fri, 18 Feb 2022 04:19:36 -0800 (PST) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id o8sm3524438pfu.90.2022.02.18.04.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:19:35 -0800 (PST) In-Reply-To: <86wnhslhli.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 18 Feb 2022 10:11:21 +0200") 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:227151 Archived-At: [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF, =E0=AE=AA=E0=AE=BF= =E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF 18 2022] Juri Linkov= wrote: >> But, how can I get my desired behaviour tho? If I create a new tab >> using C-x t 2, it breaks doc-view in a different way. I am finding it >> hard to describe it in text, so I would appreciate it if you can try it >> out for yourself: essentially, C-x t 2, and then try changing pages. >> Doc-view doesn't show the correct image but the page number in the >> modeline changes. > > Please try this patch with 'C-x t 2' (whereas 'C-x t n' will be fixed lat= er). > The problem is that when 'image-mode-winprops' does window cleanup, > it doesn't take into account windows saved in tabs. > Doc-view is still broken here. But now the tabs at least show different pages but they break in a similar way as before. Also, unfortunately, this completely breaks pdf-tools (one tab shows the image, the other shows the raw PDF file). Considering that it is in NonGNU ELPA, it would be nice to ensure that it isn't broken.