From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5YI8-0000t4-AM for guix-patches@gnu.org; Mon, 09 Apr 2018 11:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5YI2-0004LT-CM for guix-patches@gnu.org; Mon, 09 Apr 2018 11:01:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5YI2-0004LF-7I for guix-patches@gnu.org; Mon, 09 Apr 2018 11:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f5YI1-00078J-UN for guix-patches@gnu.org; Mon, 09 Apr 2018 11:01:01 -0400 Subject: [bug#31036] [PATCH] gnu: Add Emacs dumb-jump Resent-Message-ID: Date: Mon, 9 Apr 2018 20:30:08 +0530 From: Sohom Bhattacharjee Message-ID: <20180409150008.GA10060@sam> References: <20180403023403.GA4430@sam> <29a411b7.AL4AAAOBQdEAAAAAAAAAAAO0oB8AAAACwQwAAAAAAAW9WABaw7s5@mailjet.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <29a411b7.AL4AAAOBQdEAAAAAAAAAAAO0oB8AAAACwQwAAAAAAAW9WABaw7s5@mailjet.com> 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: Arun Isaac Cc: 31036@debbugs.gnu.org --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I made the changes as suggested. However i can not get the tests working. I need some help with the tests. whenever i compile this package i get these errors phase `unpack' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `check' test suite not run phase `check' succeeded after 0.0 seconds starting phase `install' `/tmp/guix-build-emacs-dumb-jump-0.5.2.drv-0/dumb-jump-0.5.2/dumb-jump.el' -> `/gnu/store/7rwqglwmjf6dbgfq87n642acp14agwsr-emacs-dumb-jump-0.5.2/share/emacs/site-lisp/guix.d/dumb-jump-0.5.2/dumb-jump.el' phase `install' succeeded after 0.0 seconds starting phase `check' Cannot open load file: No such file or directory, undercover phase `check' failed after 0.1 seconds builder for `/gnu/store/sx8j4pi37d8i32m9hraahkbn1m0ckks6-emacs-dumb-jump-0.5.2.drv' failed with exit code 1 @ build-failed /gnu/store/sx8j4pi37d8i32m9hraahkbn1m0ckks6-emacs-dumb-jump-0.5.2.drv - 1 builder for `/gnu/store/sx8j4pi37d8i32m9hraahkbn1m0ckks6-emacs-dumb-jump-0.5.2.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/sx8j4pi37d8i32m9hraahkbn1m0ckks6-emacs-dumb-jump-0.5.2.drv' failed --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-emacs-dumb-jump.patch" >From 218c7cb718cf2d48cebab8bdaef4320283527b0a Mon Sep 17 00:00:00 2001 From: Sohom Bhattacharjee Date: Mon, 9 Apr 2018 20:22:53 +0530 Subject: [PATCH] gnu: Add emacs-dumb-jump * gnu/packages/emacs.scm (emacs-dumb-jump): New variable. --- gnu/packages/emacs.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index cb722844c..db1d436b6 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7539,3 +7539,46 @@ and can be consulted and modified.") (description "@code{anzu} provides a minor mode that displays the current match and total match information in the mode-line in various search modes.") (license license:gpl3+))) + +(define-public emacs-dumb-jump + (package + (name "emacs-dumb-jump") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/jacktasia/dumb-jump/archive/v" + 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))) + (native-inputs + `(("ert-runner" ,ert-runner) + ("emacs-undercover" ,emacs-undercover) + ("emacs-el-mock" ,emacs-el-mock))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'check + (lambda _ + (zero? (system* "ert-runner"))))))) + (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 @command{ag} or ripgrep @comand{rg} installed. +Dumb Jump requires at least GNU Emacs 24.3. +") + (license license:gpl3+))) -- 2.16.2 --qMm9M+Fa2AknHoGS--