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

Strange behaviour of insert-sexp-before for nested one-line sexps #6788

Closed
abcdw opened this issue Aug 8, 2016 · 2 comments
Closed

Strange behaviour of insert-sexp-before for nested one-line sexps #6788

abcdw opened this issue Aug 8, 2016 · 2 comments
Labels
- Bug tracker - Evil-lisp-state Reported upstream stale marked as a stale issue/pr (usually by a bot)

Comments

@abcdw
Copy link

abcdw commented Aug 8, 2016

Description

It inserts new sexp inside previous symbol.

Reproduction guide

  • Start Emacs
  • Open lisp file with two nested sexps on one line (first (second))
  • Place cursor on e letter
  • SPC k ( (lisp-state-insert-sexp-before)

Observed behaviour:

(firs ()t
 (second))

Expected behaviour:

(first () (second))

or

(first ()
 (second))

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 :variables auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'complete auto-completion-enable-help-tooltip t auto-completion-complete-with-key-sequence "C-m" auto-completion-enable-snippets-in-popup t)
 (ranger :variables ranger-show-preview t)
 lua
 (c-c   :variables c-c  -enable-clang-support t)
 (clojure :variables cider-repl-history-size 1000 cider-repl-history-file "~/.cider_history")
 emacs-lisp java python ipython-notebook html latex markdown org yaml version-control git
 (evil-snipe :variables evil-snipe-enable-alternate-f-and-t-behaviors t)
 semantic gtags syntax-checking spell-checking
 (colors :variables colors-enable-rainbow-identifiers nil)
 spacemacs-layouts)
@TheBB
Copy link
Contributor

TheBB commented Aug 8, 2016

You should report this to evil-lisp-state since that's the package providing this.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Bug tracker - Evil-lisp-state Reported upstream stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

2 participants