Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Reader conditional confuses indentation #620

Open
@Frozenlock

Description

@Frozenlock

Expected behavior

(reify  Object      #?@(:clj      [(equals         [this other])       (hashCode         [_]         (hash1))]:cljs      [(toJSON         [this]         (throw (ex-info"error" {})))       IEquiv       (-equiv         [this other]true)]))

Actual behavior

(reify  Object      #?@(:clj      [(equals           [this other]); <------       (hashCode         [_]         (hash1))]:cljs      [(toJSON           [this]; <------         (throw (ex-info"error" {})))       IEquiv       (-equiv         [this other]true)]))

Steps to reproduce the problem

(setq clojure-indent-style 'align-arguments)
(But the problem is the same with'always-align.)

Paste in a buffer and indent.

(C-x hTAB)

Environment & Version information

clojure-mode version

M-x clojure-mode-display-version

clojure-mode (version nil)

When checking in packages:
20220418.2015

Emacs version

28.1

Operating system

Ubuntu 18.04.6 LTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp