From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KBubF+Liy19/bgAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 19:43:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IOtZE+Liy19RXQAA1q6Kng (envelope-from ) for ; Sat, 05 Dec 2020 19:43:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC7929404D7 for ; Sat, 5 Dec 2020 19:43:29 +0000 (UTC) Received: from localhost ([::1]:43122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kldSq-0001IJ-R7 for larch@yhetil.org; Sat, 05 Dec 2020 14:43:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kldSS-0001Gj-WE for guix-patches@gnu.org; Sat, 05 Dec 2020 14:43:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kldSQ-0001yJ-IY for guix-patches@gnu.org; Sat, 05 Dec 2020 14:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kldSQ-0002ZU-Gj for guix-patches@gnu.org; Sat, 05 Dec 2020 14:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45011] [PATCH] add emacs-project and dependency Resent-From: Jonathan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Dec 2020 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45011 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 45011@debbugs.gnu.org Received: via spool by 45011-submit@debbugs.gnu.org id=B45011.16071973419824 (code B ref 45011); Sat, 05 Dec 2020 19:43:02 +0000 Received: (at 45011) by debbugs.gnu.org; 5 Dec 2020 19:42:21 +0000 Received: from localhost ([127.0.0.1]:48256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kldRl-0002YO-6X for submit@debbugs.gnu.org; Sat, 05 Dec 2020 14:42:21 -0500 Received: from mail-ua1-f65.google.com ([209.85.222.65]:42755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kldRj-0002YA-Ng for 45011@debbugs.gnu.org; Sat, 05 Dec 2020 14:42:20 -0500 Received: by mail-ua1-f65.google.com with SMTP id n18so3084391ual.9 for <45011@debbugs.gnu.org>; Sat, 05 Dec 2020 11:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L36wdBcG5JjkVjw7S1TVELKLg6lzhT80QIRZdlBuJRg=; b=W0ILqsOFs4OhwT//D20Fhx6Qu+O2BGXwfUCPT3+MEqrvcFtSCcfKpM34BfueIUwqCE KiEbyk07eRjmpo3z7HlSP3oMNHUjLBi95Prs1XYIojUNtMngk/gwqcEr3G7fzxU5QxLa kA/btosAYqGJ16b/EMwoIznY4aFIJzdkzPBONfssmfHQj3FKqT2YTNB8YixMshh6sVLO xCyIor9yImg3h7Ho9J5IWJ7p1QL3zDmmMyCKc+7kcILyl2eubsPYfXSfDOhLCsBcM7P5 eaoTJLTyMVICQ5edrndYpExFTj9Xkb2weARvTWAtRrtCvRvoC6y8ippXzp/LN6GDNc7u 3rPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L36wdBcG5JjkVjw7S1TVELKLg6lzhT80QIRZdlBuJRg=; b=VlG/GVkW1uAjAZTW2NaD8GHc93n0G1wM3UwX4nXJRHY4bl+riYVfubjpks4X/WoTWU TzArnxDliERZGm9yDLC1S2YuzolUeAdgUTvARwzdqkGP6kVgLexVYti9ds6inEVZO0TS BTvHlypXSBApXxV2RmIK16GE9+0XJmU5nK6EWc7XCXZtxQNALinNOZ0BDAUTLhWBAfVT 0XzfwbMR5jTGRn3jk/9Y0YETB6JmpdmAzgB5ysF1CohMvxiJ9Izm/gh205HDw5dXGEli nPdty9tAEp8ca2Hz/gfGThiyTsY60YCus6sNwx2GVRjpsV0B9a02EKecxzhFmXBzAtvg K8Ag== X-Gm-Message-State: AOAM530egariL1a5MLncQOL68yjDdidFiMtEsfN2ts6vLcJzq0QyT/vi sCS9qgQBvogEEOe8/oYqj95Q8lQdUHMEIOsjklQ= X-Google-Smtp-Source: ABdhPJyfhZ41CpgUyf81wwELnK5W5ut0MuN3IdBO7hW5F6d2sJ5QSSIbGueuuzVQ/wIYui0X7q4JitTlhyqyRYrOHsQ= X-Received: by 2002:ab0:5859:: with SMTP id p25mr8785849uac.100.1607197334367; Sat, 05 Dec 2020 11:42:14 -0800 (PST) MIME-Version: 1.0 References: <87lfedpby8.fsf@nicolasgoaziou.fr> In-Reply-To: <87lfedpby8.fsf@nicolasgoaziou.fr> From: Jonathan Date: Sat, 5 Dec 2020 13:42:03 -0600 Message-ID: Content-Type: multipart/alternative; boundary="00000000000032f17605b5bccac4" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=W0ILqsOF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DC7929404D7 X-Spam-Score: -1.20 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 2Sv50iEIBMQp --00000000000032f17605b5bccac4 Content-Type: text/plain; charset="UTF-8" --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 wrote: > Hello, > > Jonathan 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 > --00000000000032f17605b5bccac4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
---
=C2=A0gnu/packages/emacs-xyz.scm | 27 +++++++++++++= ++++++++++++++
=C2=A01 file changed, 27 insertions(+)

diff --git = a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8a3414d1= 23..b056f05688 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/pack= ages/emacs-xyz.scm
@@ -730,6 +730,33 @@ this one is much simpler and muc= h more consistent.=C2=A0 When using this package,
=C2=A0then only the co= lor of the mode line changes when a window becomes in-/active.")
= =C2=A0 =C2=A0 =C2=A0(license license:gpl3+)))
=C2=A0
+(define-public = emacs-project
+ =C2=A0(package
+ =C2=A0(name "emacs-project"= ;)
+ =C2=A0(version "0.5.2")
+ =C2=A0(source
+ =C2=A0 (o= rigin
+ =C2=A0 =C2=A0 (method url-fetch)
+ =C2=A0 =C2=A0 (uri (string= -append
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "https://elpa.gnu.org/packages/project-&qu= ot;
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 version
+ =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ".el"))
+ =C2=A0 =C2=A0 (sha256
+ =C2=A0 = =C2=A0 =C2=A0(base32
+ =C2=A0 =C2=A0 =C2=A0 "181hls4phhj8kgpfcky6h0= mgzpl9xj616abvcvx8mrn4nmpyh655"))))
+ =C2=A0(build-system emacs-bui= ld-system)
+ =C2=A0(propagated-inputs `(("emacs-xref" ,emacs-x= ref)))
+ =C2=A0(home-page
+ =C2=A0 "http://elpa.gnu.org/packages/project.html&quo= t;)
+ =C2=A0(synopsis "This file contains generic infrastructure fo= r dealing with
+projects, some utility functions, and commands using tha= t
+infrastructure.")
+ =C2=A0(description
+ =C2=A0 "The = goal is to make it easier for Lisp programs to operate on the
+current p= roject, without having to know which package handles
+detection of that = project type, parsing its config files, etc.")
+ =C2=A0(license lic= ense:gpl3+)))
+
=C2=A0(define-public emacs-treepy
=C2=A0 =C2=A0(pa= ckage
=C2=A0 =C2=A0 =C2=A0(name "emacs-treepy")
--
2.29= .2



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

Jonathan <rostr= anjj@gmail.com> writes:

>=C2=A0 gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++= ++++++
>=C2=A0 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?

> +=C2=A0 (synopsis "Operations on the current project")
> +=C2=A0 (description
> +=C2=A0 =C2=A0"NOTE: The project API is still experimental and ca= n change in major,
> +backward-incompatible ways.=C2=A0 Everyone is encouraged to try it, a= nd
> +report to us any problems or use cases we hadn't anticipated, by<= br> > +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.

> +=C2=A0 (description
> +=C2=A0 =C2=A0 "NOTE: The xref API is still experimental and can = change in major,
> +backward-incompatible ways.=C2=A0 Everyone is encouraged to try it, a= nd
> +report to us any problems or use cases we hadn't anticipated, by<= br> > +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
--00000000000032f17605b5bccac4--