Subject: bug#77985: closed (Re: bug#77985: 31.0.50; infinite loop in `make-frame-names-alist`)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 May 2025 09:43:02 +0000

Your bug report

#77985: 31.0.50; infinite loop in `make-frame-names-alist`

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77985: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77985
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#77985: 31.0.50; infinite loop in `make-frame-names-alist`
From: martin rudalics <[email-masked]>
To: Al Haji-Ali <[email-masked]>, Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Sat, 24 May 2025 11:42:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

 > This patch also works for me (again with my limited tests).
 > I don't see any issues with the implementation/additional documentation.

Marking as done.

Thanks, martin

Subject: 31.0.50; infinite loop in `make-frame-names-alist`
From: Al Haji-Ali <[email-masked]>
To: [email-masked]
Date: Tue, 22 Apr 2025 12:01:38 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I am running into an infinite loop in the function `make-frame-names-alist` which is called from `select-frame-by-name`.

The infinite loop happens when a frame with the property `no-other-frame` is the currently selected one. Starting with `emacs -Q`, the following code demonstrates the issue:

(with-selected-frame (make-frame '((no-other-frame . t)))
    (make-frame-names-alist))