GNU logs - #54038, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 17 Feb 2022 09:20:02 +0000
Resent-Message-ID: <handler.54038.B.16450895605527 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 54038 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16450895605527
          (code B ref -1); Thu, 17 Feb 2022 09:20:02 +0000
Received: (at submit) by debbugs.gnu.org; 17 Feb 2022 09:19:20 +0000
Received: from localhost ([127.0.0.1]:50138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKcwZ-0001R2-2x
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 04:19:19 -0500
Received: from lists.gnu.org ([209.51.188.17]:50258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1nKcwX-0001Qs-CT
 for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 04:19:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60984)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1nKcwX-0000Se-47
 for bug-gnu-emacs@HIDDEN; Thu, 17 Feb 2022 04:19:17 -0500
Received: from [2607:f8b0:4864:20::543] (port=39582
 helo=mail-pg1-x543.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1nKcwT-00013q-UK
 for bug-gnu-emacs@HIDDEN; Thu, 17 Feb 2022 04:19:16 -0500
Received: by mail-pg1-x543.google.com with SMTP id 195so4475729pgc.6
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Feb 2022 01:19:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:lines:user-agent:message-id:mime-version;
 bh=eW4zbkYRc03MwJFSgFaT3OdC8PmDZwBFjI6idfLmmHc=;
 b=kjSusQdmZ3pryla+AWdx+cbFy2HeVnas8A2TflCC15jeSPUzPRTUyS0aZNb13hCsMv
 /P/GFNHfXVT6lPon+3MdNvhm2VZsryqZ0APsaNBYIwx+luuvz86GZHAddsTcgswneXlo
 En/boQBEzEQAvvMkld6JSXRxmOSUk2vmuA5d3Gq4misukfudG3Rq4ceEdhljCwQyuf7E
 kjATn20cXBqZ0r3s9j6CHgrQtzlxV/xtKwtS8Oj42A+deF4wFbtEZYF4rohmp3XUtz5i
 mNLn84IZBQvMKNKASCsYbTdWafB5VzrdLusFEBv4JQjCzZMLOkiCwpcouLrX8PWDhUG+
 Sj7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:lines:user-agent:message-id
 :mime-version;
 bh=eW4zbkYRc03MwJFSgFaT3OdC8PmDZwBFjI6idfLmmHc=;
 b=C8xqI7ec4zJCjLqDaFyMp41fdtSKELqZuXw4jMgsNVtRkTq8viIBiRrO3+j3NALvpw
 csEbFpQJ8OS0fzgoSPVYM98RpMnxnNDEiPJCQN8BaTTIpoMb8jFmcLMFyT8pZf5gDram
 GJKBBrFjJavim6eKtWZfHlqv9tsAcbqXs72mlanbRtzsESX77yzrKKh7aOl4UKyK05Sf
 wCebT4G67VoEhzE+mYd1mSF+PWicYlTQCP/rfzXoCvvrEcmBWnlll/zv4PCLu9LN5rh/
 hkJ+/qyq4W9fkLccShVQZvt+78ZtxOpY4VmEUcd8cptJRVWC5wssbqSow8xwXVPOOetD
 CNGA==
X-Gm-Message-State: AOAM532uxBDbTS2Epjx6eYoT1mFESA0/P+l3hOjDLacsWl4Q/Loc+UAB
 9GPpbPcPUzfhYtMr4zFRO8ys1pjPLv8LRw==
X-Google-Smtp-Source: ABdhPJzuSQ+eSU+PkGbECiEvcYVLwNR2fN/Pk+ubuofQIuUnqOXPSMlWRaYSd881bJhqVbbnt8GmWA==
X-Received: by 2002:a05:6a00:d5b:b0:4e1:2007:87fb with SMTP id
 n27-20020a056a000d5b00b004e1200787fbmr2277677pfv.38.1645089549265; 
 Thu, 17 Feb 2022 01:19:09 -0800 (PST)
Received: from localhost ([115.240.90.130])
 by smtp.gmail.com with ESMTPSA id y23sm2143834pfa.67.2022.02.17.01.19.08
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 17 Feb 2022 01:19:08 -0800 (PST)
From: Visuwesh <visuweshm@HIDDEN>
Date: Thu, 17 Feb 2022 14:48:22 +0530
Lines: 181
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <874k4xrgu5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::543
 (failed)
Received-SPF: pass client-ip=2607:f8b0:4864:20::543;
 envelope-from=visuweshm@HIDDEN; helo=mail-pg1-x543.google.com
X-Spam_score_int: -2
X-Spam_score: -0.3
X-Spam_bar: /
X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.978, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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.  ]

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars)
Repository revision: 58bb9eb4005599155a8fce8d5c5beb531a72c534
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: NixOS 21.11 (Porcupine)

