unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/6] gnu: Add emacs-ivy.
@ 2016-06-18 16:15 Ricardo Wurmus
  2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-ivy): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index d524a7c..c12bf12 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1717,6 +1717,31 @@ features found in other packages it also brings many improvements as
 well as completely new features.")
     (license license:gpl3+)))
 
+(define-public emacs-ivy
+  (package
+    (name "emacs-ivy")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/swiper/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/abo-abo/swiper")
+    (synopsis "Incremental vertical completion")
+    (description
+     "This package provides @code{ivy-read} as an alternative to
+@code{completing-read} and similar functions.  No attempt is made to determine
+the best candidate.  Instead, the user can navigate candidates with
+@code{ivy-next-line} and @code{ivy-previous-line}.  The matching is done by
+splitting the input text by spaces and re-building it into a regular
+expression.")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* [PATCH 2/6] gnu: Add emacs-hydra.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
@ 2016-06-18 16:15 ` Ricardo Wurmus
  2016-06-20  4:55   ` Ricardo Wurmus
  2016-06-18 16:15 ` [PATCH 3/6] gnu: Add emacs-avy Ricardo Wurmus
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-hydra): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c12bf12..6741f58 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1742,6 +1742,32 @@ splitting the input text by spaces and re-building it into a regular
 expression.")
     (license license:gpl3+)))
 
+(define-public emacs-hydra
+  (package
+    (name "emacs-hydra")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/hydra/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19ynkjlg3jj7x90xxbz885324h6nkxmzlb2c2c95xkr20zckn0lk"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/abo-abo/hydra")
+    (synopsis "Make bindings that stick around")
+    (description
+     "This package can be used to tie related commands into a family of short
+bindings with a common prefix---a Hydra.  Once you summon the Hydra (through
+the prefixed binding), all the heads can be called in succession with only a
+short extension.  Any binding that isn't the Hydra's head vanquishes the
+Hydra.  Note that Hercules, besides vanquishing the Hydra, will still serve
+his orignal purpose, calling his proper command.  This makes the Hydra very
+seamless, it's like a minor mode that disables itself automatically.")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* [PATCH 3/6] gnu: Add emacs-avy.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
  2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
@ 2016-06-18 16:15 ` Ricardo Wurmus
  2016-06-19 17:13   ` Alex Kost
  2016-06-18 16:15 ` [PATCH 4/6] gnu: Add emacs-ace-window Ricardo Wurmus
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-avy): New variable.
---
 gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6741f58..5158059 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1768,6 +1768,42 @@ his orignal purpose, calling his proper command.  This makes the Hydra very
 seamless, it's like a minor mode that disables itself automatically.")
     (license license:gpl3+)))
 
+(define-public emacs-avy
+  (package
+    (name "emacs-avy")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/avy/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/abo-abo/avy")
+    (synopsis "Tree-based completion")
+    (description
+     "This package provides a generic completion method based on building a
+balanced decision tree with each candidate being a leaf.  To traverse the tree
+from the root to a desired leaf, typically a sequence of @code{read-key} can
+be used.
+
+In order for @code{read-key} to make sense, the tree needs to be visualized
+appropriately, with a character at each branch node.  So this completion
+method works only for things that you can see on your screen, all at once,
+such as
+
+@enumerate
+@item character positions
+@item word or subword start positions
+@item line beginning positions
+@item link positions
+@item window positions
+@end enumerate\n")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* [PATCH 4/6] gnu: Add emacs-ace-window.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
  2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
  2016-06-18 16:15 ` [PATCH 3/6] gnu: Add emacs-avy Ricardo Wurmus
@ 2016-06-18 16:15 ` Ricardo Wurmus
  2016-06-19 17:16   ` Alex Kost
  2016-06-18 16:15 ` [PATCH 5/6] gnu: Add emacs-iedit Ricardo Wurmus
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-ace-window): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5158059..7104165 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1804,6 +1804,31 @@ such as
 @end enumerate\n")
     (license license:gpl3+)))
 
