Subject: [bug#45011] [PATCH] add emacs-project and dependency

From: Jonathan <[email-masked]>
Date: Tue, 8 Dec 2020 11:34:19 -0600

>From fb50c9d2de0e4896dc679b217f3cf66c3214e044 Mon Sep 17 00:00:00 2001
From: wario <[email-masked]>
Date: Tue, 8 Dec 2020 11:33:49 -0600
Subject: [PATCH] gnu: Add emacs-project *gnu/packages/emacs-xyz.scm
 (emacs-project): New variable.

---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6999265a0e..e15c7650e2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -342,6 +342,31 @@ for those who may want transient periods of unbalanced
parentheses, such as
 when typing parentheses directly or commenting out code line by line.")
     (license license:gpl3+)))

+(define-public emacs-project
+  (package
+  (name "emacs-project")
+  (version "0.5.2")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (string-append
+           "https://elpa.gnu.org/packages/project-"
+           version
+           ".el"))
+     (sha256
+      (base32
+       "181hls4phhj8kgpfcky6h0mgzpl9xj616abvcvx8mrn4nmpyh655"))))
+  (build-system emacs-build-system)
+  (propagated-inputs `(("emacs-xref" ,emacs-xref)))
+  (home-page
+   "http://elpa.gnu.org/packages/project.html")
+  (synopsis "Operations on the current project")
+  (description
+   "This file contains generic infrastructure for dealing with
+projects, some utility functions, and commands using that
+infrastructure.")
+  (license license:gpl3+)))
+
 (define-public git-modes
   (package
     (name "emacs-git-modes")
-- 
2.29.2

On Tue, Dec 8, 2020 at 11:31 AM Jonathan <[email-masked]> wrote:

> From 1e2a8d0eefd02bbec2ad6366c312dab3c635cba1 Mon Sep 17 00:00:00 2001
> From: wario <[email-masked]>
> Date: Tue, 8 Dec 2020 11:29:55 -0600
> Subject: [PATCH] gnu: Add emacs-xref. *gnu/packages/emacs-xyz.scm
>  (emacs-xref): New variable.
>
> ---
>  gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index e2658b4547..6999265a0e 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -87,6 +87,7 @@
>  ;;; Copyright © 2020 Noah Landis <[email-masked]>
>  ;;; Copyright © 2020 Nicolò Balzarotti <[email-masked]>
>  ;;; Copyright © 2020 André A. Gomes <[email-masked]>
> +;;; Copyright © 2020 Jonathan Rostran <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -25768,3 +25769,25 @@ anymore.  In this way, it's like a lightweight
> \"workspace\" manager, allowing
>  you to easily restore one or more frames, including their windows, the
>  windows' layout, and their buffers.")
>      (license license:gpl3+)))
> +
> +(define-public emacs-xref
> +  (package
> +  (name "emacs-xref")
> +  (version "1.0.3")
> +  (source
> +    (origin
> +      (method url-fetch)
> +      (uri (string-append
> +             "https://elpa.gnu.org/packages/xref-"
> +             version
> +             ".el"))
> +      (sha256
> +        (base32
> +          "1r531gl73y1br8g4n77gxbyj26yiaw7snjad21fgs5m80cka8fi3"))))
> +  (build-system emacs-build-system)
> +  (home-page
> +    "http://elpa.gnu.org/packages/xref.html")
> +  (synopsis "Cross-referencing commands")
> +  (description "This file provides a somewhat generic infrastructure for
> cross
> +referencing commands, in particular \"find-definition\".")
> +  (license license:gpl3+)))
> --
> 2.29.2
>
>
>
> On Tue, Dec 8, 2020 at 1:26 AM Nicolas Goaziou <[email-masked]>
> wrote:
>
>> Hello,
>>
>> Jonathan <[email-masked]> writes:
>>
>> > It does for me but as an email, with the subject filled in with the
>> > commit message. I only copied the body. Should I send the entire file?
>>
>> I think so.
>>
>> Regards,
>> --
>> Nicolas Goaziou
>>
>