From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3Bmr-0001e8-GE for guix-patches@gnu.org; Mon, 02 Apr 2018 22:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3Bmo-0003B1-Du for guix-patches@gnu.org; Mon, 02 Apr 2018 22:35:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3Bmo-0003Ae-9j for guix-patches@gnu.org; Mon, 02 Apr 2018 22:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f3Bmn-0008Il-SN for guix-patches@gnu.org; Mon, 02 Apr 2018 22:35:01 -0400 Subject: [bug#31036] [PATCH] gnu: Add Emacs dumb-jump Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3Bm0-0001Qs-Ek for guix-patches@gnu.org; Mon, 02 Apr 2018 22:34:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3Blx-0002Kb-Cd for guix-patches@gnu.org; Mon, 02 Apr 2018 22:34:12 -0400 Received: from mail-pl0-x22c.google.com ([2607:f8b0:400e:c01::22c]:45362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3Blx-0002Jv-6T for guix-patches@gnu.org; Mon, 02 Apr 2018 22:34:09 -0400 Received: by mail-pl0-x22c.google.com with SMTP id v18-v6so4861183ply.12 for ; Mon, 02 Apr 2018 19:34:09 -0700 (PDT) Received: from sam ([45.124.157.249]) by smtp.gmail.com with ESMTPSA id o2sm2301612pgq.87.2018.04.02.19.34.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 19:34:06 -0700 (PDT) Date: Tue, 3 Apr 2018 08:04:03 +0530 From: Sohom Bhattacharjee Message-ID: <20180403023403.GA4430@sam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 31036@debbugs.gnu.org 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