boon icon indicating copy to clipboard operation
boon copied to clipboard

Debugging strategy ?

Open olymk2 opened this issue 7 years ago • 3 comments

I keep hitting issues which are likely not boon specific but effect boon and likely others will hit this type of issue.

Basically when using boon shortcuts I have defined something happens in the buffer which remaps the keys to different behaviors, the issue is I don't know how to find the cause

Any tips / suggestions on how you can find the source of this could you hook into lisp in some way when a boon key has been changed and what triggered the change perhaps ?

An example is in insert mode I can no longer type q this changes my buffer and spc goes to the bottom of the buffer instead of inserting a space.

olymk2 avatar Sep 19 '18 08:09 olymk2

Basically when using boon shortcuts I have defined something happens in the buffer which remaps the keys to different behaviors, the issue is I don't know how to find the cause

Are you attempting to do such remaps?

Any tips / suggestions on how you can find the source of this could you hook into lisp in some way when a boon key has been changed and what triggered the change perhaps ?

What do you mean "changed"? What do you suspect is changing your boon bindings? Does using describe-key help?

An example is in insert mode I can no longer type q this changes my buffer and spc goes to the bottom of the buffer instead of inserting a space.

Are you sure that you are in fact in insert mode and not 'special' mode? You should keep an eye on the 'boon-state' (for example by not diminishing the minor mode, or by using a spaceline segment).

jyp avatar Sep 20 '18 20:09 jyp

No not attempting any remapping myself just doing some editing.

The issue is I have no idea whats is changing the bindings I will try describe-key next time I have noticed I am usually in org mode when it happens (may always be in org mode).

I have figured out how to add the state to telephone line so the state is now visible always that should actually help a lot.

Enjoying using boon, but when all the mappings get screwed up it's rather frustrating especially when I have no idea what's causing it thanks for the suggestions I will see what happens when I next hit issues.

olymk2 avatar Sep 20 '18 21:09 olymk2

You could also be in the middle of the command. In this case boon shows something in the echo area --- make sure it is visible as well.

jyp avatar Sep 21 '18 05:09 jyp