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 06:36:18 +0530 Message-ID: <87fsohouaw.fsf@gmail.com> References: <874k4xrgu5.fsf@gmail.com> <86wnhtjrb4.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="27660"; 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 02:09:09 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 1nKrll-00071X-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Feb 2022 02:09:09 +0100 Original-Received: from localhost ([::1]:40180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKrlk-0006Dh-80 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Feb 2022 20:09:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKrle-0006DY-H9 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 20:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKrle-0007RM-2u for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 20:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKrld-0008F7-VA for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2022 20:09: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 01:09: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.164514653031662 (code B ref 54038); Fri, 18 Feb 2022 01:09:01 +0000 Original-Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 01:08:50 +0000 Original-Received: from localhost ([127.0.0.1]:53045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKrlS-0008Ec-BI for submit@debbugs.gnu.org; Thu, 17 Feb 2022 20:08:50 -0500 Original-Received: from mail-pl1-f195.google.com ([209.85.214.195]:35520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKrlQ-0008EP-Ml for 54038@debbugs.gnu.org; Thu, 17 Feb 2022 20:08:48 -0500 Original-Received: by mail-pl1-f195.google.com with SMTP id i10so5939886plr.2 for <54038@debbugs.gnu.org>; Thu, 17 Feb 2022 17:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:date:lines:references:user-agent :message-id:mime-version:content-transfer-encoding; bh=TNeEvrnvJYPjCAve8m+B71C/EzktnsB3/vlNThrOfWo=; b=fa68TLWXotILqy+nl4wlV2NnOStZvRuDOS3txOMCR1sH9fk2stJExx33sf4sv6YATN 10SwbWu5w3ymeddXyrP2+Xh0TFqm3E7ZdMbw/9RqyHXYif/m+biVlXOGGZtZZ9AxKEB2 k74qTEPtKKxvFUV3tWJtHi/qMjmqF9+AvlB1xk/f0YP1OTPXoZaEo7Kc5Fe9EMdo77kD 7VmaJUqKvVQU9uxyTeoOtLOkw/K0RX2k7yvILQh7CTdAolSa1Yd5pGqRL16rTzSTsrSW nw6i+wwnHGnoAQvIjg+xz3mlAjXZNwV9F0fz7ONnI1L9KCBMnJVLCJ11aomkILzYoNNQ IUCw== 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:in-reply-to:date:lines :references:user-agent:message-id:mime-version :content-transfer-encoding; bh=TNeEvrnvJYPjCAve8m+B71C/EzktnsB3/vlNThrOfWo=; b=THq/LA+bv9asXFTimDOFxsYfV28IQizEJJRFMpdVEnn1qdvEgx0xAkd27l+WHA7j8q 7J45HpMeknWwo9PXDeuJ6MtpDBFEuTFg98tnJ/4pV/axF4k8rdd1MnLCvPS5q9kXcHmb 36AGc2Jhg81ratBuj55Fqxc+aiMR4dpbY9rcNWaV+7Mm+Xy4FPqS1J1lZyB4XskLsQlK ujeOZyiFWQZhVHlILH4qghrlmHfNu4vOI7HyAvJiootkJYl5egWx8ibiLZbZ4w/zulyU SId99ilYXsArUIDoCoJfc+eruYSM+6CJQyE93RbapXobaPYJo/EADAkKTROnzOLtkZTJ swDA== X-Gm-Message-State: AOAM531Ij6BySeN1IugHwtwnAxMyz3HJY/DrOWmOwTgeIGqtK+PP+oYB VAfvIsMSGjMMYs8ROBZBdRYiqQBjw/UEEQkL X-Google-Smtp-Source: ABdhPJxa2Ykd50cOe7SpGSQEM1wJY5zImuDBBCkPgjntzeV68/cNfI7oC8a4fkbDQ05tN450TnvDvA== X-Received: by 2002:a17:902:6ac4:b0:149:907d:afdc with SMTP id i4-20020a1709026ac400b00149907dafdcmr5217490plt.59.1645146523042; Thu, 17 Feb 2022 17:08:43 -0800 (PST) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id p27sm831122pfh.98.2022.02.17.17.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 17:08:42 -0800 (PST) In-Reply-To: <86wnhtjrb4.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 17 Feb 2022 20:12:15 +0200") Original-Lines: 37 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:227130 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D, =E0=AE=AA= =E0=AE=BF=E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B5=E0=AE=B0=E0=AE=BF 17 2022] Ju= ri Linkov wrote: >> Pretty much the subject. >> >> 1. emacs -Q. >> 2. Open a pdf file. >> 3. Clone the tab using C-x t n. >> 4. Move to the next page (n). >> 5. Switch back to the original tab C-x t o. >> 6. The page is changed here too. >> >> Expected: The original and the cloned tabs should show different pages, >> just like how you can show different pages in different windows/frames. >> >> [ FWIW, the same problem also exists with pdf-tools. ] > > This is expected behavior when you use 'C-x t n' that clones > the current tab. A new clone has exactly the same window. > You can confirm this by evaluating in each tab: 'M-: > (selected-window)'. > It will show the same window number. But doc-view can show different pag= es > only in different windows. I see, thanks. I didn't know that. If that is the case, the current behaviour makes sense. I was confused primarily because tabs created this showing regular buffers were allowed to have different points. 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.