dericbytes
                                            dericbytes
                                        
                                    undo undoes part of the text I entered. then a following undo puts back the text. then the next removes it again. this only happens when the docs popup, which...
I get the same behaviour as you. Case 3 - my own personal repeat key bound to a key binding. The original repeat has same behaviour ``` (global-set-key (kbd "C-;")...
Thanks for the feedback. The code I included above fixes the problem I had. Yasnippet has some useful ert tests for simulating key presses. https://github.com/joaotavora/yasnippet/blob/master/yasnippet-tests.el