You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whether the following is a clojure-mode or paredit-mode bug. Recent updates seem to have introduced this, however, and it doesn't happen when using paredit-mode in other modes (e.g., emacs-lisp-mode).
Expected behavior
If I want to quote a list, I would typically type '( and paredit-mode would insert the closing parenthesis and it would show '() in the buffer.
Actual behavior
In clojure-mode, when I type the opening parenthesis, paredit-mode inserts an extra space between the tick and the opening parenthesis, leaving '<space>() rather than '() in the buffer (where <space> represents the extra space). This does NOT happen when using paredit-mode with emacs-lisp-mode, lisp-mode, or scheme-mode. This suggests that the root cause of the bug is located in clojure-mode.
Steps to reproduce the problem
The following init.el shows a minimal configuration. With this init.el, start emacs and then in the *scratch* buffer, type '( in emacs-lisp mode. Notice that no extra space is entered between the tick and the opening parenthesis.
Next, switch to clojure-mode (e.g., just use M-x clojure-mode in the *scratch* buffer). Type '( again and notice the extra space.
I'm not sure whether the following is a clojure-mode or paredit-mode bug. Recent updates seem to have introduced this, however, and it doesn't happen when using paredit-mode in other modes (e.g., emacs-lisp-mode).
Expected behavior
If I want to quote a list, I would typically type
'(
and paredit-mode would insert the closing parenthesis and it would show'()
in the buffer.Actual behavior
In clojure-mode, when I type the opening parenthesis, paredit-mode inserts an extra space between the tick and the opening parenthesis, leaving
'<space>()
rather than'()
in the buffer (where<space>
represents the extra space). This does NOT happen when using paredit-mode with emacs-lisp-mode, lisp-mode, or scheme-mode. This suggests that the root cause of the bug is located in clojure-mode.Steps to reproduce the problem
The following init.el shows a minimal configuration. With this init.el, start emacs and then in the
*scratch*
buffer, type'(
in emacs-lisp mode. Notice that no extra space is entered between the tick and the opening parenthesis.Next, switch to clojure-mode (e.g., just use
M-x clojure-mode
in the*scratch*
buffer). Type'(
again and notice the extra space.Sample init.el:
Environment & Version information
clojure-mode version
Emacs version
installed via
brew cask install emacs
.Operating system
MacOS 10.15.4 (Catalina)
The text was updated successfully, but these errors were encountered: