all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan <rostranjj@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 45011@debbugs.gnu.org
Subject: [bug#45011] [PATCH] add emacs-project and dependency
Date: Sat, 5 Dec 2020 13:41:42 -0600	[thread overview]
Message-ID: <CANwJfzinT3=DJ-RgvOG0bRKqLjx2UQ4y=CaPOYz9OY+e-OBgkA@mail.gmail.com> (raw)
In-Reply-To: <87lfedpby8.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 3605 bytes --]

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

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 #2: Type: text/html, Size: 4766 bytes --]

  parent reply	other threads:[~2020-12-05 19:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 16:29 [bug#45011] [PATCH] add emacs-project and dependency Jonathan
2020-12-04 20:12 ` Nicolas Goaziou
2020-12-05 18:18   ` Jonathan
2020-12-06 14:53     ` Nicolas Goaziou
2020-12-06 19:22       ` Jonathan
2020-12-06 20:36         ` Nicolas Goaziou
2020-12-06 23:55           ` Jonathan
2020-12-08  7:26             ` Nicolas Goaziou
2020-12-08 17:31               ` Jonathan
2020-12-08 17:34                 ` Jonathan
2020-12-16 16:53                   ` Jonathan
2020-12-16 17:33                     ` bug#45011: " Nicolas Goaziou
2020-12-05 19:41   ` Jonathan [this message]
2020-12-05 19:42   ` [bug#45011] " Jonathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANwJfzinT3=DJ-RgvOG0bRKqLjx2UQ4y=CaPOYz9OY+e-OBgkA@mail.gmail.com' \
    --to=rostranjj@gmail.com \
    --cc=45011@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.