[PATCH] add emacs-project and dependency

  • Done
  • quality assurance status badge
Details
2 participants
  • Nicolas Goaziou
  • Jonathan
Owner
unassigned
Submitted by
Jonathan
Severity
normal
J
J
Jonathan wrote on 2 Dec 2020 17:29
(address . guix-patches@gnu.org)
CANwJfzj4HgpE0nWHTvfNAiooDjF-wBH37d8FziPKgWVwos_K9w@mail.gmail.com
---
gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)

Toggle diff (88 lines)
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 <timhowes@lavabit.com>
;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
;;;
;;; 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
Attachment: file
N
N
Nicolas Goaziou wrote on 4 Dec 2020 21:12
(name . Jonathan)(address . rostranjj@gmail.com)(address . 45011@debbugs.gnu.org)
87lfedpby8.fsf@nicolasgoaziou.fr
Hello,

Jonathan <rostranjj@gmail.com> writes:

Toggle quote (3 lines)
> gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 61 insertions(+)

Thank you!

Could you write a commit message to introduce your changes? You can look
at those starting with "Add ..." in the code base.

Also, could you split it into two patches, one for each package?

Toggle quote (11 lines)
> + (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.")

The synopsis could be clarified, so could the description. In
particular, the latter explains what the library is about.

Toggle quote (11 lines)
> + (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.")

Ditto.

Could you send an updated patch?

Regards,
--
Nicolas Goaziou
J
J
Jonathan wrote on 5 Dec 2020 19:18
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfzg_WV_YRbP3A1A-y4ai1f1J8LeaN_qzKzo9jP9zYBC-BA@mail.gmail.com
Hi

The descriptions are the ones found in their project's homepage. I can't
think of a better synopsis for Project since it provides several functions
to operate on a project directory... Do you have a suggestion?.

Which patch do you want first? emacs-xref is needed for emacs-project. Do
you want me to send emacs-xref first?

Best,

On Fri, Dec 4, 2020 at 2:12 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

Toggle quote (47 lines)
> Hello,
>
> Jonathan <rostranjj@gmail.com> writes:
>
> > gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 61 insertions(+)
>
> Thank you!
>
> Could you write a commit message to introduce your changes? You can look
> at those starting with "Add ..." in the code base.
>
> Also, could you split it into two patches, one for each package?
>
> > + (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.")
>
> The synopsis could be clarified, so could the description. In
> particular, the latter explains what the library is about.
>
> > + (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.")
>
> Ditto.
>
> Could you send an updated patch?
>
> Regards,
> --
> Nicolas Goaziou
>
Attachment: file
J
J
Jonathan wrote on 5 Dec 2020 20:41
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfzinT3=DJ-RgvOG0bRKqLjx2UQ4y=CaPOYz9OY+e-OBgkA@mail.gmail.com
---
gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (100 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5eb8f7c1ea..8a3414d123 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -86,6 +86,7 @@
;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25754,3 +25755,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

On Fri, Dec 4, 2020 at 2:12 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Jonathan <rostranjj@gmail.com> writes:
>
> > gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 61 insertions(+)
>
> Thank you!
>
> Could you write a commit message to introduce your changes? You can look
> at those starting with "Add ..." in the code base.
>
> Also, could you split it into two patches, one for each package?
>
> > + (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.")
>
> The synopsis could be clarified, so could the description. In
> particular, the latter explains what the library is about.
>
> > + (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.")
>
> Ditto.
>
> Could you send an updated patch?
>
> Regards,
> --
> Nicolas Goaziou
>
Attachment: file
J
J
Jonathan wrote on 5 Dec 2020 20:42
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfzhw5345n6PAvhveL7OpNrCebFV_jswR4rtRFYeOZPSKug@mail.gmail.com
---
gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (95 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8a3414d123..b056f05688 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -730,6 +730,33 @@ 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 "This file contains generic infrastructure for dealing with
+projects, some utility functions, and commands using that
+infrastructure.")
+ (description
+ "The goal is to make it easier for Lisp programs to operate on the
+current project, without having to know which package handles
+detection of that project type, parsing its config files, etc.")
+ (license license:gpl3+)))
+
(define-public emacs-treepy
(package
(name "emacs-treepy")
--
2.29.2



On Fri, Dec 4, 2020 at 2:12 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Jonathan <rostranjj@gmail.com> writes:
>
> > gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 61 insertions(+)
>
> Thank you!
>
> Could you write a commit message to introduce your changes? You can look
> at those starting with "Add ..." in the code base.
>
> Also, could you split it into two patches, one for each package?
>
> > + (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.")
>
> The synopsis could be clarified, so could the description. In
> particular, the latter explains what the library is about.
>
> > + (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.")
>
> Ditto.
>
> Could you send an updated patch?
>
> Regards,
> --
> Nicolas Goaziou
>
Attachment: file
N
N
Nicolas Goaziou wrote on 6 Dec 2020 15:53
(name . Jonathan)(address . rostranjj@gmail.com)(address . 45011@debbugs.gnu.org)
874kkz0yw7.fsf@nicolasgoaziou.fr
Hello,

Jonathan <rostranjj@gmail.com> writes:

Toggle quote (2 lines)
> The descriptions are the ones found in their project's homepage.

Well, sometimes, even upstream descriptions need to be reworded.

Toggle quote (4 lines)
> I can't think of a better synopsis for Project since it provides
> several functions to operate on a project directory... Do you have
> a suggestion?.

Unfortunately, no. My concern is that I don't know what this package is
about, and the synopsis doesn't help me finding it out. Maybe the term
"project" is too vague.

Note that the synopsis must fit on a single line, and is not a full
sentence. You may want to run "guix lint" on your package definition.

Also, I suggest to remove the big note at the beginning of each
description. It may make sense as a foreword in a project home page, but
I don't think it does when describing the software.

Toggle quote (3 lines)
> Which patch do you want first? emacs-xref is needed for emacs-project. Do
> you want me to send emacs-xref first?

Sure.

I see you send new patches. Could you integrate the suggestion above,
and include a proper commit message, like the following:

gnu: Add emacs-xref.

* gnu/packages/emacs-xyz.scm (emacs-xref): New variable.

?

Thanks!

Regards,
--
Nicolas Goaziou
J
J
Jonathan wrote on 6 Dec 2020 20:22
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
DF186F77-9A3A-48B8-9192-BBA317D30867@gmail.com
Hello Nicolas

Thanks for the feedback. My bad if my tone in the email sounds dry... it’s not my intention.

This is my first ever Guix contribution and I’m following from what I saw in the website’s video tutorials. I kindly ask that you have some patience with me.

The only thing I need clarified now is how do I send the commits? I thought git format-patch included the commit? Do you want me to send two separate emails with the commit message as the subject? I’m not sure how to send to you the commit info with the patch in the email.

I did see those commit messages on the project repo but I was not sure I needed to add a newline after the main message. Do you want me to send the patches’ commit message like the one you just typed in the email?


All the best

Toggle quote (44 lines)
> On Dec 6, 2020, at 08:53, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> ?Hello,
>
> Jonathan <rostranjj@gmail.com> writes:
>
>> The descriptions are the ones found in their project's homepage.
>
> Well, sometimes, even upstream descriptions need to be reworded.
>
>> I can't think of a better synopsis for Project since it provides
>> several functions to operate on a project directory... Do you have
>> a suggestion?.
>
> Unfortunately, no. My concern is that I don't know what this package is
> about, and the synopsis doesn't help me finding it out. Maybe the term
> "project" is too vague.
>
> Note that the synopsis must fit on a single line, and is not a full
> sentence. You may want to run "guix lint" on your package definition.
>
> Also, I suggest to remove the big note at the beginning of each
> description. It may make sense as a foreword in a project home page, but
> I don't think it does when describing the software.
>
>> Which patch do you want first? emacs-xref is needed for emacs-project. Do
>> you want me to send emacs-xref first?
>
> Sure.
>
> I see you send new patches. Could you integrate the suggestion above,
> and include a proper commit message, like the following:
>
> gnu: Add emacs-xref.
>
> * gnu/packages/emacs-xyz.scm (emacs-xref): New variable.
>
> ?
>
> Thanks!
>
> Regards,
> --
> Nicolas Goaziou
N
N
Nicolas Goaziou wrote on 6 Dec 2020 21:36
(name . Jonathan)(address . rostranjj@gmail.com)(address . 45011@debbugs.gnu.org)
87y2iazn7q.fsf@nicolasgoaziou.fr
Jonathan <rostranjj@gmail.com> writes:

Toggle quote (2 lines)
> This is my first ever Guix contribution

Welcome aboard!

Toggle quote (3 lines)
> and I’m following from what I saw in the website’s video tutorials.
> I kindly ask that you have some patience with me.

Of course!

Toggle quote (3 lines)
> The only thing I need clarified now is how do I send the commits?
> I thought git format-patch included the commit?

It does. git format-patch generates a patch file including the commit
message. I'm surprised you experienced something different.

Toggle quote (4 lines)
> Do you want me to send two separate emails with the commit message as
> the subject? I’m not sure how to send to you the commit info with the
> patch in the email.

The important things to fix are the descriptions and the synopses.

If you cannot send the commit message along with the patch, I'll write
it for you when applying the patches.

Since there are only two patches, you can attach them both to the same
email, if that's easier for you.

Regards,
J
J
Jonathan wrote on 7 Dec 2020 00:55
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
D318B85D-C7FC-4ADC-B41E-5B7FCE1D00A8@gmail.com
Toggle quote (1 lines)
> It does. git format-patch generates a patch file including the commit
message. I'm surprised you experienced something different.

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? It will be formatted as an email with the sender, receiver and subject headers

Best

Toggle quote (4 lines)
> On Dec 6, 2020, at 14:36, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> It does. git format-patch generates a patch file including the commit
> message. I'm surprised you experienced something different.
N
N
Nicolas Goaziou wrote on 8 Dec 2020 08:26
(name . Jonathan)(address . rostranjj@gmail.com)(address . 45011@debbugs.gnu.org)
87ft4gahd0.fsf@nicolasgoaziou.fr
Hello,

Jonathan <rostranjj@gmail.com> writes:

Toggle quote (3 lines)
> 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
J
J
Jonathan wrote on 8 Dec 2020 18:31
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfziM0jgmfWEEq9DUyxFEPSce4EmKWoe73TtKEsPdrdZOuQ@mail.gmail.com
From 1e2a8d0eefd02bbec2ad6366c312dab3c635cba1 Mon Sep 17 00:00:00 2001
From: wario <rostranjj@gmail.com>
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(+)

Toggle diff (61 lines)
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 <noahlandis@posteo.net>
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
+;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
;;;
;;; 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 <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Jonathan <rostranjj@gmail.com> 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
>
Attachment: file
J
J
Jonathan wrote on 8 Dec 2020 18:34
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfzjiukRWC0TU=N4WkipqyNvbb6s910pBwOJ3HNtPrVuG8Q@mail.gmail.com
From fb50c9d2de0e4896dc679b217f3cf66c3214e044 Mon Sep 17 00:00:00 2001
From: wario <rostranjj@gmail.com>
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(+)

Toggle diff (116 lines)
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 <rostranjj@gmail.com> wrote:

> From 1e2a8d0eefd02bbec2ad6366c312dab3c635cba1 Mon Sep 17 00:00:00 2001
> From: wario <rostranjj@gmail.com>
> 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 <noahlandis@posteo.net>
> ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
> ;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
> +;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
> ;;;
> ;;; 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 <mail@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Jonathan <rostranjj@gmail.com> 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
>>
>
Attachment: file
J
J
Jonathan wrote on 16 Dec 2020 17:53
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 45011@debbugs.gnu.org)
CANwJfzht+4d4c-j40ta5h6ie2qgWJ6jFoHQ9beUQmq0YLryJrA@mail.gmail.com
hello??

On Tue, Dec 8, 2020 at 11:34 AM Jonathan <rostranjj@gmail.com> wrote:

Toggle quote (126 lines)
> From fb50c9d2de0e4896dc679b217f3cf66c3214e044 Mon Sep 17 00:00:00 2001
> From: wario <rostranjj@gmail.com>
> 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 <rostranjj@gmail.com> wrote:
>
>> From 1e2a8d0eefd02bbec2ad6366c312dab3c635cba1 Mon Sep 17 00:00:00 2001
>> From: wario <rostranjj@gmail.com>
>> 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 <noahlandis@posteo.net>
>> ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
>> ;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
>> +;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
>> ;;;
>> ;;; 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 <mail@nicolasgoaziou.fr>
>> wrote:
>>
>>> Hello,
>>>
>>> Jonathan <rostranjj@gmail.com> 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
>>>
>>
Attachment: file
N
N
Nicolas Goaziou wrote on 16 Dec 2020 18:33
(name . Jonathan)(address . rostranjj@gmail.com)(address . 45011-done@debbugs.gnu.org)
87zh2d7j1b.fsf@nicolasgoaziou.fr
Hello,

Jonathan <rostranjj@gmail.com> writes:

Toggle quote (2 lines)
> hello??

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

Applied. Thank you.

Regards,
--
Nicolas Goaziou
Closed
?