Configured using:
 'configure
 --prefix=/nix/store/0m0yw7b3zly74ljs3qmkblb780xg03id-emacs-git-20220130.0
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-native-compilation'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $EMACSLOADPATH:
  value of $EMACSNATIVELOADPATH: /nix/store/07cbjwzil3jfhyifj15h60k7yvixzqxs-emacs-packages-deps/share/emacs/native-lisp::
  value of $LC_MONETARY: ta_IN.UTF-8
  value of $LC_NUMERIC: ta_IN.UTF-8
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  recentf-mode: t
  eros-mode: t
  pdf-occur-global-minor-mode: t
  minibuffer-depth-indicate-mode: t
  repeat-mode: t
  display-time-mode: t
  display-battery-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/viz/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/07cbjwzil3jfhyifj15h60k7yvixzqxs-emacs-packages-deps/share/emacs/site-lisp/site-start
/home/viz/lib/emacs/straight/build/map/map hides /nix/store/0m0yw7b3zly74ljs3qmkblb780xg03id-emacs-git-20220130.0/share/emacs/29.0.50/lisp/emacs-lisp/map
/home/viz/lib/emacs/straight/build/let-alist/let-alist hides /nix/store/0m0yw7b3zly74ljs3qmkblb780xg03id-emacs-git-20220130.0/share/emacs/29.0.50/lisp/emacs-lisp/let-alist

Features:
(vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc calc-rewr
cl-print completion misc expand-region subword-mode-expansions
text-mode-expansions cc-mode-expansions the-org-mode-expansions
er-basic-expansions expand-region-core expand-region-custom
flymake-shellcheck sh-script calc-prog calc-incom calc-undo calc-stuff
calcalg2 calccomp calc-misc calc-arith calc-math calc-alg latexenc
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
ox-html table ox-ascii ox-publish ox cdlatex math-delimiters cus-start
texmathp cal-iso image-file image-converter org-colview shadow emacsbug
ind-util man cap-words superword subword nix-mode ffap smie nix-repl
nix-shell nix-store magit-section nix-instantiate nix-shebang nix-format
nix shell-command+ epa-file org-datetree thai-util thai-word tabify
org-capture doct descr-text timezone dabbrev wdired siege-mode
cursor-sensor valign comp comp-cstr hippie-exp calc-map calc-stat
calc-vec calc-ext calc-menu calc-aent calc calc-loaddefs rect calc-macs
writegood-mode org-agenda cal-islam holidays hol-loaddefs mule-util
cal-move dictionary dictionary-connection lacarte dired-aux nndoc crm
bug-reference xref pdf-sync pdf-outline pdf-links pdf-history icomplete
pulse elec-pair org-pdftools pdf-annot facemenu org-noter org-refile
org-indent org-element avl-tree generator ob-C cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell
ob-racket async ob-async tempo ol-eww ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe
ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete org-list org-faces org-entities org-version
ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc
org-compat org-macs org-loaddefs ement-room-list ement ement-notify
notifications ement-room ewoc ement-api ement-structs ement-macros plz
dns ts s dash face-remap view time-stamp shortdoc help-fns radix-tree
misearch multi-isearch reveal noutline outline recentf tree-widget
url-http url-gw url-cache url-auth eww xdg url-queue mm-url binhex
smerge-mode diff gnus-fun flow-fill gnutls network-stream nsm shr-color
color mm-archive nnfolder sendmail qp flyspell ispell goto-addr
ecomplete gnus-cite mail-extr textsec uni-scripts idna-mapping
ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg sort
gnus-ml nndraft nnmh nnmaildir nnagent nnml executable vc-git diff-mode
vc-dispatcher nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp
gnus-cache gnus-sum shr pixel-fill kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc
nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message yank-media
rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util mail-utils range shell pcomplete server paredit
edmacro kmacro eros time-date checkdoc lisp-mnt mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr flymake-proc flymake
project warnings thingatpt hl-todo writegood-mode-autoloads
wordel-autoloads sokoban-autoloads ement-autoloads ts-autoloads
map-autoloads plz-autoloads nov-autoloads esxml-autoloads kv-autoloads
transmission-autoloads lua-mode-autoloads nix-mode-autoloads
magit-section-autoloads dash-autoloads racket-mode-autoloads
eros-autoloads flymake-shellcheck-autoloads avy avy-autoloads
siege-mode-autoloads paredit-autoloads puni-autoloads
expand-region-autoloads filladapt-autoloads compose quail
scroll-other-window org-pdftools-autoloads org-noter-autoloads
math-delimiters-autoloads doct-autoloads ob-async-autoloads
async-autoloads emacs-ob-racket-autoloads valign-autoloads
org-starless-autoloads cdlatex-autoloads auctex-autoloads tex-site
easy-mmode pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice
tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local find-func cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source eieio
eieio-core eieio-loaddefs json map url-vars compile comint ansi-color
ring cus-edit wid-edit pdf-view password-cache jka-compr pdf-cache
pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs
exif pdf-tools-autoloads let-alist-autoloads tablist-autoloads derived
mb-depth cus-load repeat visual-fill-autoloads olivetti-autoloads
hl-todo-autoloads time format-spec battery dbus filenotify xml
disp-table lacarte-autoloads shell-command-plus-autoloads rx icalendar
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
flymake-grammarly-autoloads grammarly-autoloads websocket-autoloads
finder-inf request-autoloads s-autoloads chemtable-autoloads
molar-mass-autoloads saveplace-pdf-view saveplace bookmark
text-property-search pp saveplace-pdf-view-autoloads pcase
straight-autoloads info cl-seq cl-extra help-mode straight cl-macs
cl-loaddefs cl-lib vz-nh-theme seq gv subr-x byte-opt bytecomp
byte-compile cconv iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 2173612 796860)
 (symbols 48 62322 87)
 (strings 32 384571 53459)
 (string-bytes 1 164733736)
 (vectors 16 150975)
 (vector-slots 8 3649338 697381)
 (floats 8 120674 3482)
 (intervals 56 140293 16903)
 (buffers 992 113))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Visuwesh <visuweshm@HIDDEN>
