all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@linkov.net>
Cc: 54038@debbugs.gnu.org
Subject: bug#54038: 29.0.50; doc-view cannot show different pages in different tabs
Date: Thu, 24 Feb 2022 10:18:57 +0100	[thread overview]
Message-ID: <4c3c7f8b-45ad-2c1f-2280-018c74b56cf9@gmx.at> (raw)
In-Reply-To: <86tucp8sn8.fsf@mail.linkov.net>

 >> We might be able to provide such a function but can you tell me why you
 >> would need it and how you would use it?
 >
 > It could be used in 'image-mode-winprops':
 >
 >    (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)
 >             new function =>              (window-live-in-all-window-configurations w))
 > 				    winprop)))
 >    			    image-mode-winprops-alist))))

I can't tell from here what 'window-live-in-all-window-configurations'
is supposed to return.  Its name appears misleading - do we care if 'w'
is live in a configuration of another frame but w's?  So please tell me
the doc-string of ‘window-live-in-all-window-configurations’ first.

And please always keep in mind: The only agent that has access to _all_
window configurations is the garbage collector.  If we wanted to change
that, we'd have to make window configurations explicitly deletable like
buffers or windows with functions like 'make-window-configuration',
'delete-window-configuration' and 'window-configurations-list'.  While
this might not pose great problems for read_minibuf, it certainly will
for configurations in plain Lisp code which all of a sudden would become
noncollectable after the last reference to them has gone ...

martin

      reply	other threads:[~2022-02-24  9:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17  9:18 bug#54038: 29.0.50; doc-view cannot show different pages in different tabs Visuwesh
2022-02-17 18:12 ` Juri Linkov
2022-02-18  1:06   ` Visuwesh
2022-02-18  7:46     ` Juri Linkov
2022-02-19 17:31       ` Juri Linkov
2022-02-20  9:17         ` martin rudalics
2022-02-23 17:59           ` Juri Linkov
2022-02-18  8:11     ` Juri Linkov
2022-02-18 12:19       ` Visuwesh
2022-02-19 17:35       ` Juri Linkov
2022-02-20  9:17         ` martin rudalics
2022-02-20 18:51           ` Juri Linkov
2022-02-21  9:08             ` martin rudalics
2022-02-23 17:46               ` Juri Linkov
2022-02-24  9:18                 ` martin rudalics [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c3c7f8b-45ad-2c1f-2280-018c74b56cf9@gmx.at \
    --to=rudalics@gmx.at \
    --cc=54038@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.