diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2018-08-13T12·00+0000 |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2018-08-13T12·00+0000 |
commit | 8d15a39c4d4928d9bc38bed63e2bb85e4536af45 (patch) | |
tree | 055156597eb21aca3a42c4190ef88373a276d8b0 /exwm-manage.el | |
parent | 4d43e3119a2d0cb002d87340cd11c1d372ad126e (diff) |
Print log output to an EXWM-specific messages buffer
Using `message' to log debugging information is cumbersome, as the output appears constantly in the minibuffer, obscuring prompts and other information. In the case of long messages, it might resize the minibuffer, which causes EXWM to perform additional actions due to the log output. This change reimplements EXWM debug logging using a separate buffer (*EXWM-DEBUG*). Basic functionality, like scrolling when point is at the end of the buffer is maintained. * exwm-core.el (exwm--log): Use `exwm-debug--message' instead of `message'. Prefix all messages with the name of the function. Make FORMAT-STRING argument optional. * exwm-debug.el: New file. (exwm-debug-buffer): New variable holding the buffer where debug messages are output to. (exwm-debug--message): New function printing a message to `exwm-debug-buffer'. (exwm-debug--backtrace): New function printing a backtrace.
Diffstat (limited to 'exwm-manage.el')
0 files changed, 0 insertions, 0 deletions