all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kkebreau@posteo.net>
To: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
Cc: 32186@debbugs.gnu.org
Subject: [bug#32186] [PATCH] gnu: Add emacs-rust-mode.
Date: Tue, 17 Jul 2018 10:30:22 -0400	[thread overview]
Message-ID: <87pnzmylxd.fsf@posteo.net> (raw)
In-Reply-To: <20180717112438.5228-1-pierre-antoine.rouby@inria.fr> (Rouby Pierre-Antoine's message of "Tue, 17 Jul 2018 13:24:38 +0200")

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

Hello Rouby,

> * gnu/packages/emacs.scm: New variable.
> ---
>  gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index c6c7a1df4..68780aea8 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -11410,3 +11410,33 @@ siblings and friends.  This visual overview can also be used to browse your
>  entries.  You can think of entries as nodes in a mind map, or pages in a
>  wiki.")
>      (license license:expat)))
> +
> +(define-public emacs-rust-mode
> +  (let ((commit "64b4a2450e4d4c47f6307851c9b2598cd2254d68")
> +        (revision "0"))
> +    (package
> +      (name "emacs-rust-mode")
> +      (version (git-version "0.3.0" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri
> +                 (git-reference
> +                  (url "https://github.com/rust-lang/rust-mode")
> +                  (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "0pbz36lljgb7bdgx3h3g0pq1nss1kvn8mhk1l3mknsmynd6w4nd8"))))

I'm guessing that you chose this snapshot because of the additional bug
fixes? If so, please include that information in a comment.

> +      (build-system emacs-build-system)
> +      (arguments
> +       `(#:phases
> +         (modify-phases %standard-phases
> +           (replace 'check
> +             (lambda _
> +               (invoke "sh" "run_rust_emacs_tests.sh"))))))
> +      (home-page "https://github.com/rust-lang/rust-mode")
> +      (synopsis "Major Emacs mode for editing Rust source code")
> +      (description
> +       "This package provide major Emacs mode for editing Rust source code.")

Here I would change "provide" to "provides a", as it reads more naturally.

> +      (license (list license:expat
> +                     license:asl2.0)))))

Also, don't forget to add a copyright line at the top of
gnu/packages/emacs.scm for yourself! Other than those small things, this
patch looks and works fine. Could you send an updated patch?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2018-07-17 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 11:24 [bug#32186] [PATCH] gnu: Add emacs-rust-mode Rouby Pierre-Antoine
2018-07-17 14:30 ` Kei Kebreau [this message]
2018-07-18  8:01   ` Pierre-Antoine Rouby
2018-07-18  9:39   ` Rouby Pierre-Antoine
2018-07-18 15:43     ` Kei Kebreau
2018-07-19  9:28       ` bug#32186: " Ludovic Courtès

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=87pnzmylxd.fsf@posteo.net \
    --to=kkebreau@posteo.net \
    --cc=32186@debbugs.gnu.org \
    --cc=pierre-antoine.rouby@inria.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.