When emacs is launched from the terminal a message is displayed complaining of illegal calls and warning that something may break in the future.
GNU Emacs 28.1
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
% emacs -Q
2022-09-03 09:35:53.118 Emacs-x86_64-10_14[37072:11711478] It's not
legal to call -layoutSubtreeIfNeeded on a view which is already being
laid out. If you are implementing the view's -layout method, you can
call -[super layout] instead. Break on void
_NSDetectedLayoutRecursion(void) to debug. This will be logged only
once. This may break in the future.
Emacs has been installed by brew install --cask emacs which uses builds hosted by https://emacsformacosx.com/. I tried using brew to install the latest nightly build from the same source, but still got the unwanted message at launch time.
I reported the unwanted behavior to the Emacs team, and I was asked to load Emacs in the debugger and run it with a breakpoint at _NSDetectedLayoutRecursion and provide the backtrace, but that attempt failed with the error message "Not allowed to attach to process." The Emacs for Mac OS X site links to this repository as the source for the scripts used to build the artifacts. So I tried using these scripts to build an Emacs I could debug, but the result does not exhibit the unwanted behavior. So I've been asked to inquire here to find out what options are used in building the artifacts installed by homebrew.
When emacs is launched from the terminal a message is displayed complaining of illegal calls and warning that something may break in the future.
Emacs has been installed by
brew install --cask emacswhich uses builds hosted by https://emacsformacosx.com/. I tried usingbrewto install the latest nightly build from the same source, but still got the unwanted message at launch time.I reported the unwanted behavior to the Emacs team, and I was asked to load Emacs in the debugger and run it with a breakpoint at
_NSDetectedLayoutRecursionand provide the backtrace, but that attempt failed with the error message "Not allowed to attach to process." The Emacs for Mac OS X site links to this repository as the source for the scripts used to build the artifacts. So I tried using these scripts to build an Emacs I could debug, but the result does not exhibit the unwanted behavior. So I've been asked to inquire here to find out what options are used in building the artifacts installed byhomebrew.