The current frame after sly-eval-buffer
and sly-compile-and-load-file
#519
-
Which values control the current frame (cursor focus) after debugger popped up. As I can see in the doom emacs the So how I can make equal behavior for debugger in any emacs configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
evaluating and compiling code usually happens in a separate thread, and has no relation to whether a debugger is active or not. I don't understand the differences between doom and vanilla emacs, but I don't use doom. Maybe you could explain what you are trying to do. |
Beta Was this translation helpful? Give feedback.
-
In the Doom Emacs the function `sly-eval-buffer` does not switch to debugger
frame -- the focus stays in the source buffer. I want to make it
work correctly.
Frame focus is a notoriously messy part of Emacs's behavior. In large
part this is because it's not fully under the control of Emacs but
depends also on the window manager.
You should probably report this as a bug in Doom Emacs as well: where
the bug lies is not obvious at all based on the info you give, and we'll
need someone familiar with Doom (and/or its Sly config, if any) to help
find the origin of the problem.
|
Beta Was this translation helpful? Give feedback.
evaluating and compiling code usually happens in a separate thread, and has no relation to whether a debugger is active or not. I don't understand the differences between doom and vanilla emacs, but I don't use doom. Maybe you could explain what you are trying to do.