all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 6/6] gnu: Add emacs-slime.
Date: Thu, 31 Dec 2015 10:12:55 +0100	[thread overview]
Message-ID: <CAKrPhPO5uf55RrzyzdPXTTU3SzbH_-t_R43aXtTfiJro2ex7jQ@mail.gmail.com> (raw)
In-Reply-To: <56847D01.3010702@uq.edu.au>

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

On Thu, Dec 31, 2015 at 1:55 AM, Ben Woodcroft <b.woodcroft@uq.edu.au> wrote:
> Hi Federico,
>
> I'm just idly clicking though emails and I note that the description doesn't
> contain 2 spaces after the full stops - so not a proper review.

I forgot to run 'lint' in this one. I corrected this and added a
'file-name' field to the origin.

>
> Do you know though, is there any way to get emacs to insert the extra space
> in description strings and comments automatically (without it messing things
> up of course). Perhaps we should modify the importers to insert this
> automatically in the description field.

I do not know.

Thanks,
Fede

[-- Attachment #2: 0006-gnu-Add-emacs-slime.patch --]
[-- Type: text/x-diff, Size: 3590 bytes --]

From e3dd3f2235b9aed36d213f68ea767225ec8ebd61 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Wed, 30 Dec 2015 00:47:29 +0100
Subject: [PATCH 6/6] gnu: Add emacs-slime.

* gnu/packages/emacs.scm (emacs-slime): New variable.
---
 gnu/packages/emacs.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ac43c6f..9ac3a33 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -39,6 +39,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages texinfo)
+  #:use-module (gnu packages texlive)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages xorg)
@@ -1287,3 +1288,64 @@ identifiers in the MIT-Scheme documentation.")
      "This package provides functions for inserting the definition of natural
 constants and units into an Emacs buffer.")
     (license license:gpl2+)))
+
+(define-public emacs-slime
+  (package
+    (name "emacs-slime")
+    (version "2.15")
+    (source
+     (origin
+       (file-name (string-append name "-" version ".tar.gz"))
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/slime/slime/archive/v"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0l2z6l2xm78mhh0nczkrmzh2ddb1n911ij9xb6q40zwvx4f8blds"))))
+    (build-system emacs-build-system)
+    (inputs
+     `(("texlive" ,texlive)
+       ("texinfo" ,texinfo)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'configure
+           (lambda* _
+             (substitute* "slime.el"
+               (("inferior-lisp-program \"lisp\"")
+                "inferior-lisp-program \"sbcl\""))
+             #t))
+         (add-before 'install 'install-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (info-dir (string-append out "/share/info"))
+                    (doc-dir (string-append out "/share/doc/"
+                                            ,name "-" ,version))
+                    (doc-files '("doc/slime.pdf" "doc/slime-refcard.pdf"
+                                 "README.md" "NEWS" "PROBLEMS"
+                                 "CONTRIBUTING.md")))
+               (with-directory-excursion "doc"
+                 (substitute* "Makefile"
+                   (("infodir=/usr/local/info")
+                    (string-append "infodir=" info-dir)))
+                 (system* "make" "all")
+                 (install-file "slime.info" info-dir)
+                 (copy-recursively "html" (string-append doc-dir "/html")))
+               (for-each (lambda (f)
+                           (install-file f doc-dir)
+                           (delete-file f))
+                         doc-files)
+               (delete-file-recursively "doc")
+               #t))))))
+    (home-page "https://github.com/slime/slime")
+    (synopsis
+     "Superior Lisp Interaction Mode for Emacs")
+    (description
+     "SLIME extends Emacs with support for interactive programming in
+Common Lisp.  The features are centered around slime-mode, an Emacs
+minor-mode that complements the standard lisp-mode.  While lisp-mode
+supports editing Lisp source files, slime-mode adds support for
+interacting with a running Common Lisp process for compilation,
+debugging, documentation lookup, and so on.")
+    (license license:gpl2+)))
-- 
2.6.3


  reply	other threads:[~2015-12-31  9:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 17:33 [PATCH 6/6] gnu: Add emacs-slime Federico Beffa
2015-12-31  0:55 ` Ben Woodcroft
2015-12-31  9:12   ` Federico Beffa [this message]
2016-01-05 22:17     ` Ludovic Courtès
2016-01-09 10:30       ` Federico Beffa
2016-01-09 15:27         ` Alex Kost
2016-01-09 18:45         ` Ludovic Courtès
2015-12-31  9:52   ` Ricardo Wurmus
2015-12-31 23:52     ` Alex Kost
2016-01-01  8:25       ` Ricardo Wurmus
2016-01-01  8:35         ` Ben Woodcroft
2016-01-01 15:04           ` Ricardo Wurmus
2016-01-05 14:25             ` [PATCH] import: Move beautify description from cran to utils. (was Re: [PATCH 6/6] gnu: Add emacs-slime.) Ben Woodcroft
2016-01-10 21:17               ` Ludovic Courtès
2016-01-14  9:49                 ` Ben Woodcroft
2016-01-14 10:31                   ` Ricardo Wurmus
2016-01-14 10:53                     ` Ben Woodcroft
2016-01-14 11:30                       ` Ricardo Wurmus
2016-01-14 12:15                         ` Ben Woodcroft
2016-01-17  1:00                           ` [PATCH] import: Move beautify description from cran to utils Ben Woodcroft
2016-01-18  9:45                             ` Ludovic Courtès
2016-01-20 22:13                               ` Ben Woodcroft
2016-01-21  8:51                                 ` Ludovic Courtès
2015-12-31 10:17 ` [PATCH 6/6] gnu: Add emacs-slime Alex Kost
2015-12-31 10:32   ` Federico Beffa
2015-12-31 20:40     ` Alex Kost
2015-12-31 10:33 ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKrPhPO5uf55RrzyzdPXTTU3SzbH_-t_R43aXtTfiJro2ex7jQ@mail.gmail.com \
    --to=beffa@ieee.org \
    --cc=b.woodcroft@uq.edu.au \
    --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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.