Closed
Description
Perhaps related to #405
Expected behavior
(def foo "<character-entered>abc")
Actual behavior
(def foo "<character-entered>abc")
Form indented as a docstring unnecessarily.
Steps to reproduce the problem
With the following var
definition:
(def foo "|abc")
And cursor at |
Entering any character causes unhelpful indentation:
(def foo "Mabc")
It appears to be because clojure-mode
determines that the form is a docstring
Unfortunately I don't have the time to debug the treatment of syntax-ppss, which I suspect is at the root of the issue.
Environment & Version information
GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2018-01-26
clojure-mode (version 5.7.0-snapshot)
Version: 20180202.922
Commit: 5cf0fd9360dc5a9a95464601319062673d213807
The issues does not present with current melpa-stable
release of clojure-mode
:
Version: 5.6.1
Commit: fdbdfb91e0a5731bf9a739b70c5f217c5d12ae6d
Metadata
Metadata
Assignees
Labels
No labels