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

Namespaced maps have a space automatically added, e.g. #::{..} and #::some-ns{..} #471

Closed
emoses opened this issue Mar 10, 2018 · 0 comments

Comments

@emoses
Copy link
Contributor

emoses commented Mar 10, 2018

Namespaced map syntax was added in Clojure 1.9. See https://clojure.org/reference/reader#map_namespace_syntax

Expected behavior

When I type #::{:foo "bar"}, #::my-ns{:foo "bar"}, or #:fully.qualified.namespace{:foo "bar"}, paredit should not automatically add a space between the reader tag and the opening curly.

Actual behavior

A space is added, leading to #:: {:foo "bar"}, #::my-ns {:foo "bar"}, or #:fully.qualified.namespace {:foo "bar"} in the above examples.

Steps to reproduce the problem

Using clojure-mode and paredit, type any of the above sequences.

This is extremely important! Providing us with a reliable way to reproduce
a problem will expedite its solution.

Environment & Version information

clojure-mode version information

5.7.0-snapshot

Emacs version

25.3.1

Operating system

Windows 10

Paredit

Version: 25beta
Package-Version: 20171126.1805

emoses pushed a commit to emoses/clojure-mode that referenced this issue Mar 11, 2018
emoses pushed a commit to emoses/clojure-mode that referenced this issue Mar 11, 2018
emoses pushed a commit to emoses/clojure-mode that referenced this issue Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant