From: Catonano <catonano@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add emacs-clojure-mode
Date: Wed, 18 May 2016 17:09:43 +0200 [thread overview]
Message-ID: <CAJ98PDyC88XNBymw5b_E-dM6dAvFn+Fdss-VBRNiw=PRNw52jg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]
[-- Attachment #2: 0001-gnu-Add-emacs-clojure-mode.patch --]
[-- Type: text/x-patch, Size: 1893 bytes --]
From 6dc8470baf3493a93da3e3358136e5c9860d4e3a Mon Sep 17 00:00:00 2001
From: humanitiesNerd <catonano@gmail.com>
Date: Wed, 18 May 2016 15:41:47 +0200
Subject: gnu: Add emacs-clojure-mode
* gnu/packages/emacs.scm (emacs-clojure-mode): New variable
---
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 32ed722..fb07bc7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1612,3 +1612,41 @@ It is built on top of the custom theme support in Emacs 24 or later.")
(license license:gpl3+)))
+(define-public emacs-clojure-mode
+ (package
+ (name "emacs-clojure-mode")
+ (version "5.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure-emacs/clojure-mode.git")
+ (commit "8ef7127da214cb7fd4b47fc943462f2a8bfb8f85")))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1x7nl5wzcah9hnlj5jfd3y5604w60zcqcw1nn6vw335c2vzzissj"))))
+ (build-system emacs-build-system)
+ (home-page "http://github.com/clojure-emacs/clojure-mode")
+ (synopsis "Major mode for Clojure code")
+ (description
+ "Provides font-lock, indentation, navigation and basic refactoring for the
+Clojure programming language (http://clojure.org).
+
+Using clojure-mode with paredit or smartparens is highly recommended.
+
+Here are some example configurations:
+
+ ;; require or autoload paredit-mode
+ (add-hook 'clojure-mode-hook #'paredit-mode)
+
+ ;; require or autoload smartparens
+ (add-hook 'clojure-mode-hook #'smartparens-strict-mode)
+
+See inf-clojure (http://github.com/clojure-emacs/inf-clojure) for
+basic interaction with Clojure subprocesses.
+
+See CIDER (http://github.com/clojure-emacs/cider) for
+better interaction with subprocesses via nREPL.
+")
+ (license license:gpl3+)))
--
2.5.5
next reply other threads:[~2016-05-18 15:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 15:09 Catonano [this message]
2016-05-19 8:54 ` [PATCH] gnu: Add emacs-clojure-mode Alex Kost
2016-05-19 10:20 ` Catonano
2016-05-24 8:51 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ98PDyC88XNBymw5b_E-dM6dAvFn+Fdss-VBRNiw=PRNw52jg@mail.gmail.com' \
--to=catonano@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).