From unknown Fri Sep 05 11:01:20 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40302] [PATCH] gnu: Add emacs-racer. Resent-From: John Soo Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Mar 2020 02:36:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40302@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158553573517404 (code B ref -1); Mon, 30 Mar 2020 02:36:12 +0000 Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 02:35:35 +0000 Received: from lists.gnu.org ([209.51.188.17]:52758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIMX8-0005p1-0E for submit@debbugs.gnu.org; Sat, 28 Mar 2020 21:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIMX6-0007jY-P2 for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIMX5-0007X5-Aj for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:36 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:46104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIMX4-0007W9-Pk for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:35 -0400 Received: by mail-pf1-x435.google.com with SMTP id q3so6653853pff.13 for ; Sat, 28 Mar 2020 18:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=+TyIMq9rHN4ZL35pEEk3BiXMLV/H2cEjOcXLErrQ+VQ=; b=00Pkas99/WHGA54sBVSqDKkwKZnWi8itjZA5JUO5LVNCh0Q9V2XWY4cBdp/K5UE7/R L1fQt2Xt+ivnNwPXbGXLfeolpkcweIRE6dGNliJ0lCHmp+NHC7fVcDcGSyBkoXp03UQW jyc+dP53dxNXwqhYKegAjh5+Idq1HVRqnaG5ZOuCECdzZBzcVt6KwaLyyQFhHIAom5T0 FOzwDYaWOAbz8TX3FRR0d+MtPePhDrwsCQj6HP9DR7IRFCfZhXn5XlhT1HYGUFiCkQga UIL6VxoFWiGy8CMxlC1OhnU4hZfKddl8RLyUq6oVfwd05VMKCxTnU+6hkBp73pK06Ccj Bg3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=+TyIMq9rHN4ZL35pEEk3BiXMLV/H2cEjOcXLErrQ+VQ=; b=AKyBPdiaMseeNJr1REBCkaII8lA7Z9UWJJPxJv94kPlIgsO+rQ/9kyBr8l2zCymzbX T7BGJ2TmShBy+96J4B6aFsI/trQKuLpFr4nfJaj1d2kvjPnCw2Jf7vBX09bMabv5RjbE qBk42uVpG7AZacKVsrpYXf3hGDSBj6nSA+U/agI7qrhUlGi6poVuoUrSDG5Niq9ttMEn AqnNdyE3E2CrWdg6wE1xPwZdLgspiLtpk389HJEAgvDkCG7pA2kMi3QhqTxg5j2b6vHp Ibn2x7xMdJiBXrCyPir4myfh3sYUMfiMjmY+hujgFF+UX3Ea8RSS9XRRmJTYWb7xL2cp VWaw== X-Gm-Message-State: ANhLgQ3TVDgO2QzRSe9SabyidYejURRSD7FN5101XdShifuZhVJHQHqN 5oL1C90Y87P9UNe3xAM/WjphQCye3eM= X-Google-Smtp-Source: ADFU+vsP0swwVevq2fPvJFaMxs1R2he1bkcAQo+vKvUEVNhZtpzhwkiYwNagNOvdRrVx5SXWy5Ek6A== X-Received: by 2002:a62:d408:: with SMTP id a8mr6053577pfh.99.1585444473425; Sat, 28 Mar 2020 18:14:33 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id t11sm6666962pjo.21.2020.03.28.18.14.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 18:14:32 -0700 (PDT) From: John Soo Date: Sat, 28 Mar 2020 18:14:31 -0700 Message-ID: <87eetc2c94.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::435 X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2020 01:14:38 -0000 --=-=-= Content-Type: text/plain Hi Guix, I don't write a lot of rust but racer provides excellent completion for emacs. Thanks, John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-racer.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-racer >>From 2d61455ba198cfd02a6056170889f274a6ed577e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 24 Mar 2020 08:18:34 -0700 Subject: [PATCH] gnu: Add emacs-racer. * gnu/packages/emacs-xyz.scm (emacs-racer): New variable. --- gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9d40b8019e..9dfdb120ce 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -65,6 +65,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -21776,3 +21777,37 @@ enables modal editing and composition of commands,= too. It combines ideas of other Editors like Vim or Kakoune and tries to align them with regular Ema= cs conventions.") (license license:gpl3+))) + +(define-public emacs-racer + (package + (name "emacs-racer") + (version "1.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/racer-rust/emacs-racer") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6")))) + (inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-f" ,emacs-f) + ("emacs-pos-tip" ,emacs-pos-tip) + ("emacs-rust-mode" ,emacs-rust-mode) + ("emacs-s" ,emacs-s))) + (build-system emacs-build-system) + (home-page "https://github.com/racer-rust/emacs-racer") + (synopsis "Racer support for Emacs") + (description + "This is the official Emacs package for Racer. Features: + +@itemize +@item Completion +@item Find Definitions +@item Describe Functions and Types +@end itemize") + (license license:expat))) --=20 2.26.0 --=-=-=-- From unknown Fri Sep 05 11:01:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: John Soo Subject: bug#40302: closed (Re: [bug#40302] [PATCH] gnu: Add emacs-racer.) Message-ID: References: <87h7y6807n.fsf@nicolasgoaziou.fr> <87eetc2c94.fsf@asu.edu> X-Gnu-PR-Message: they-closed 40302 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 40302@debbugs.gnu.org Date: Mon, 30 Mar 2020 13:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1585573382-3141-1" This is a multi-part message in MIME format... ------------=_1585573382-3141-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40302: [PATCH] gnu: Add emacs-racer. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40302@debbugs.gnu.org. --=20 40302: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40302 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1585573382-3141-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40302-done) by debbugs.gnu.org; 30 Mar 2020 13:02:46 +0000 Received: from localhost ([127.0.0.1]:32898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIu3y-0000oD-Jz for submit@debbugs.gnu.org; Mon, 30 Mar 2020 09:02:46 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:58949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIu3w-0000nv-O7 for 40302-done@debbugs.gnu.org; Mon, 30 Mar 2020 09:02:45 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 97EA120000C; Mon, 30 Mar 2020 13:02:38 +0000 (UTC) From: Nicolas Goaziou To: John Soo Subject: Re: [bug#40302] [PATCH] gnu: Add emacs-racer. References: <87eetc2c94.fsf@asu.edu> Date: Mon, 30 Mar 2020 15:02:36 +0200 In-Reply-To: <87eetc2c94.fsf@asu.edu> (John Soo's message of "Sat, 28 Mar 2020 18:14:31 -0700") Message-ID: <87h7y6807n.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40302-done Cc: 40302-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, John Soo writes: > I don't write a lot of rust but racer provides excellent completion for > emacs. I activated tests, reworded the description and applied this as ea5a3a43f87c639751a692651c367cdae9fc0e36. Thank you! Regards, -- Nicolas Goaziou ------------=_1585573382-3141-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 02:35:35 +0000 Received: from lists.gnu.org ([209.51.188.17]:52758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIMX8-0005p1-0E for submit@debbugs.gnu.org; Sat, 28 Mar 2020 21:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIMX6-0007jY-P2 for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIMX5-0007X5-Aj for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:36 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:46104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIMX4-0007W9-Pk for guix-patches@gnu.org; Sat, 28 Mar 2020 21:14:35 -0400 Received: by mail-pf1-x435.google.com with SMTP id q3so6653853pff.13 for ; Sat, 28 Mar 2020 18:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=+TyIMq9rHN4ZL35pEEk3BiXMLV/H2cEjOcXLErrQ+VQ=; b=00Pkas99/WHGA54sBVSqDKkwKZnWi8itjZA5JUO5LVNCh0Q9V2XWY4cBdp/K5UE7/R L1fQt2Xt+ivnNwPXbGXLfeolpkcweIRE6dGNliJ0lCHmp+NHC7fVcDcGSyBkoXp03UQW jyc+dP53dxNXwqhYKegAjh5+Idq1HVRqnaG5ZOuCECdzZBzcVt6KwaLyyQFhHIAom5T0 FOzwDYaWOAbz8TX3FRR0d+MtPePhDrwsCQj6HP9DR7IRFCfZhXn5XlhT1HYGUFiCkQga UIL6VxoFWiGy8CMxlC1OhnU4hZfKddl8RLyUq6oVfwd05VMKCxTnU+6hkBp73pK06Ccj Bg3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=+TyIMq9rHN4ZL35pEEk3BiXMLV/H2cEjOcXLErrQ+VQ=; b=AKyBPdiaMseeNJr1REBCkaII8lA7Z9UWJJPxJv94kPlIgsO+rQ/9kyBr8l2zCymzbX T7BGJ2TmShBy+96J4B6aFsI/trQKuLpFr4nfJaj1d2kvjPnCw2Jf7vBX09bMabv5RjbE qBk42uVpG7AZacKVsrpYXf3hGDSBj6nSA+U/agI7qrhUlGi6poVuoUrSDG5Niq9ttMEn AqnNdyE3E2CrWdg6wE1xPwZdLgspiLtpk389HJEAgvDkCG7pA2kMi3QhqTxg5j2b6vHp Ibn2x7xMdJiBXrCyPir4myfh3sYUMfiMjmY+hujgFF+UX3Ea8RSS9XRRmJTYWb7xL2cp VWaw== X-Gm-Message-State: ANhLgQ3TVDgO2QzRSe9SabyidYejURRSD7FN5101XdShifuZhVJHQHqN 5oL1C90Y87P9UNe3xAM/WjphQCye3eM= X-Google-Smtp-Source: ADFU+vsP0swwVevq2fPvJFaMxs1R2he1bkcAQo+vKvUEVNhZtpzhwkiYwNagNOvdRrVx5SXWy5Ek6A== X-Received: by 2002:a62:d408:: with SMTP id a8mr6053577pfh.99.1585444473425; Sat, 28 Mar 2020 18:14:33 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id t11sm6666962pjo.21.2020.03.28.18.14.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 18:14:32 -0700 (PDT) From: John Soo To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-racer. Date: Sat, 28 Mar 2020 18:14:31 -0700 Message-ID: <87eetc2c94.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::435 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2020 01:14:38 -0000 --=-=-= Content-Type: text/plain Hi Guix, I don't write a lot of rust but racer provides excellent completion for emacs. Thanks, John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-racer.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-racer >>From 2d61455ba198cfd02a6056170889f274a6ed577e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 24 Mar 2020 08:18:34 -0700 Subject: [PATCH] gnu: Add emacs-racer. * gnu/packages/emacs-xyz.scm (emacs-racer): New variable. --- gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9d40b8019e..9dfdb120ce 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -65,6 +65,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -21776,3 +21777,37 @@ enables modal editing and composition of commands,= too. It combines ideas of other Editors like Vim or Kakoune and tries to align them with regular Ema= cs conventions.") (license license:gpl3+))) + +(define-public emacs-racer + (package + (name "emacs-racer") + (version "1.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/racer-rust/emacs-racer") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xj5iki10cg8j8vvqjlw6lfx97k3agwirhchcjnzbnkry48x9qi6")))) + (inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-f" ,emacs-f) + ("emacs-pos-tip" ,emacs-pos-tip) + ("emacs-rust-mode" ,emacs-rust-mode) + ("emacs-s" ,emacs-s))) + (build-system emacs-build-system) + (home-page "https://github.com/racer-rust/emacs-racer") + (synopsis "Racer support for Emacs") + (description + "This is the official Emacs package for Racer. Features: + +@itemize +@item Completion +@item Find Definitions +@item Describe Functions and Types +@end itemize") + (license license:expat))) --=20 2.26.0 --=-=-=-- ------------=_1585573382-3141-1--