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

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

>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
>