Alternate sly-db display #497
AkashaP
started this conversation in
Show and tell
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some of these problems are probably just my own configuration (i think i replicated on spacemacs too but i can't remember) but here were the issues i was coming across that I am addressing in these changes:
for example, just try running
(sleep 5) unbound-variable-error-creator
, quickly switch to another buffer and hold down A. I find when the debugger is created, for a split second it gets focus and the A will be sent to the debugger, which is a hotkey for 'terminate inferior lisp process', obviously undesirable to press on accident. The with-selected-window macro of emacs is really built foolishly, as admitted in the documentation, it works by actually switching the window of focus for a split second.I just finished this patch and i think it fixes these issues but i've only lightly tested it also it isn't really my best code i'm kind of scared to make any more changes right now
patch https://gist.github.com/AkashaP/849b7e4e5fa9d208f101f082864cea03
or replace the functions sly-db--display-debugger and sly-db-setup at roughly line 5505 with below:
Beta Was this translation helpful? Give feedback.
All reactions