GNU bug report logs -
#77985
31.0.50; infinite loop in `make-frame-names-alist`
Previous Next
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 #35 received at 77985 <at> debbugs.gnu.org (full text, mbox):
On 29/04/2025, martin rudalics wrote:
> I added the "(&optional frame)" because with a few exceptions most
> frame-related functions have it so coders don't have to think twice when
> calling any of these functions.
Thanks for the changes! I am incorporating them in my emacs config since I keep running into the infinite loop :)
Am I right in saying that `frame-list-1` is only currently being used in `make-frame-names-alist`, or did you mean to use it in other places as well?
If that's the only place, I think this function is only being used by `select-frame-by-name`. Both of these functions do not stipulate an order in there docs, so I am not sure a particular ordering is required?
Also a suggestion: if the ordering is indeed required, is there a reason for defining a new function instead of changing `frame-list` to take an argument (where the list starts), e.g., when passing nil the order is not modified.
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.