unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37622] [PATCH] gnu: Add emacs-extempore-mode.
@ 2019-10-04 14:22 Giacomo Leidi
  2019-10-04 15:05 ` bug#37622: " Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Giacomo Leidi @ 2019-10-04 14:22 UTC (permalink / raw)
  To: 37622; +Cc: Giacomo Leidi

* gnu/packages/emacs-xyz.scm (emacs-extempore-mode): New variable.
---
 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 44fe73c3ef..69c3e9dd87 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18754,3 +18754,30 @@ Emacs that integrate with major modes like Org-mode.")
      "Elixir-Mode Provides font-locking, indentation and navigation support
  for the Elixir programming language.")
     (license license:gpl3+)))
+
+(define-public emacs-extempore-mode
+  (let ((version "20190917")            ; no proper tag, use date of commit
+        (commit "848ad0084f27b92d1cf98dabffbad29f959a642d")
+        (revision "1"))
+    (package
+      (name "emacs-extempore-mode")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/extemporelang/extempore-emacs-mode.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "00wr025php7nl33x541s9rjm99hj0jbdcmnw9ljx5hqpm04aqm7c"))))
+      (build-system emacs-build-system)
+      (home-page
+       "https://github.com/extemporelang/extempore-emacs-mode")
+      (synopsis
+       "Emacs major mode for Extempore source files")
+      (description
+       "A major mode for editing Extempore code.  It can create an
+Extempore REPL, connect the current @code{extempore-mode} buffer
+to a running Extempore process and more.")
+      (license license:bsd-2))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#37622: [PATCH] gnu: Add emacs-extempore-mode.
  2019-10-04 14:22 [bug#37622] [PATCH] gnu: Add emacs-extempore-mode Giacomo Leidi
@ 2019-10-04 15:05 ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2019-10-04 15:05 UTC (permalink / raw)
  To: 37622-done, Giacomo Leidi

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

Giacomo,

Thank you!

Giacomo Leidi 写道:
> * gnu/packages/emacs-xyz.scm (emacs-extempore-mode): New 
> variable.
> ---
>  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 44fe73c3ef..69c3e9dd87 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -18754,3 +18754,30 @@ Emacs that integrate with major modes 
> like Org-mode.")
>       "Elixir-Mode Provides font-locking, indentation and 
>       navigation support
>   for the Elixir programming language.")
>      (license license:gpl3+)))
> +
> +(define-public emacs-extempore-mode
> +  (let ((version "20190917")            ; no proper tag, use 
> date of commit

We can't do this, since upstream could decide to release 0.1 
tomorrow and Guix would never consider it an upgrade: the number 
20190917 is larger than almost anything.

Hence we must use ‘0.0.0’ in such situations.

> +      (home-page
> +       "https://github.com/extemporelang/extempore-emacs-mode")
> +      (synopsis
> +       "Emacs major mode for Extempore source files")

Both of these can be single lines.

> +       "A major mode for editing Extempore code.  It can create 
> an

Descriptions should start with a full sentence.

I've made these changes and pushed commit 
0c3cf628299458dbbbd783adca5b1d277ead0fc8.

Kind regards,

T G-R

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-04 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 14:22 [bug#37622] [PATCH] gnu: Add emacs-extempore-mode Giacomo Leidi
2019-10-04 15:05 ` bug#37622: " Tobias Geerinckx-Rice via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).