+(define-public emacs-ace-window
+  (package
+    (name "emacs-ace-window")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-avy" ,emacs-avy)))
+    (home-page "https://github.com/abo-abo/ace-window")
+    (synopsis "Quickly switch windows")
+    (description
+     "@code{ace-window} is meant to replace @code{other-window}.
+In fact, when there are only two windows present, @code{other-window} is
+called.  If there are more, each window will have its first character
+highlighted.  Pressing that character will switch to that window.")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* [PATCH 5/6] gnu: Add emacs-iedit.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
                   ` (2 preceding siblings ...)
  2016-06-18 16:15 ` [PATCH 4/6] gnu: Add emacs-ace-window Ricardo Wurmus
@ 2016-06-18 16:15 ` Ricardo Wurmus
  2016-06-19 17:26   ` Alex Kost
  2016-06-18 16:15 ` [PATCH 6/6] gnu: Add emacs-lispy Ricardo Wurmus
  2016-06-19 17:11 ` [PATCH 1/6] gnu: Add emacs-ivy Alex Kost
  5 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-iedit): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7104165..1a68324 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1829,6 +1829,32 @@ called.  If there are more, each window will have its first character
 highlighted.  Pressing that character will switch to that window.")
     (license license:gpl3+)))
 
+(define-public emacs-iedit
+  (package
+    (name "emacs-iedit")
+    (version "0.9.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/victorhge/iedit/archive/v"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
+    (build-system emacs-build-system)
+    (home-page "http://www.emacswiki.org/emacs/Iedit")
+    (synopsis "Edit multiple regions in the same way simultaneously")
+    (description
+     "This package is an Emacs minor mode and allows you to edit one
+occurrence of some text in a buffer (possibly narrowed) or region, and
+simultaneously have other occurrences edited in the same way.
+
+You can also use Iedit mode as a quick way to temporarily show only the buffer
+lines that match the current text being edited.  This gives you the effect of
+a temporary @code{keep-lines} or @code{occur}.")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* [PATCH 6/6] gnu: Add emacs-lispy.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
                   ` (3 preceding siblings ...)
  2016-06-18 16:15 ` [PATCH 5/6] gnu: Add emacs-iedit Ricardo Wurmus
@ 2016-06-18 16:15 ` Ricardo Wurmus
  2016-06-19 17:31   ` Alex Kost
  2016-06-19 17:11 ` [PATCH 1/6] gnu: Add emacs-ivy Alex Kost
  5 siblings, 1 reply; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-18 16:15 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/emacs.scm (emacs-lispy): 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 1a68324..3f86c1d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1855,6 +1855,36 @@ lines that match the current text being edited.  This gives you the effect of
 a temporary @code{keep-lines} or @code{occur}.")
     (license license:gpl3+)))
 
+(define-public emacs-lispy
+  (package
+    (name "emacs-lispy")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/lispy/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-ace-window" ,emacs-ace-window)
+       ("emacs-iedit" ,emacs-iedit)
+       ("emacs-ivy" ,emacs-ivy)
+       ("emacs-hydra" ,emacs-hydra)))
+    (home-page "https://github.com/abo-abo/lispy")
+    (synopsis "Modal S-expression editing")
+    (description
+     "Due to the structure of Lisp syntax it's very rare for the programmer to
+want to insert characters right before \"(\" or right after \")\".  Thus
+unprefixed printable characters can be used to call commands when the point is
+at one of these special locations.  Lispy provides unprefixed keybindings for
+S-expression editing when point is at the beginning or end of an
+S-expression.")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

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

* Re: [PATCH 1/6] gnu: Add emacs-ivy.
  2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
                   ` (4 preceding siblings ...)
  2016-06-18 16:15 ` [PATCH 6/6] gnu: Add emacs-lispy Ricardo Wurmus
@ 2016-06-19 17:11 ` Alex Kost
  2016-06-20  4:43   ` Ricardo Wurmus
  5 siblings, 1 reply; 14+ messages in thread
From: Alex Kost @ 2016-06-19 17:11 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-ivy): New variable.
> ---
>  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index d524a7c..c12bf12 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1717,6 +1717,31 @@ features found in other packages it also brings many improvements as
>  well as completely new features.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-ivy
> +  (package
> +    (name "emacs-ivy")
> +    (version "0.8.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/abo-abo/swiper/archive/"
> +                           version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/abo-abo/swiper")

Since this is more a home of the source code, perhaps it would make
sense to point to "http://oremacs.com/swiper/" as the homepage?

> +    (synopsis "Incremental vertical completion")
> +    (description
> +     "This package provides @code{ivy-read} as an alternative to
> +@code{completing-read} and similar functions.  No attempt is made to determine
> +the best candidate.  Instead, the user can navigate candidates with
> +@code{ivy-next-line} and @code{ivy-previous-line}.  The matching is done by
> +splitting the input text by spaces and re-building it into a regular
> +expression.")
> +    (license license:gpl3+)))

This package has "ivy-hydra.el" file and it cannot be compiled as it
requires 'hydra'.  Although it's an additional feature only for hydra
users, but maybe it would be good to add 'emacs-hydra' input here, WDYT?

-- 
Alex

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

* Re: [PATCH 3/6] gnu: Add emacs-avy.
  2016-06-18 16:15 ` [PATCH 3/6] gnu: Add emacs-avy Ricardo Wurmus
@ 2016-06-19 17:13   ` Alex Kost
  2016-06-20  4:40     ` Ricardo Wurmus
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Kost @ 2016-06-19 17:13 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-avy): New variable.
> ---
>  gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 6741f58..5158059 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1768,6 +1768,42 @@ his orignal purpose, calling his proper command.  This makes the Hydra very
>  seamless, it's like a minor mode that disables itself automatically.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-avy
> +  (package
> +    (name "emacs-avy")
> +    (version "0.4.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/abo-abo/avy/archive/"
> +                           version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/abo-abo/avy")
> +    (synopsis "Tree-based completion")

I would write "Tree-based completion for Emacs", but I'm not sure if we
have a convention to mention "Emacs" in synopsis or description of emacs
packages.

> +    (description
> +     "This package provides a generic completion method based on building a
> +balanced decision tree with each candidate being a leaf.  To traverse the tree
> +from the root to a desired leaf, typically a sequence of @code{read-key} can
> +be used.
> +
> +In order for @code{read-key} to make sense, the tree needs to be visualized
> +appropriately, with a character at each branch node.  So this completion
> +method works only for things that you can see on your screen, all at once,
> +such as
> +
> +@enumerate
> +@item character positions
> +@item word or subword start positions
> +@item line beginning positions
> +@item link positions
> +@item window positions
> +@end enumerate\n")

I think this description is a bit too long, but I'm fine with it except
the last "\n", I would remove it :-)

> +    (license license:gpl3+)))
> +
>  (define-public emacs-clojure-mode
>    (package
>      (name "emacs-clojure-mode")

-- 
Alex

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

* Re: [PATCH 4/6] gnu: Add emacs-ace-window.
  2016-06-18 16:15 ` [PATCH 4/6] gnu: Add emacs-ace-window Ricardo Wurmus
@ 2016-06-19 17:16   ` Alex Kost
  0 siblings, 0 replies; 14+ messages in thread
From: Alex Kost @ 2016-06-19 17:16 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-ace-window): New variable.
> ---
>  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 5158059..7104165 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -1804,6 +1804,31 @@ such as
>  @end enumerate\n")
>      (license license:gpl3+)))
>  
> +(define-public emacs-ace-window
> +  (package
> +    (name "emacs-ace-window")
> +    (version "0.9.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
> +                           version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs
> +     `(("emacs-avy" ,emacs-avy)))
> +    (home-page "https://github.com/abo-abo/ace-window")
> +    (synopsis "Quickly switch windows")

I don't have comments on this package except for the same question about
mentioning "Emacs".  Maybe: "Quickly switch windows in Emacs"?

> +    (description
> +     "@code{ace-window} is meant to replace @code{other-window}.
> +In fact, when there are only two windows present, @code{other-window} is
> +called.  If there are more, each window will have its first character
> +highlighted.  Pressing that character will switch to that window.")
> +    (license license:gpl3+)))
> +
>  (define-public emacs-clojure-mode
>    (package
>      (name "emacs-clojure-mode")

-- 
Alex

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

* Re: [PATCH 5/6] gnu: Add emacs-iedit.
  2016-06-18 16:15 ` [PATCH 5/6] gnu: Add emacs-iedit Ricardo Wurmus
@ 2016-06-19 17:26   ` Alex Kost
  0 siblings, 0 replies; 14+ messages in thread
From: Alex Kost @ 2016-06-19 17:26 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-iedit): New variable.
> ---
>  gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)

LGTM, thanks!

-- 
Alex

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

* Re: [PATCH 6/6] gnu: Add emacs-lispy.
  2016-06-18 16:15 ` [PATCH 6/6] gnu: Add emacs-lispy Ricardo Wurmus
@ 2016-06-19 17:31   ` Alex Kost
  0 siblings, 0 replies; 14+ messages in thread
From: Alex Kost @ 2016-06-19 17:31 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:

> * gnu/packages/emacs.scm (emacs-lispy): New variable.
> ---
>  gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

LGTM.  I wanted to look at "lispy" as I'm not satisfied with "paredit"
and "smartparens", so I think it's just the time, thanks!

-- 
Alex

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

* Re: [PATCH 3/6] gnu: Add emacs-avy.
  2016-06-19 17:13   ` Alex Kost
@ 2016-06-20  4:40     ` Ricardo Wurmus
  0 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-20  4:40 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel


Alex Kost <alezost@gmail.com> writes:

> Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:
>
>> * gnu/packages/emacs.scm (emacs-avy): New variable.
>> ---
>>  gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++
>>  1 file changed, 36 insertions(+)
>>
>>
>> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
>> index 6741f58..5158059 100644
>> --- a/gnu/packages/emacs.scm
>> +++ b/gnu/packages/emacs.scm
>> @@ -1768,6 +1768,42 @@ his orignal purpose, calling his proper command.  This makes the Hydra very
>>  seamless, it's like a minor mode that disables itself automatically.")
>>      (license license:gpl3+)))
>>  
>> +(define-public emacs-avy
>> +  (package
>> +    (name "emacs-avy")
>> +    (version "0.4.0")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://github.com/abo-abo/avy/archive/"
>> +                           version ".tar.gz"))
>> +       (file-name (string-append name "-" version ".tar.gz"))
>> +       (sha256
>> +        (base32
>> +         "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
>> +    (build-system emacs-build-system)
>> +    (home-page "https://github.com/abo-abo/avy")
>> +    (synopsis "Tree-based completion")
>
> I would write "Tree-based completion for Emacs", but I'm not sure if we
> have a convention to mention "Emacs" in synopsis or description of emacs
> packages.

Okay.

>> +    (description
>> +     "This package provides a generic completion method based on building a
>> +balanced decision tree with each candidate being a leaf.  To traverse the tree
>> +from the root to a desired leaf, typically a sequence of @code{read-key} can
>> +be used.
>> +
>> +In order for @code{read-key} to make sense, the tree needs to be visualized
>> +appropriately, with a character at each branch node.  So this completion
>> +method works only for things that you can see on your screen, all at once,
>> +such as
>> +
>> +@enumerate
>> +@item character positions
>> +@item word or subword start positions
>> +@item line beginning positions
>> +@item link positions
>> +@item window positions
>> +@end enumerate\n")
>
> I think this description is a bit too long, but I'm fine with it except
> the last "\n", I would remove it :-)

I have inlined the enumeration and shortened the items.

~~ Ricardo

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

* Re: [PATCH 1/6] gnu: Add emacs-ivy.
  2016-06-19 17:11 ` [PATCH 1/6] gnu: Add emacs-ivy Alex Kost
@ 2016-06-20  4:43   ` Ricardo Wurmus
  0 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-20  4:43 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel


Alex Kost <alezost@gmail.com> writes:

> Ricardo Wurmus (2016-06-18 19:15 +0300) wrote:
>
>> * gnu/packages/emacs.scm (emacs-ivy): New variable.
>> ---
>>  gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
>>  1 file changed, 25 insertions(+)
>>
>>
>> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
>> index d524a7c..c12bf12 100644
>> --- a/gnu/packages/emacs.scm
>> +++ b/gnu/packages/emacs.scm
>> @@ -1717,6 +1717,31 @@ features found in other packages it also brings many improvements as
>>  well as completely new features.")
>>      (license license:gpl3+)))
>>  
>> +(define-public emacs-ivy
>> +  (package
>> +    (name "emacs-ivy")
>> +    (version "0.8.0")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://github.com/abo-abo/swiper/archive/"
>> +                           version ".tar.gz"))
>> +       (file-name (string-append name "-" version ".tar.gz"))
>> +       (sha256
>> +        (base32
>> +         "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
>> +    (build-system emacs-build-system)
>> +    (home-page "https://github.com/abo-abo/swiper")
>
> Since this is more a home of the source code, perhaps it would make
> sense to point to "http://oremacs.com/swiper/" as the homepage?

Okay, makes sense.

>
>> +    (synopsis "Incremental vertical completion")
>> +    (description
>> +     "This package provides @code{ivy-read} as an alternative to
>> +@code{completing-read} and similar functions.  No attempt is made to determine
>> +the best candidate.  Instead, the user can navigate candidates with
>> +@code{ivy-next-line} and @code{ivy-previous-line}.  The matching is done by
>> +splitting the input text by spaces and re-building it into a regular
>> +expression.")
>> +    (license license:gpl3+)))
>
> This package has "ivy-hydra.el" file and it cannot be compiled as it
> requires 'hydra'.  Although it's an additional feature only for hydra
> users, but maybe it would be good to add 'emacs-hydra' input here, WDYT?

Okay, I’ll reorder the patches and add emacs-hydra as a propagated
input.

~~ Ricardo

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

* Re: [PATCH 2/6] gnu: Add emacs-hydra.
  2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
@ 2016-06-20  4:55   ` Ricardo Wurmus
  0 siblings, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2016-06-20  4:55 UTC (permalink / raw)
  To: guix-devel


Ricardo Wurmus <rekado@elephly.net> writes:

> * gnu/packages/emacs.scm (emacs-hydra): New variable.
[…]
> +    (description
> +     "This package can be used to tie related commands into a family of short
> +bindings with a common prefix---a Hydra.  Once you summon the Hydra (through
> +the prefixed binding), all the heads can be called in succession with only a
> +short extension.  Any binding that isn't the Hydra's head vanquishes the
> +Hydra.  Note that Hercules, besides vanquishing the Hydra, will still serve
> +his orignal purpose, calling his proper command.  This makes the Hydra very
> +seamless, it's like a minor mode that disables itself automatically.")
> +    (license license:gpl3+)))

I’ve changed the description a little.  The metaphor was a little too
thick.

~~ Ricardo

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

end of thread, other threads:[~2016-06-20  4:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
2016-06-20  4:55   ` Ricardo Wurmus
2016-06-18 16:15 ` [PATCH 3/6] gnu: Add emacs-avy Ricardo Wurmus
2016-06-19 17:13   ` Alex Kost
2016-06-20  4:40     ` Ricardo Wurmus
2016-06-18 16:15 ` [PATCH 4/6] gnu: Add emacs-ace-window Ricardo Wurmus
2016-06-19 17:16   ` Alex Kost
2016-06-18 16:15 ` [PATCH 5/6] gnu: Add emacs-iedit Ricardo Wurmus
2016-06-19 17:26   ` Alex Kost
2016-06-18 16:15 ` [PATCH 6/6] gnu: Add emacs-lispy Ricardo Wurmus
2016-06-19 17:31   ` Alex Kost
2016-06-19 17:11 ` [PATCH 1/6] gnu: Add emacs-ivy Alex Kost
2016-06-20  4:43   ` Ricardo Wurmus

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).