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

"SPC i K" does not repeat with "." #6573

Closed
dooblad opened this issue Jul 13, 2016 · 3 comments
Closed

"SPC i K" does not repeat with "." #6573

dooblad opened this issue Jul 13, 2016 · 3 comments

Comments

@dooblad
Copy link

dooblad commented Jul 13, 2016

Description

After performing SPC i K (insert-line-above-no-indent), pressing . doesn't insert a line above. Instead, it repeats the last command before SPC i K

Reproduction guide

  • Start Emacs
  • Open a scratch buffer (or any buffer)
    -Type a few lines of text
    -Delete a line with dd to create a previous command
    -Press SPC i K
    -Press .

Observed behaviour:
The current line is deleted.

Expected behaviour:
A line is inserted above the current line.

System Info

  • OS: gnu/linux
  • Emacs: 24.5.1
  • Spacemacs: 0.105.21
  • Spacemacs branch: master (rev. 0283f64)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(auto-completion emacs-lisp html git themes-megapack syntax-checking)
@vlthr
Copy link

vlthr commented Jul 15, 2016

I've had the same issue and ended up having a look at the causes today. It seems like whatever the underlying issue is, it is happening during the call to evil-previous-line in spacemacs/insert-line-above-no-ident. Replacing this call with a call to previous-line resulted in normal repeatability for me.

Anyone with more experience that knows why this could be a problem?

@kdelwat
Copy link
Contributor

kdelwat commented Oct 23, 2016

This seems to be fixed now on master. @dooblad Is it still broken for you?

@dooblad
Copy link
Author

dooblad commented Oct 23, 2016

@kdelwat It seems to be working now!

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

No branches or pull requests

4 participants