Subject: Re: [bug#37622] [PATCH] gnu: Add emacs-extempore-mode.

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Fri, 04 Oct 2019 17:05:22 +0200

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