GNU bug report logs - #77985
31.0.50; infinite loop in `make-frame-names-alist`

Previous Next

Package: emacs;

Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Tue, 22 Apr 2025 11:11:02 UTC

Severity: normal

Found in version 31.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77985: closed (31.0.50; infinite loop in `make-frame-names-alist`)
Date: Sat, 24 May 2025 09:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 May 2025 11:42:02 +0200
with message-id <f236328e-694d-41ca-abbd-f6e6d99c2bee <at> gmx.at>
and subject line Re: bug#77985: 31.0.50; infinite loop in `make-frame-names-alist`
has caused the debbugs.gnu.org bug report #77985,
regarding 31.0.50; infinite loop in `make-frame-names-alist`
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77985: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77985
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; infinite loop in `make-frame-names-alist`
Date: Tue, 22 Apr 2025 12:01:38 +0100
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))


[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: Al Haji-Ali <abdo.haji.ali <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 77985-done <at> debbugs.gnu.org
Subject: Re: bug#77985: 31.0.50; infinite loop in `make-frame-names-alist`
Date: Sat, 24 May 2025 11:42:02 +0200
> 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


This bug report was last modified 54 days ago.

Previous Next


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