From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkS4z-0000dH-Jm for guix-patches@gnu.org; Wed, 23 Aug 2017 05:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkS4w-0005Ta-GC for guix-patches@gnu.org; Wed, 23 Aug 2017 05:36:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkS4w-0005TQ-DX for guix-patches@gnu.org; Wed, 23 Aug 2017 05:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dkS4w-0001lk-8U for guix-patches@gnu.org; Wed, 23 Aug 2017 05:36:02 -0400 Subject: [bug#28200] [PATCH] gnu: Add emacs-rspec. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkS4M-0008SL-74 for guix-patches@gnu.org; Wed, 23 Aug 2017 05:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkS4J-0004Xj-3Y for guix-patches@gnu.org; Wed, 23 Aug 2017 05:35:26 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:33626 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkS4I-0004WC-T2 for guix-patches@gnu.org; Wed, 23 Aug 2017 05:35:23 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 1BAF81474DA for ; Wed, 23 Aug 2017 10:35:22 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 414f5a76 for ; Wed, 23 Aug 2017 09:35:21 +0000 (UTC) From: Christopher Baines Date: Wed, 23 Aug 2017 10:35:21 +0100 Message-Id: <20170823093521.8514-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28200@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-rspec): New variable. --- gnu/packages/emacs.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 140a53205..536726f03 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1967,6 +1967,43 @@ tables.") mode-line.") (license license:gpl2+))) +(define-public emacs-rspec + (package + (name "emacs-rspec") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/pezra/rspec-mode/" + "archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw")))) + (build-system emacs-build-system) + (home-page "https://github.com/pezra/rspec-mode") + (synopsis "Provides a rspec mode for working with RSpec") + (description + "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to +verify the spec associated with the current buffer, or entire project, as well +as moving between the spec files, and coresponding code files. + +There are also keybindings for spec files and Dired buffers. + +To enable, use: + +@example +(require 'rspec-mode) +@end example + +Provided you have yasnippet installed, you can load relevant snippets: + +@example +(eval-after-load 'rspec-mode + '(rspec-install-snippets)) +@end example") + (license license:gpl3+))) + (define-public emacs-smart-mode-line (package (name "emacs-smart-mode-line") -- 2.14.1