syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.64k stars 4.89k forks source link

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

Closed abcdw closed 4 years ago

abcdw commented 8 years ago

Description

It inserts new sexp inside previous symbol.

Reproduction guide

Observed behaviour:

(firs ()t
 (second))

Expected behaviour:

(first () (second))

or

(first ()
 (second))

System Info

((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 commented 8 years ago

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

github-actions[bot] commented 4 years ago

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!