--- Begin Message ---
Subject: |
[PATCH] gnu: Add Emacs dumb-jump |
Date: |
Tue, 3 Apr 2018 08:04:03 +0530 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
I added the comment because it makes it clear as to why the "v" is needed in
the version.
* gnu/packages/emacs.scm (emacs-dumb-jump): New variable.
---
gnu/packages/emacs.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7a203ef6e..b4744cfc9 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7436,3 +7436,37 @@ directories of plain text notes, inspired by Notational
Velocity.")
matches\" in the mode line in various search modes. This is an Emacs port of
Anzu.zim.")
(license license:gpl3+)))
+
+;; the version needs to have a v in it because of how the github releases are
maintained.
+(define-public emacs-dumb-jump
+(package
+ (name "emacs-dumb-jump")
+ (version "v0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/jacktasia/dumb-jump/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07n0xjgpxjpf3vp9gxchkjpydyj0zm166930as0kwiwkhjlsirsf"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-f" ,emacs-f)
+ ("emacs-s" ,emacs-s)
+ ("emacs-dash" ,emacs-dash)
+ ("emacs-popup" ,emacs-popup)))
+ (home-page "https://github.com/jacktasia/dumb-jump")
+ (synopsis
+ "Jump to definition for multiple languages without configuration")
+ (description
+ "Dumb Jump is an Emacs \"jump to definition\" package with support for
+multiple programming languages that favors \"just working\" over speed or
+accuracy. This means minimal -- and ideally zero -- configuration with
+absolutely no stored indexes (TAGS) or persistent background processes. Dumb
+Jump performs best with The Silver Searcher `ag` or ripgrep `rg` installed.
+Dumb Jump requires at least GNU Emacs 24.3.
+")
+ (license license:gpl3+)))
--
2.16.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#31036] [PATCH] gnu: Add Emacs dumb-jump |
Date: |
Thu, 03 May 2018 23:34:04 +0530 |
I have pushed both packages emacs-noflet and emacs-dumb-jump.
You had used the MELPA tarball for emacs-noflet. I replaced that with
the upstream git repo.
As Maxim noted, emacs-dumb-jump tests freeze. I pushed for now, without
the tests. The missing "/bin/sh" problem was solved by setting the SHELL
environment variable.
I made many other small changes. Please look at the pushed commits in
master for more information.
Thanks!
--- End Message ---