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


Message #29 received at 77985 <at> debbugs.gnu.org (full text, mbox):

From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 77985 <at> debbugs.gnu.org
Subject: Re: bug#77985: 31.0.50; infinite loop in `make-frame-names-alist`
Date: Mon, 28 Apr 2025 12:04:09 +0100
On 27/04/2025, martin rudalics wrote:

> The attached patch includes my earlier proposal for fixing this and also
> reverts the return value of 'make-frame-names-alist'.  Please try it.

This patch passed all my, admittedly limited, test cases.

In the patch, `make-frame-names-alist` returns only frames on the same display. I don't know if this is a behaviour change or to make it consistent with `next-frame` (the doc of `next-frame` doesn't mention displays -- might worth clarifying there if this is the behaviour).

Another minor/unimportant point (feel free to ignore) is that the patch also allows `make-frame-names-alist` to accept a FRAME argument. I think it would be more natural to return frames on the same display as the passed FRAME rather than the selected one.




This bug report was last modified 56 days ago.

Previous Next


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