When building Emacs, I use ./configure --enable-checking='glyphs'
so that I can take advantage of some of the built-in tools such as M-x trace-redisplay
.
The redisplay debugging messages can be seen if the GUI version of Emacs was launched from the terminal.
Instead of watching a separate terminal application while using Emacs, I would like to see the stderr
output — in real time (if possible¹) — from within Emacs. For example, I would like to do some stuff in one Emacs window and be able to see stderr
output in another visible Emacs window. How can I achieve that goal?
¹ Due to the nature of redisplay, the buffer that displays stderr
(when this question is answered) may not be able to update until the next command loop?