Giter Site home page Giter Site logo

Comments (4)

pjstadig avatar pjstadig commented on August 28, 2024

Enabling clojure-mode to respond to indentation-update messages makes it update (get 'deftest 'clojure-indent-function) from 'defun to 1, which is the source of this weird indentation behavior.

from clojure-mode.

hugoduncan avatar hugoduncan commented on August 28, 2024

The table of special indentations in clojure-mode probably needs to get into swank-clojure somehow (or have :indent metadata set on them in clojure.core).

The hook is so you can write macros, and set ^{:indent n} so they indent properly when used.

If it needs reverting until a swank-clojure side change is made, then so be it.

from clojure-mode.

scgilardi avatar scgilardi commented on August 28, 2024

In case it helps diagnose or point to a fix, this works around the issue https://gist.github.com/182e50836b1e7cd78557 (using checkouts of clojure-mode and swank-clojure)

from clojure-mode.

technomancy avatar technomancy commented on August 28, 2024

Sorry, we've trimmed this out of clojure-mode; it now only contains code for static operations on buffers.

from clojure-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.