Subject: bug#54038: Acknowledgement (29.0.50; doc-view cannot show
 different pages in different tabs)
Message-ID: <handler.54038.B.16450895605527.ack <at> debbugs.gnu.org>
References: <874k4xrgu5.fsf@HIDDEN>
X-Gnu-PR-Message: ack 54038
X-Gnu-PR-Package: emacs
Reply-To: 54038 <at> debbugs.gnu.org
Date: Thu, 17 Feb 2022 09:20:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 54038 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
54038: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54038
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 17 Feb 2022 18:14:02 +0000
Resent-Message-ID: <handler.54038.B54038.164512159531098 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Visuwesh <visuweshm@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164512159531098
          (code B ref 54038); Thu, 17 Feb 2022 18:14:02 +0000
Received: (at 54038) by debbugs.gnu.org; 17 Feb 2022 18:13:15 +0000
Received: from localhost ([127.0.0.1]:52653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKlHE-00085R-25
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 13:13:15 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:37845)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nKlGy-00084W-BZ
 for 54038 <at> debbugs.gnu.org; Thu, 17 Feb 2022 13:13:11 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id C500FC0005;
 Thu, 17 Feb 2022 18:12:48 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN>
Date: Thu, 17 Feb 2022 20:12:15 +0200
In-Reply-To: <874k4xrgu5.fsf@HIDDEN> (Visuwesh's message of "Thu, 17 Feb
 2022 14:48:22 +0530")
Message-ID: <86wnhtjrb4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> 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 pages
only in different windows.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 18 Feb 2022 01:09:01 +0000
Resent-Message-ID: <handler.54038.B54038.164514653031662 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164514653031662
          (code B ref 54038); Fri, 18 Feb 2022 01:09:01 +0000
Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 01:08:50 +0000
Received: from localhost ([127.0.0.1]:53045 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKrlS-0008Ec-BI
	for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 20:08:50 -0500
Received: from mail-pl1-f195.google.com ([209.85.214.195]:35520)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1nKrlQ-0008EP-Ml
 for 54038 <at> debbugs.gnu.org; Thu, 17 Feb 2022 20:08:48 -0500
Received: by mail-pl1-f195.google.com with SMTP id i10so5939886plr.2
 for <54038 <at> 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)
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)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <86wnhtjrb4.fsf@HIDDEN> (Juri Linkov's message of "Thu, 
 17 Feb 2022 20:12:15 +0200")
Date: Fri, 18 Feb 2022 06:36:18 +0530
Lines: 37
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Message-ID: <87fsohouaw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D,_?= =?UTF-8?Q?=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]
   Juri 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 [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.195 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.195 listed in wl.mailspike.net]
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D,_?= =?UTF-8?Q?=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]
   Juri 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 [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.195 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.195 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [118.185.152.162 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=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.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 18 Feb 2022 07:54:02 +0000
Resent-Message-ID: <handler.54038.B54038.16451707937331 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Visuwesh <visuweshm@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.16451707937331
          (code B ref 54038); Fri, 18 Feb 2022 07:54:02 +0000
Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 07:53:13 +0000
Received: from localhost ([127.0.0.1]:53364 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKy4m-0001uB-Uq
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2022 02:53:13 -0500
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nKy4k-0001tj-QR
 for 54038 <at> debbugs.gnu.org; Fri, 18 Feb 2022 02:53:11 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 1A60F2000F;
 Fri, 18 Feb 2022 07:53:01 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN>
Date: Fri, 18 Feb 2022 09:46:03 +0200
In-Reply-To: <87fsohouaw.fsf@HIDDEN> (Visuwesh's message of "Fri, 18 Feb
 2022 06:36:18 +0530")
Message-ID: <86r180mxss.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> 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.
>>
>> 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 pages
>> 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.

Hmm, maybe 'C-x t n' should not reuse the same window,
but should create a new window with exactly the same state.
This will avoid such problems.  Ok, I'll try to use
window-state-put/get while cloning tabs.

> 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.

You are right, it fails with 'C-x t 2' too, so there is a problem
in interaction between doc-view and tab switching.  The current
handling of different windows in doc-view is quite hackish,
so it should be rewritten.  This comment in doc-view.el
proposes a good idea how this should be properly implemented:

      ;; FIXME: This should be done for all windows restored that show
      ;; this buffer.  Basically, the page/slice should be saved as
      ;; window-parameters in the window-state(s) and then restoring this
      ;; window-state should call us back (to interpret/use those parameters).




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 18 Feb 2022 08:14:02 +0000
Resent-Message-ID: <handler.54038.B54038.16451719839205 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Visuwesh <visuweshm@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.16451719839205
          (code B ref 54038); Fri, 18 Feb 2022 08:14:02 +0000
Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 08:13:03 +0000
Received: from localhost ([127.0.0.1]:53392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nKyNz-0002OP-4q
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2022 03:13:03 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:43395)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nKyNx-0002Na-7L
 for 54038 <at> debbugs.gnu.org; Fri, 18 Feb 2022 03:13:02 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 43E17FF80B;
 Fri, 18 Feb 2022 08:12:52 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN>
Date: Fri, 18 Feb 2022 10:11:21 +0200
In-Reply-To: <87fsohouaw.fsf@HIDDEN> (Visuwesh's message of "Fri, 18 Feb
 2022 06:36:18 +0530")
Message-ID: <86wnhslhli.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> 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 later).
The problem is that when 'image-mode-winprops' does window cleanup,
it doesn't take into account windows saved in tabs.

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 5bee155460..c127df12ae 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -179,7 +179,7 @@ image-mode-reapply-winprops
     ;; Beware: this call to image-mode-winprops can't be optimized away,
     ;; because it not only gets the winprops data but sets it up if needed
     ;; (e.g. it's used by doc-view to display the image in a new window).
-    (let* ((winprops (image-mode-winprops nil t))
+    (let* ((winprops (image-mode-winprops nil nil))
            (hscroll (image-mode-window-get 'hscroll winprops))
            (vscroll (image-mode-window-get 'vscroll winprops)))
       (when (image-get-display-property) ;Only do it if we display an image!




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 18 Feb 2022 12:20:01 +0000
Resent-Message-ID: <handler.54038.B54038.164518678410188 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164518678410188
          (code B ref 54038); Fri, 18 Feb 2022 12:20:01 +0000
Received: (at 54038) by debbugs.gnu.org; 18 Feb 2022 12:19:44 +0000
Received: from localhost ([127.0.0.1]:53603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nL2Ei-0002eG-3I
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2022 07:19:44 -0500
Received: from mail-pf1-f196.google.com ([209.85.210.196]:36785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1nL2Eg-0002e2-3V
 for 54038 <at> debbugs.gnu.org; Fri, 18 Feb 2022 07:19:42 -0500
Received: by mail-pf1-f196.google.com with SMTP id z16so2201670pfh.3
 for <54038 <at> 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)
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)
From: Visuwesh <visuweshm@HIDDEN>
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86wnhslhli.fsf@HIDDEN>
Date: Fri, 18 Feb 2022 17:49:15 +0530
In-Reply-To: <86wnhslhli.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 18 Feb 2022 10:11:21 +0200")
Message-ID: <877d9spdto.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Feb 2022 17:42:01 +0000
Resent-Message-ID: <handler.54038.B54038.164529251013862 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164529251013862
          (code B ref 54038); Sat, 19 Feb 2022 17:42:01 +0000
Received: (at 54038) by debbugs.gnu.org; 19 Feb 2022 17:41:50 +0000
Received: from localhost ([127.0.0.1]:58682 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLTjy-0003bV-4A
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 12:41:50 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42213)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nLTjv-0003b3-DD
 for 54038 <at> debbugs.gnu.org; Sat, 19 Feb 2022 12:41:48 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 3974E60003;
 Sat, 19 Feb 2022 17:41:39 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86r180mxss.fsf@HIDDEN>
Date: Sat, 19 Feb 2022 19:31:06 +0200
In-Reply-To: <86r180mxss.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 18 Feb 2022 09:46:03 +0200")
Message-ID: <86o832yd9h.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

> Hmm, maybe 'C-x t n' should not reuse the same window,
> but should create a new window with exactly the same state.
> This will avoid such problems.  Ok, I'll try to use
> window-state-put/get while cloning tabs.

Here is attempt to create new windows with 'C-x t n'.
It works fine with (window-state-put (window-state-get))
to clone all windows in the tab (from the frame window).

But 'tab-bar-move-window-to-tab' still doesn't work
when it binds 'tab-bar-new-tab-choice' to 'window'.

The problem is that this doesn't create a new window
from the selected window:

  (window-state-put (window-state-get (selected-window)) (selected-window))

Maybe Martin could help.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=tab-bar-new-tab-choice-clone.patch

diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index e88bcac0da..7185cd52e8 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -481,7 +481,7 @@ tab-bar-new-tab-choice
 if such buffer exists, or switch to a buffer visiting the file or
 directory that the string specifies.  If the value is a function,
 call it with no arguments and switch to the buffer that it returns.
-If nil, duplicate the contents of the tab that was active
+If `clone', duplicate the contents of the tab that was active
 before calling the command that adds a new tab."
   :type '(choice (const     :tag "Current buffer" t)
                  (const     :tag "Current window" window)
@@ -489,7 +489,7 @@ tab-bar-new-tab-choice
                  (directory :tag "Directory" :value "~/")
                  (file      :tag "File" :value "~/.emacs")
                  (function  :tag "Function")
-                 (const     :tag "Duplicate tab" nil))
+                 (const     :tag "Duplicate tab" clone))
   :group 'tab-bar
   :version "27.1")
 
@@ -1367,14 +1367,19 @@ tab-bar-new-tab-to
         (select-window (minibuffer-selected-window)))
       ;; Remove window parameters that can cause problems
       ;; with `delete-other-windows' and `split-window'.
-      (set-window-parameter nil 'window-atom nil)
-      (set-window-parameter nil 'window-side nil)
+      (unless (eq tab-bar-new-tab-choice 'clone)
+        (set-window-parameter nil 'window-atom nil)
+        (set-window-parameter nil 'window-side nil))
       (let ((ignore-window-parameters t))
-        (delete-other-windows)
-        (unless (eq tab-bar-new-tab-choice 'window)
-          ;; Create a new window to get rid of old window parameters
-          ;; (e.g. prev/next buffers) of old window.
-          (split-window) (delete-window)))
+        (if (eq tab-bar-new-tab-choice 'clone)
+            (window-state-put (window-state-get))
+          (delete-other-windows)
+          (if (eq tab-bar-new-tab-choice 'window)
+              ;; TODO: this doesn't create a new window
+              (window-state-put (window-state-get (selected-window)) (selected-window))
+            ;; Create a new window to get rid of old window parameters
+            ;; (e.g. prev/next buffers) of old window.
+            (split-window) (delete-window))))
 
       (let ((buffer
              (if (functionp tab-bar-new-tab-choice)
@@ -1453,7 +1458,7 @@ tab-bar-duplicate-tab
   "Clone the current tab to ARG positions to the right.
 ARG and FROM-NUMBER have the same meaning as in `tab-bar-new-tab'."
   (interactive "P")
-  (let ((tab-bar-new-tab-choice nil)
+  (let ((tab-bar-new-tab-choice 'clone)
         (tab-bar-new-tab-group t))
     (tab-bar-new-tab arg from-number)))
 

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 19 Feb 2022 17:42:02 +0000
Resent-Message-ID: <handler.54038.B54038.164529251013868 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164529251013868
          (code B ref 54038); Sat, 19 Feb 2022 17:42:02 +0000
Received: (at 54038) by debbugs.gnu.org; 19 Feb 2022 17:41:50 +0000
Received: from localhost ([127.0.0.1]:58684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLTjy-0003bX-EW
	for submit <at> debbugs.gnu.org; Sat, 19 Feb 2022 12:41:50 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51243)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nLTjw-0003bA-Sw
 for 54038 <at> debbugs.gnu.org; Sat, 19 Feb 2022 12:41:49 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id B3CCE60005;
 Sat, 19 Feb 2022 17:41:42 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86wnhslhli.fsf@HIDDEN>
Date: Sat, 19 Feb 2022 19:35:33 +0200
In-Reply-To: <86wnhslhli.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 18 Feb 2022 10:11:21 +0200")
Message-ID: <86y226wyea.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> The problem is that when 'image-mode-winprops' does window cleanup,
> it doesn't take into account windows saved in tabs.

The current implementation:

  (when cleanup
    (setq image-mode-winprops-alist
  	  (delq nil (mapcar (lambda (winprop)
			      (let ((w (car-safe winprop)))
				(if (or (not (windowp w)) (window-live-p w))
				    winprop)))
  			    image-mode-winprops-alist))))


'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?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Feb 2022 09:18:02 +0000
Resent-Message-ID: <handler.54038.B54038.164534863825290 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164534863825290
          (code B ref 54038); Sun, 20 Feb 2022 09:18:02 +0000
Received: (at 54038) by debbugs.gnu.org; 20 Feb 2022 09:17:18 +0000
Received: from localhost ([127.0.0.1]:59349 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLiLG-0006Zq-HK
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 04:17:18 -0500
Received: from mout.gmx.net ([212.227.17.20]:38647)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nLiLE-0006ZV-I1
 for 54038 <at> debbugs.gnu.org; Sun, 20 Feb 2022 04:17:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645348630;
 bh=C889LKLTC6m+AlBESX8S0F3LlRTEPW4vP17Tk73J9OA=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=V9B32cCgmq8MHKTGZnReSFeHSU0M4CLF7ZuSw9BMEyk7kBHTMiiMdubyMZIogqB0m
 Ee+AAEvHQCjVrttmxVZOk8ZrEu9m2WLf3a4Nn4eiOArHHAZ4rER2dJQ5n/PCq/inPC
 5Zyh9hSqsotrTt6qEZt+YR2b1bj+rXvKfHYZxIwI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([213.142.96.4]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwfWU-1o9zXY2FB4-00y7kx; Sun, 20
 Feb 2022 10:17:10 +0100
Message-ID: <69164de6-8379-863a-55f9-504476a1a75a@HIDDEN>
Date: Sun, 20 Feb 2022 10:17:09 +0100
MIME-Version: 1.0
Content-Language: en-US
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86r180mxss.fsf@HIDDEN>
 <86o832yd9h.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86o832yd9h.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:/CMaN5I5pAlJmpvo6jqiJMKBhsRF45Zhj8wb5UJsfrP/EtDNz4o
 +MlWWFjaRZq0funpmhI/NPWxmVefEMA6ZPmez6O+SVtw5zE/ctmf6qZ+jv2L91aZq7trosn
 s5v5MweDc1YZaLX5nvD0Mac9aKnVLaENc7qQ9uUY+awr3F1xQmAl+fLplb3ZqnFl9ziL9ln
 M29q/T/UGnyfrhV0ZqDDg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:G9c/nBdPkDo=:khKpXrzJHoSeCiCGO9YU9h
 cK50utz7Zm+z8bHeA6Uc+Kl882rOPH8lS4zDomvqtbQO4gWvod69jc6R+7mIvTB+S9X2PVmLS
 rC3+QTvl/9zl7T4vY5ZIwWfFKSlOtAyfvQcLXgd2bA64ob696IbqX9p4ZJHAzVKu8m5rPlt/d
 /86WMbkNhOQhNa3CiLOcWPw6NLymKpMPTAZ6jsHzPH9j9SxqJcfxLU/C3CGaztdlAynKjmCYG
 AVBsF9BNnQVDry3uSP+UYIXN9T38x0oZD8Hsarh/hus9ti3VZeZhltBnROUpL8lReKOEZce3V
 wDDwzgkAMp/zZZp0qdxd/oup2eBAlpxYNVNDnHM+Z3lanRDSgv1LEf8pu1ArVUzpjHtaww30a
 2t0qtc8Y54Pc5zcQI5MxtlnKvkI8X5QZReZnSHZnsHAbDEyd63ZG2BgD7WXWpm4r6FByu3BAt
 8kjEiWqGJ4mP2GDKKK6zPYoR/SMPQ376hAfJCewV4Yz6AQvlaFMjWhLnotzvhdZMmv6L0dl5P
 B6Gvlc2EsIjd75W3qi5J5ib4akucy0h25QavGsZZVWO+WzBdq6XHPOstL/PoH0U9O7aN1P+vN
 a1wqkfiHr+Ie26a6KbxHb0XGvCdIcMDo5do3suTIfoZ3iARcddH64BMykjMtDX5Vkf+iIuG86
 plBdLh/7Mv2Y951PHBenNOat3AJV7WfSYzTnU3JixkKajl6qopvGWYjFV7RrniV1wwCwIGl1s
 VTj7kwEzy9pITfSXeO/ecm9crYLtLPxTcXDqwthdyRez91CMC/WDE7uDvnvK3GbYFOchYz8p9
 /0ZvZp8HtnMrMB/WbPkUFG78RoNEuXmG7y7k4zliENEW9dHU6lrgmzix7J0nFiN7suxTIKuFh
 Q083YhYFYfq2jbaPq94wteG78mOY8JETqhWuNtSgJKx5ortmcz8h2jDjoAugTiZ5EYrmAJdNL
 pW9nbBN2faqlLv9HoobghUtYYwhr8lQGtnhMhliFuwl+DjV0J5EM5a6FRSChSsdc38kbWGkY4
 DADrm0ydlHLPCE09AZdVdzTNVx2xyiMff3/iRA8R/8/Wmrnk7nqrK+9vu6amCS7VHvqsg0JkB
 1iEw0Fe9GleN0Q=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > The problem is that this doesn't create a new window
 > from the selected window:
 >
 >    (window-state-put (window-state-get (selected-window)) (selected-window))

This should put the contents of the selected window into itself - a NOOP
WOW.  What else did you expect?

martin




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Feb 2022 09:18:02 +0000
Resent-Message-ID: <handler.54038.B54038.164534867125339 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164534867125339
          (code B ref 54038); Sun, 20 Feb 2022 09:18:02 +0000
Received: (at 54038) by debbugs.gnu.org; 20 Feb 2022 09:17:51 +0000
Received: from localhost ([127.0.0.1]:59352 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLiLm-0006ad-Nx
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 04:17:50 -0500
Received: from mout.gmx.net ([212.227.17.21]:46945)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nLiLk-0006aN-Hr
 for 54038 <at> 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
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
Message-ID: <6e15c95e-f282-1b31-3dc8-da36c37d1b83@HIDDEN>
Date: Sun, 20 Feb 2022 10:17:41 +0100
MIME-Version: 1.0
Content-Language: en-US
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86wnhslhli.fsf@HIDDEN>
 <86y226wyea.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86y226wyea.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:r/tK7jX7dAVgUage4YY6JuKAZ7WGCYWNvjr16S7sSzL3uhw0M3m
 9l+uolg1CuTG+O9H943OfJBcpU6RllqEjvBfTxg5vzPCt2TkFJ8XeJPYvRB/w8ZODxthc8v
 eOLiIJcr9M2E8qmjT53AD+n+UW2IwMKH0cFyAxzIZkIzk88E8RVTHzFDnCYCdvyT6Ean0Nu
 m5oIzXRZ71RmQ5XMBenjA==
X-Spam-Flag: NO
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+OAPjNspc3Br3aaRfoZpxUf
 5Py6ILyf8fHb5q3c5GOnnsHOVYBwsXtgTFJKsCJjE3Np7gnoqTZQiCln7h4lXOjq2eSqRxaZ+
 ArKeFOAoL+S9ud+BUGioqs8+cH3eHrA1rHCdw/LydyG8HoQek1Mq0ogLuaDoPvcw0pN7Hw7jC
 i3Y1t3FgaOXet4bv7lbNQ5z2rVlYdRniViVfBH2GCcr4cLzFcIHXSMOnieiEEhUcL1i1zM6Gk
 bxJmgI2hDUwYh5DwsmWVUMEJTcEymOgZ0XaVpwa68KCinReOutgaCvrk1YmCmuwW2Qn6j3o6C
 9fYEOpTWV3nM2k=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > '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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 20 Feb 2022 19:00:04 +0000
Resent-Message-ID: <handler.54038.B54038.164538355218527 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: martin rudalics <rudalics@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.164538355218527
          (code B ref 54038); Sun, 20 Feb 2022 19:00:04 +0000
Received: (at 54038) by debbugs.gnu.org; 20 Feb 2022 18:59:12 +0000
Received: from localhost ([127.0.0.1]:33727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLrQO-0004ol-0F
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 13:59:12 -0500
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59949)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1nLrQF-0004ne-NP
 for 54038 <at> debbugs.gnu.org; Sun, 20 Feb 2022 13:59:08 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 9DF5D20008;
 Sun, 20 Feb 2022 18:58:55 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86wnhslhli.fsf@HIDDEN>
 <86y226wyea.fsf@HIDDEN>
 <6e15c95e-f282-1b31-3dc8-da36c37d1b83@HIDDEN>
Date: Sun, 20 Feb 2022 20:51:21 +0200
In-Reply-To: <6e15c95e-f282-1b31-3dc8-da36c37d1b83@HIDDEN> (martin rudalics's
 message of "Sun, 20 Feb 2022 10:17:41 +0100")
Message-ID: <8635kdfk2e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> '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.

Maybe a more immediate solution would be simply to iterate all tabs
on all frames, and to check whether they contain a window.  But still
I can't find a function to check whether a window is in a window configuration.
Does such a function exist?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Resent-From: martin rudalics <rudalics@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Feb 2022 09:09:02 +0000
Resent-Message-ID: <handler.54038.B54038.16454345083834 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 54038
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: 54038 <at> debbugs.gnu.org
Received: via spool by 54038-submit <at> debbugs.gnu.org id=B54038.16454345083834
          (code B ref 54038); Mon, 21 Feb 2022 09:09:02 +0000
Received: (at 54038) by debbugs.gnu.org; 21 Feb 2022 09:08:28 +0000
Received: from localhost ([127.0.0.1]:35022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nM4g7-0000zd-Q9
	for submit <at> debbugs.gnu.org; Mon, 21 Feb 2022 04:08:28 -0500
Received: from mout.gmx.net ([212.227.17.20]:44569)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1nM4g6-0000z8-3h
 for 54038 <at> debbugs.gnu.org; Mon, 21 Feb 2022 04:08:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1645434491;
 bh=cslMZX/EeATgflYTPsSnQoSTx8EexIT0oqeL38ObEJ0=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To;
 b=GMOA8lCN3l7MRHDUd9HCv9DxpPP6MaApwHGYYZL+J8WZmCEUIo9tZ4firtl5TaHO3
 L8eW7Sbl/JiE8dS1HMgLAU3TUgVHycUn/tgtnmc4J6zjBgRamVEdJzPLzGA9Q0uz5E
 I2nbj1LvoExxZjpBhkGpdZd8nuKzEe0Ku3+xZwm0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.102] ([212.95.5.226]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MoO24-1o22Ff0IA4-00ooGI; Mon, 21
 Feb 2022 10:08:11 +0100
Message-ID: <11a81289-32f6-2da5-d166-a4c54d06c550@HIDDEN>
Date: Mon, 21 Feb 2022 10:08:10 +0100
MIME-Version: 1.0
Content-Language: en-US
References: <874k4xrgu5.fsf@HIDDEN> <86wnhtjrb4.fsf@HIDDEN>
 <87fsohouaw.fsf@HIDDEN> <86wnhslhli.fsf@HIDDEN>
 <86y226wyea.fsf@HIDDEN>
 <6e15c95e-f282-1b31-3dc8-da36c37d1b83@HIDDEN>
 <8635kdfk2e.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <8635kdfk2e.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:OsqJqxMFEFpr3RimxHJ6Lb6aAEBKvyXEe3TXz3z6bqSNed8FMQs
 Ks/9cq5gmUR6SHcq268/1EL+8c/bvAHEzU1Rv0uU8S4JWeIjSS5MgeBQhK/VsQrBYYsR9Ox
 vWpF2UDOj2Kg6/8L1hYCGit4fG3hXsarsR4/++J8ymxTLdhsYlv+Zo85ENNWWxbEnxoV5hL
 +jWxSbPlQw6YPoMU7pU2w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:rK/lBIRkIXw=:oc3BdSqGk3ZYRqwMLaXPAM
 lVw/BuqQ7vJvOmzIQr1uT2VPGs4+6IN/sff4bEeCZOKkeF5I7hDbI6PGQnxXgAD7duoJHx7Yf
 4qxpWnqJW+OABHAwi8agEczNoaw7kbq8t/TjhLjpV4Kcc9O+BiuFJc/PRmCA8yqAlFqRYQaAO
 EXnjn3KhztZWn/jWLVD9WYqmT7g0TzhYA4bezkHiB7WFJ5uUXnhdcJNOTyHLj3mUKHWzN94x+
 qEoWtUNYdpho5bM582HEqrkmGuVB4FfVciiWbq70E3uMJ0DIr5eIOs8eMDYtOkoP/67hmy4VK
 zua4y4cQfmdrYPon0922UxETFDo2sE+igpYFdiEf1vT2Nu2TAMXK4ThNGC92U1uIas566bU2K
 USC05GieRMpHQV8qPyiKHEIIsJhd3ZkKKzNkvQNS2uXLk+Tx/HPFEXvI/u29hFjBXUESV/ZkT
 s+hufDBCyjga2dE7cZu28uGwHtbb19ed3WQP9DIZp03PrOSXCuhxEQNorq4FyBWCRy07UJ/ID
 EvwJDJt+1LWERY6q4/SWllORyP8kkzMJkTpPZEYj4vtK63Xk7k5o3kN0dPFJ2sQh6lO+ipYRf
 /G3nZg/s3ueBU9x7H9qiGR8wwxiRkZ41Gh12h4rOA3DiFWxtFA5iZXbMa/zHiZf2+/xYizxVh
 Z0rwntmaxCsJRj4aOnRJ15px17xQ53LqfJTiDdVlp1n6/p/tPA9IcD1jTktLSjpb4fe2zuSNm
 LmRxY9eCCJTPDr+D6NByb9zQc1WAHo1ADSigxpRm6AKiA6eQvdPoFORBlRF4dI+FpHUi8qbfH
 /v4HU4DttGNphaiOBryWOj9jCiyYASMddlO0dYSGPfL3cbD8kzm224yI5kOe0H+LVMSgPNyMg
 tyX2e2M/CG31LFL6UHbve41koHlvDZtEkn1W+Rfo0qKjlS5OPNlfCgBDY2goXAd4TYGObrrXI
 i1dR8GTHD3N613sAcYXCxHRS4aIzluOBGJriPXwz7X30oM0FsV1Xkm2qezKKVd+Sc3jErny4N
 a8t546wsRBVjLK8yMeMrQsNQiKZWg4Vl6u4CCkERcu11SARsYyRgK255NJl+RrDzF6ph0/Djx
 JZkyfWQiRNHLsg=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > Maybe a more immediate solution would be simply to iterate all tabs
 > on all frames, and to check whether they contain a window.  But still
 > I can't find a function to check whether a window is in a window configuration.
 > Does such a function exist?

No.  The only agent that has access to all window configurations is the
garbage collector.  Do you want to collect garbage each time you want to
know whether a window is part of a window configuration?

martin






Last modified: Mon, 21 Feb 2022 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.