guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/17] gnu: Add emacs-expand-region.


From: Alex Kost
Subject: Re: [PATCH 03/17] gnu: Add emacs-expand-region.
Date: Fri, 15 Jul 2016 17:25:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ricardo Wurmus (2016-07-13 00:05 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-expand-region): New variable.
> ---
>  gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index cd87c79..169df4c 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1330,6 +1330,30 @@ Expectations, but it can be used in other contexts.")
>  definitions for testing with the Ecukes framework.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-expand-region
> +  (package
> +    (name "emacs-expand-region")
> +    (version "0.10.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/magnars/expand-region.el";
> +                           "/archive/" version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1zfiaqyb3zqiyqjkpqsjw660j09805nqsg25q6ars2h8gs0rnvxb"))))
> +    (build-system emacs-build-system)
> +    (native-inputs
> +     `(("emacs-espuds" ,emacs-espuds)))

Is it really needed?  AFAIU this is needed only for some development
things in "feature" subdir (Cask maybe, dunno).  If you add it to
compile "features/support/env.el", then it wasn't compiled anyway.

My understanding for emacs packages is that we try to prepare a user
package (what (M)ELPA does), and we don't care about various additional
cask, maintainer, development stuff.  WDYT?

> +    (home-page "https://github.com/magnars/expand-region.el";)
> +    (synopsis "Increase selected region by semantic units")
> +    (description
> +     "Expand region increases the selected region by semantic units.  Just
> +keep pressing the key until it selects what you want.  There's also
> address@hidden/contract-region} if you expand too far.")
> +    (license license:gpl3+)))
> +
>  (define-public emacs-ob-ipython
>    (package
>      (name "emacs-ob-ipython")

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]