Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat only seems to work in text and fundamental modes #76

Open
contrapunctus-1 opened this issue Nov 5, 2019 · 2 comments
Open

Repeat only seems to work in text and fundamental modes #76

contrapunctus-1 opened this issue Nov 5, 2019 · 2 comments

Comments

@contrapunctus-1
Copy link
Contributor

An example -

*|
*

v -> foo -> ESC -> o

* foo
*|

z

* foo
* foo|oof

This doesn't happen in e.g. Org, so it seems markdown-mode specific. It's possible it does not stem from Boon, but I thought I'd report it anyway.

GNU Emacs 26.1 (build 2, i686-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-09-23, modified by Debian

Boon commit b620954

markdown-mode v2.3, commit f3c54e3

@contrapunctus-1 contrapunctus-1 changed the title Repeat behaves weirdly in markdown-mode Repeat only seems to work in text and fundamental modes May 12, 2020
@contrapunctus-1
Copy link
Contributor Author

This happens even in Org (contrary to what I previously mentioned) or Emacs-Lisp buffers. I tested with the following command line.

emacs -q -L .emacs.d/elpa/dash-20200426.2244/ \
      -L .emacs.d/elpa/boon-20200507.1851/ \
      -L .emacs.d/elpa/multiple-cursors-20191210.1759/ \
      -L .emacs.d/elpa/expand-region-20200304.1839/ \
      --eval "(progn (require 'dash) (require 'multiple-cursors) (require 'expand-region) (require 'boon-qwerty))"

Investigating further by enabling edebug for boon-repeat-command - in text mode or fundamental mode, (car command-history) is (boon-set-insert-like-state '((0 0 "abc"))). In other modes (where the bug occurs), it is (boon-set-insert-like-state '((0 0 "a") (0 0 "ab") (1 0 "bc") (2 0 "c"))). I guess I'll need to look into the event loop to delve deeper.

@subsetpark
Copy link

@contrapunctus-1 this also affects me in most modes (but not Git commit message mode). Happy to provide any information that would help debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants