[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make window-list return windows for all frames

From: Eli Zaretskii
Subject: Re: Make window-list return windows for all frames
Date: Sat, 17 Jun 2023 11:39:35 +0300

> Date: Fri, 16 Jun 2023 16:21:54 +0200
> Cc: gregory@heytings.org, emacs-devel@gnu.org
> From: martin rudalics <rudalics@gmx.at>
>  >> Yes, window-list and window-list-1 becaomes the same, just with arguments 
> in
>  >> different order. Could even remove c version of window-list, and 
> implement it as
>  >> a call to window-list-1. Less code, less maintanance.
>  >
>  > Martin, are there any reason we'd not want window-list to accept t as
>  > the FRAME argument?
> None on my side.  The current implementation of 'window-list' simply
> throws an error for (window-list t).  Back then I made 'window-list-1' a
> separate function because with
> (defvar frame-1 (selected-frame))
> (defvar window-2 (frame-root-window (make-frame)))
> calling
> (window-list frame-1 nil window-2)
> complains while
> (window-list-1 window-2 nil frame-1)
> doesn't.  People were picky about such issues in the past.

Thanks.  then I guess we can install (on master) the patch which makes
window-list accept t as the FRAME argument.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]