caldwell / build-emacs

Build scripts for www.emacsformacosx.com
http://www.emacsformacosx.com/about
GNU General Public License v3.0
364 stars 61 forks source link

Emacs logs error message to terminal #119

Open posguy99 opened 2 years ago

posguy99 commented 2 years ago

I have aliases for launching Emacs from Terminal.app.

emacs='/Applications/Emacs.app/Contents/MacOS/Emacs -nw'
gmacs='/Applications/Emacs.app/Contents/MacOS/Emacs '

When launching a GUI emacs, the following error message is emitted to the terminal:

2022-04-30 08:15:21.138 Emacs-x86_64-10_14[8826:2369480] 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.

Obviously the error message needs to be fixed, but is there a way to hide it in the meantime?

posguy99 commented 2 years ago

Additional discussion in this thread, which claims v28 fixes it. It doesn't.

https://stackoverflow.com/questions/70781126/when-i-edit-a-file-with-emacs-i-get-a-strange-error-how-do-i-fix-this