Skip to content

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

Closed
@emoses

Description

@emoses

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions