--- 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 ;;; Copyright © 2020 Noah Landis ;;; Copyright © 2020 Nicolò Balzarotti +;;; Copyright © 2020 Jonathan Rostran ;;; ;;; 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