Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Alignment: nested, multi-line sexps with margin comments result in incorrect indentation. #608

Copy link
Copy link
Closed
@samwagg

Description

@samwagg
Issue body actions

PR: #609

Expected behavior

Alignment should work correctly when nested, multi-line sexps have margin comments.

Actual behavior

Alignment breaks.

Steps to reproduce the problem

Try aligning the following:

(let [:x (+ 2 3
            3 4) ; comment 
      :y (+ 1 2)])

Note the incorrect result:

(let [:x         (+ 2 3
           3 4) ; comment 
     :y         (+ 1 2)])

Environment & Version information

clojure-mode version

Hm, clojure-mode-display-version is returning clojure-mode (version nil). Packages is showing 20201001.1449. I have also reproduced in a unit test in the latest on master.

Emacs version

27.2

Operating system

mac os Big Sur 11.4

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.