Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7434423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:50:11+00:00 2026-05-29T09:50:11+00:00

I am using emacs + slime for clojure development. Recently we got a new

  • 0

I am using emacs + slime for clojure development. Recently we got a new team member and he does not like emacs, so he installed intellij with la clojure plugin.

Both emacs and intellij allow to automatically re-indent big blocks of code, entire functions and even modules.

This leads to a very annoying problem. If he makes a small change (few lines) and then reindents entire file, then obviously recording it into dvcs (we use darcs) will produce big patch with hundreds rows changed. That makes code review impossible. How do i know which 3 out of hundreds committed lines really changed ?

So now we have collaboration problem. I wonder if there are other clojure teams who use different IDEs. How do you reconcile these problems ?

The options i see are:

  1. Enforce the use of one IDE (emacs). This will solve the problem, but i do not like such an authoritative approach.

  2. Somehow setup both environments to indent identically (not sure if its possible)

  3. Agree to always indent in one IDE. This is cumbersome and prone to errors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:50:12+00:00Added an answer on May 29, 2026 at 9:50 am

    You could try asking him to respect the rest of the team and not automatically reformat everybody’s code.

    You might also write an external program to do the indenting, and then hook that into your source code system as a pre-commit step. That way it wouldn’t matter what editor was used, it would become consistent. I suppose this is a variation on option #2.

    Good luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed how SLIME (lisp development package for Emacs) does not come with a
I'm using Emacs with clojure mode and slime connected to a swank server produced
I'm using swank-clojure in emacs on OSX. I'm able to run a slime session.
I am using emacs 24 on Windows 7 and have installed technomancy's clojure-mode along
I've been using emacs/slime for coding lisp, but with Clojure I found 'lein swank'.
I'm using Emacs, with CLISP and Slime, and want to be able to draw
I have been using ClojureBox with great success to learn both Clojure and emacs.
I'm a clojure noob trying to get emacs & slime set up. There doesn't
I'm using emacs for python, and I'd like to have a nice useable shell
I'm using Emacs 22.3.1 on windows. C-a is not working. (Left Control-A is working,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.