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

  • Home
  • SEARCH
  • 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 6992581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:39:12+00:00 2026-05-27T19:39:12+00:00

I am using emacs 24 on Windows 7 and have installed technomancy’s clojure-mode along

  • 0

I am using emacs 24 on Windows 7 and have installed technomancy’s clojure-mode along with paredit 23 beta. I load the source file from my leiningen project and get a repl using clojure-jack-in. The problem is that while paredit is enabled in both Clojure mode and the repl, curly braces are not matched in the repl only in source files.

How can I get it to match braces in the repl as well?

  • 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-27T19:39:12+00:00Added an answer on May 27, 2026 at 7:39 pm

    I added the following to my .emacs file, that does the trick for me (I did not invent this myself, it’s a snippet I found somewhere online – but I can’t remember where):

    (defun setup-slime-repl-paredit ()
      (define-key slime-repl-mode-map
        (kbd "DEL") 'paredit-backward-delete)
      (define-key slime-repl-mode-map
        (kbd "{") 'paredit-open-curly)
      (define-key slime-repl-mode-map
        (kbd "}") 'paredit-close-curly)
      (modify-syntax-entry ?\{ "(}")
      (modify-syntax-entry ?\} "){")
      (modify-syntax-entry ?\[ "(]")
      (modify-syntax-entry ?\] ")[")
      (modify-syntax-entry ?~ "'   ")
      (modify-syntax-entry ?, "    ")
      (modify-syntax-entry ?^ "'")
      (modify-syntax-entry ?= "'"))
    
    (add-hook 'slime-repl-mode-hook 'setup-slime-repl-paredit)
    
    (add-hook 'slime-repl-mode-hook       'enable-paredit-mode)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Windows Vista and Emacs 23.1.1 and I have installed Ruby using the
I have been using ClojureBox with great success to learn both Clojure and emacs.
Where is the .emacs file in windows (I'm using Emacs-23-CvsP091103-EmacsW32-1.58 ) When Emacs starts
I am using windows emacs with specifications below. GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26
I am developing a JSF web application on a Windows box using Emacs as
I use Emacs remotely using X-Server in a Windows client and Linux server. I
I'm using Flymake on C# code, emacs v22.2.1 on Windows. The Flymake stuff has
I'm using Emacs with C# Mode and when I turn on the speedbar, no
I'm using emacs tramp mode to remotely edit files over ssh. The problem is
I am now using Emacs 23 with visual-line-mode turned of for text editing but

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.