abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.2k stars 132 forks source link

For logging purposes - Differentiate between self-insert-command and lispy-command #559

Open drorbemet opened 3 years ago

drorbemet commented 3 years ago

lispy-special-commands combine two different editing semantics lisp-navigation-or-editing-operation and text-insertion

Running this logging mode interactive-log I am looking for the most appropriate flag within the lispy state while running one of it's special-commands to check whether lispy ran one of it's navigation-or-editing-commands in lispy-mode or self-insert-command.

This flag would help to differentiate between normal text insertion and the use of lispy-commands to navigate and transform lisp-forms.

I figured better ask the authors before picking some property yourself to derive that flag.

Thanks for any hint on choosing that flag.