Subject: [PATCH] gnu: Add emacs-csv-mode.
From: Maxim Cournoyer <[email-masked]>
To: guix-patches <[email-masked]>
Date: Sat, 09 Dec 2017 22:48:04 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello!

This adds csv-mode, which can be used to visualize and manipulate CSV
data in Emacs. It was mostly generated using the ELPA importer.

Thanks,

Maxim

From dd6bab09ddaeae1b0220067c78d2e3229c0e7f42 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <[email-masked]>
Date: Sat, 9 Dec 2017 22:39:00 -0500
Subject: [PATCH] gnu: Add emacs-csv-mode.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 77da8f2f2..21f611c9c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6297,6 +6297,28 @@ and shell-command prompts that are based on bash completion.")
 let users kill or mark things easily.")
     (license license:gpl3+)))
 
+(define-public emacs-csv-mode
+  (package
+    (name "emacs-csv-mode")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://elpa.gnu.org/packages/csv-mode-"
+                           version ".el"))
+       (sha256
+        (base32
+         "0r4bip0w3h55i8h6sxh06czf294mrhavybz0zypzrjw91m1bi7z6"))))
+    (build-system emacs-build-system)
+    (home-page
+     "http://elpa.gnu.org/packages/csv-mode.html")
+    (synopsis
+     "Major mode for editing comma/char separated values")
+    (description
+     "This Emacs package implements CSV mode, a major mode for editing records
+in a generalized CSV (character-separated values) format.")
+    (license license:gpl3+)))
+
 (define-public emacs-transmission
   (package
     (name "emacs-transmission")
-- 
2.14.1