* [PATCH] Add emacs-god-mode
@ 2016-02-21 12:54 Ricardo Wurmus
2016-02-22 22:17 ` Alex Kost
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-02-21 12:54 UTC (permalink / raw)
To: guix-devel@gnu.org
[-- Attachment #1: 0001-gnu-Add-emacs-god-mode.patch --]
[-- Type: text/x-patch, Size: 1995 bytes --]
From 95e5f41a1467d1ffd1ccf69b24cf19af034487a5 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Sun, 21 Feb 2016 13:47:38 +0100
Subject: [PATCH] gnu: Add emacs-god-mode.
* gnu/packages/emacs.scm (emacs-god-mode): New variable.
---
gnu/packages/emacs.scm | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7c1f5c4..b644171 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
-;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Nils Gillmann <niasterisk@grrlz.net>
;;;
;;; This file is part of GNU Guix.
@@ -1477,3 +1477,25 @@ debugging, documentation lookup, and so on.")
This provides a basic API and common UI widgets such as popup tooltips
and popup menus.")
(license license:gpl3+)))
+
+(define-public emacs-god-mode
+ (package
+ (name "emacs-god-mode")
+ (version "20151005.925")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://melpa.org/packages/god-mode-"
+ version ".tar"))
+ (sha256
+ (base32
+ "0psmz7vaph4qbbbgqs8i37084571ryrn2mq4c4yg78w7v8nzczywr"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/chrisdone/god-mode")
+ (synopsis "Minor mode for entering commands without modifier keys")
+ (description
+ "This package provides a global minor mode for entering Emacs commands
+without modifier keys. It's similar to Vim's separation of commands and
+insertion mode. When enabled all keys are implicitly prefixed with
+@samp{C-} (among other helpful shortcuts).")
+ (license license:gpl3+)))
--
2.6.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Add emacs-god-mode
2016-02-21 12:54 [PATCH] Add emacs-god-mode Ricardo Wurmus
@ 2016-02-22 22:17 ` Alex Kost
2016-02-23 21:59 ` Ricardo Wurmus
0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2016-02-22 22:17 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel@gnu.org
Ricardo Wurmus (2016-02-21 15:54 +0300) wrote:
> +(define-public emacs-god-mode
> + (package
> + (name "emacs-god-mode")
> + (version "20151005.925")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "http://melpa.org/packages/god-mode-"
> + version ".tar"))
MELPA URL cannot be used, because it changes the hash in place every now
and then (see also
<http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00416.html>).
So since there are no releases, we'll probably have to use git-fetch for
now. However I think it would be good to ask the author to make a tag
as it will also be used by melpa-stable.
--
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Add emacs-god-mode
2016-02-22 22:17 ` Alex Kost
@ 2016-02-23 21:59 ` Ricardo Wurmus
2016-02-27 12:51 ` Ricardo Wurmus
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-02-23 21:59 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel@gnu.org
Alex Kost <alezost@gmail.com> writes:
> Ricardo Wurmus (2016-02-21 15:54 +0300) wrote:
>
>> +(define-public emacs-god-mode
>> + (package
>> + (name "emacs-god-mode")
>> + (version "20151005.925")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append "http://melpa.org/packages/god-mode-"
>> + version ".tar"))
>
> MELPA URL cannot be used, because it changes the hash in place every now
> and then (see also
> <http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00416.html>).
>
> So since there are no releases, we'll probably have to use git-fetch for
> now. However I think it would be good to ask the author to make a tag
> as it will also be used by melpa-stable.
There’s an open issue for tagging a release here:
https://github.com/chrisdone/god-mode/issues/81
I’ll change the package to fetch from git instead.
~~ Ricardo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Add emacs-god-mode
2016-02-23 21:59 ` Ricardo Wurmus
@ 2016-02-27 12:51 ` Ricardo Wurmus
0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2016-02-27 12:51 UTC (permalink / raw)
To: Alex Kost; +Cc: guix-devel@gnu.org
Ricardo Wurmus <rekado@elephly.net> writes:
> Alex Kost <alezost@gmail.com> writes:
>
>> Ricardo Wurmus (2016-02-21 15:54 +0300) wrote:
>>
>>> +(define-public emacs-god-mode
>>> + (package
>>> + (name "emacs-god-mode")
>>> + (version "20151005.925")
>>> + (source
>>> + (origin
>>> + (method url-fetch)
>>> + (uri (string-append "http://melpa.org/packages/god-mode-"
>>> + version ".tar"))
>>
>> MELPA URL cannot be used, because it changes the hash in place every now
>> and then (see also
>> <http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00416.html>).
>>
>> So since there are no releases, we'll probably have to use git-fetch for
>> now. However I think it would be good to ask the author to make a tag
>> as it will also be used by melpa-stable.
>
> There’s an open issue for tagging a release here:
>
> https://github.com/chrisdone/god-mode/issues/81
>
> I’ll change the package to fetch from git instead.
Done and pushed as 48766ea.
Thanks!
~~ Ricardo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-27 12:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 12:54 [PATCH] Add emacs-god-mode Ricardo Wurmus
2016-02-22 22:17 ` Alex Kost
2016-02-23 21:59 ` Ricardo Wurmus
2016-02-27 12:51 ` Ricardo Wurmus
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).