Subject: bug#45011: closed (Re: [bug#45011] [PATCH] add emacs-project and dependency)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 16 Dec 2020 17:34:01 +0000

Your bug report

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

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 [email-masked].

-- 
45011: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45011
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#45011] [PATCH] add emacs-project and dependency
From: Nicolas Goaziou <[email-masked]>
To: Jonathan <[email-masked]>
Cc: [email-masked]
Date: Wed, 16 Dec 2020 18:33:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Jonathan <[email-masked]> writes:

> hello??

I guess this message means I forgot to apply your patch, right? ;)

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] add emacs-project and dependency
From: Jonathan <[email-masked]>
To: [email-masked]
Date: Wed, 2 Dec 2020 10:29:48 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 01de58b1f2..5b66ed64dc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -86,6 +86,7 @@
 ;;; Copyright © 2020 Tim Howes <[email-masked]>
 ;;; Copyright © 2020 Noah Landis <[email-masked]>
 ;;; Copyright © 2020 Nicolò Balzarotti <[email-masked]>
+;;; Copyright © 2020 Jonathan Rostran <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -729,6 +730,36 @@ this one is much simpler and much more consistent.
When using this package,
 then only the color of the mode line changes when a window becomes
in-/active.")
     (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
+   "NOTE: The project API is still experimental and can change in major,
+backward-incompatible ways.  Everyone is encouraged to try it, and
+report to us any problems or use cases we hadn't anticipated, by
+sending an email to emacs-devel, or `M-x report-emacs-bug'.
+
+This file contains generic infrastructure for dealing with
+projects, some utility functions, and commands using that
+infrastructure.")
+  (license license:gpl3+)))
+
 (define-public emacs-treepy
   (package
     (name "emacs-treepy")
@@ -25764,3 +25795,33 @@ syntax highlighting and UI components.")
        "This Emacs package provides a Janet REPL to evaluate
@code{janet-mode}
 s-expression.")
       (license license:expat))))
+
+(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
+    "NOTE: The xref API is still experimental and can change in major,
+backward-incompatible ways.  Everyone is encouraged to try it, and
+report to us any problems or use cases we hadn't anticipated, by
+sending an email to emacs-devel, or `M-x report-emacs-bug'.
+
+This file provides a somewhat generic infrastructure for cross
+referencing commands, in particular \"find-definition\".
+
+See the etags and elisp-mode implementations for full examples.")
+  (license license:gpl3+)))
-- 
2.29.2