Subject: Re: bug#27150: plan9-like text editor wily

From: [email-masked] (Ludovic Courtès)
Date: Wed, 31 May 2017 17:02:50 +0200

ng0 <[email-masked]> skribis:

> From 551a544eab8f4295581ace79a5c8b5b2a9c3b581 Mon Sep 17 00:00:00 2001
> From: ng0 <[email-masked]>
> Date: Mon, 8 May 2017 18:08:24 +0000
> Subject: [PATCH] gnu: Add wily.
>
> * gnu/packages/text-editors.scm (wily): New variable.

Nice.  Applied with the minor changes below.

Thank you!

Ludo’.

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index b87114d37..a0ba1028f 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -248,10 +248,9 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.  e3 can be used on
        (modify-phases %standard-phases
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
-             ;; The included configure script does not
-             ;; understand flags such as '--host'
+             ;; The included configure script does not understand flags such
+             ;; as '--host'.
              (let ((out (assoc-ref outputs "out")))
-               ;; 'configure' does not understand '--host'.
                ,@(if (%current-target-system)
                      `((setenv "CHOST" ,(%current-target-system)))
                      '())
@@ -263,15 +262,16 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.  e3 can be used on
          (add-before 'install 'mkdir
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (mkdir-p (string-append out "/bin"))))))))
+               (mkdir-p (string-append out "/bin"))
+               #t))))))
     (inputs
      `(("libx11" ,libx11)
        ("libxt" ,libxt)))
     (home-page "http://www.cse.yorku.ca/~oz/wily/")
-    (synopsis "Implementation of ACME")
+    (synopsis "Text editor inspired by Acme")
     (description
      "Wily is a mouse-oriented, text-based environment for programmers.
-It lets you interact with files, directories and programs through mouse and keyboard
-operations on plain text.  Most of Wily's design (but none of its code) comes
-from Rob Pike's acme.")
+It lets you interact with files, directories and programs through mouse and
+keyboard operations on plain text.  Most of Wily's design (but none of its
+code) comes from Rob Pike's Acme.")
     (license license:gpl3+)))