From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54583) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkHc-00031x-7r for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkHa-0003Fd-RF for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkHa-0003FO-NZ for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkHa-0004cO-LJ for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:10 -0400 Subject: [bug#40299] [PATCH] gnu: Add emacs-company-coq. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:52432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIMN8-0006xj-4s for guix-patches@gnu.org; Sat, 28 Mar 2020 21:04:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIMN5-00032U-TE for guix-patches@gnu.org; Sat, 28 Mar 2020 21:04:17 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:39699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIMN5-00031g-HY for guix-patches@gnu.org; Sat, 28 Mar 2020 21:04:15 -0400 Received: by mail-pf1-x432.google.com with SMTP id k15so1537575pfh.6 for ; Sat, 28 Mar 2020 18:04:15 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::6c3]) by smtp.gmail.com with ESMTPSA id c20sm2492555pfr.96.2020.03.28.18.04.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 18:04:13 -0700 (PDT) From: John Soo Date: Sat, 28 Mar 2020 18:04:12 -0700 Message-ID: <87mu802cqb.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40299@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, Company-coq is indispensable when working in coq for me. Thanks for your patience with all these patches as I try to only use guix for emacs package management. - John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-company-coq.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-company-coq >>From 94fd93cdb32460b27f7bb3611d474ddbe0b330b0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 24 Mar 2020 07:03:21 -0700 Subject: [PATCH] gnu: Add emacs-company-coq. * gnu/packages/emacs-xyz.scm (emacs-company-coq): New variable. --- gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9d40b8019e..97c34a00a3 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,40 @@ 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-company-coq + (package + (name "emacs-company-coq") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/cpitclaudel/company-coq") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dxi4h8xqq5647k7h89s4pi8nwyj3brlhsckrv3p3b1g4dr6mk3b")))) + (inputs + `(("emacs-company" ,emacs-company) + ("emacs-company-math" ,emacs-company-math) + ("emacs-dash" ,emacs-dash) + ("emacs-yasnippet" ,emacs-yasnippet))) + (build-system emacs-build-system) + (home-page "https://github.com/cpitclaudel/company-coq") + (synopsis "IDE extensions for Proof General's Coq mode") + (description "A collection of extensions for Proof General's Coq +mode. Including: + +@itemize +@item Prettification of operators, types, and subscripts +@item Auto-completion +@item Insertion of cases +@item Fully explicit intros +@item Outlines, code folding, and jumping to definition +@item Help with errors +@item and more +@end itemize") + (license license:gpl3+))) --=20 2.26.0 --=-=-=--