unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26367: Please add emacs-adaptive-wrap package
@ 2017-04-05 10:15 Ivan Vilata i Balaguer
  2017-04-05 10:44 ` Catonano
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-04-05 10:15 UTC (permalink / raw)
  To: 26367

Hi, this is a wishlist request to add the
[adaptive-wrap](https://elpa.gnu.org/packages/adaptive-wrap.html) ELPA
package to GNU Guix.  The following definition, as produced by ``guix
import elpa adaptive-wrap`` (except for removing the ``license:``
prefix) seems to work without issues with ``guix install -f FILE``:

```
(use-modules (guix)
             (guix build-system emacs)
             (guix licenses))

(package
  (name "emacs-adaptive-wrap")
  (version "0.5")
  (source
    (origin
      (method url-fetch)
      (uri (string-append
             "http://elpa.gnu.org/packages/adaptive-wrap-"
             version
             ".el"))
      (sha256
        (base32
          "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
  (build-system emacs-build-system)
  (home-page
    "http://elpa.gnu.org/packages/adaptive-wrap.html")
  (synopsis "Smart line-wrapping with wrap-prefix")
  (description
    "This package provides the `adaptive-wrap-prefix-mode' minor mode which sets
the wrap-prefix property on the fly so that single-long-line paragraphs get
word-wrapped in a way similar to what you'd get with M-q using
adaptive-fill-mode, but without actually changing the buffer's text.")
  (license gpl3+))
```

Thank you very much,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

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

* bug#26367: Please add emacs-adaptive-wrap package
  2017-04-05 10:15 bug#26367: Please add emacs-adaptive-wrap package Ivan Vilata i Balaguer
@ 2017-04-05 10:44 ` Catonano
  2017-04-07 17:33   ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2017-04-05 10:44 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: 26367


[-- Attachment #1.1: Type: text/plain, Size: 1517 bytes --]

here it is

I just built it, I didn't install it and run it

2017-04-05 12:15 GMT+02:00 Ivan Vilata i Balaguer <ivan@selidor.net>:

> Hi, this is a wishlist request to add the
> [adaptive-wrap](https://elpa.gnu.org/packages/adaptive-wrap.html) ELPA
> package to GNU Guix.  The following definition, as produced by ``guix
> import elpa adaptive-wrap`` (except for removing the ``license:``
> prefix) seems to work without issues with ``guix install -f FILE``:
>
> ```
> (use-modules (guix)
>              (guix build-system emacs)
>              (guix licenses))
>
> (package
>   (name "emacs-adaptive-wrap")
>   (version "0.5")
>   (source
>     (origin
>       (method url-fetch)
>       (uri (string-append
>              "http://elpa.gnu.org/packages/adaptive-wrap-"
>              version
>              ".el"))
>       (sha256
>         (base32
>           "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
>   (build-system emacs-build-system)
>   (home-page
>     "http://elpa.gnu.org/packages/adaptive-wrap.html")
>   (synopsis "Smart line-wrapping with wrap-prefix")
>   (description
>     "This package provides the `adaptive-wrap-prefix-mode' minor mode
> which sets
> the wrap-prefix property on the fly so that single-long-line paragraphs get
> word-wrapped in a way similar to what you'd get with M-q using
> adaptive-fill-mode, but without actually changing the buffer's text.")
>   (license gpl3+))
> ```
>
> Thank you very much,
>
> --
> Ivan Vilata i Balaguer -- https://elvil.net/
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2560 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-adaptive-wrap.patch --]
[-- Type: text/x-patch, Size: 1616 bytes --]

From be8efedf1710a907db522002c9df1773ab1681ae Mon Sep 17 00:00:00 2001
From: humanitiesNerd <catonano@gmail.com>
Date: Wed, 5 Apr 2017 12:42:05 +0200
Subject: [PATCH] gnu: Add emacs-adaptive-wrap

* gnu/packages/emacs.scm (emacs-adaptive-wrap): 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 3db31f207..9e66c7e9f 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4057,3 +4057,27 @@ jQuery and Bootstrap resources included via osscdn.")
     (description
      "This Emacs package highlights the s-exp at the current position.")
     (license license:gpl3+)))
+
+(define-public emacs-adaptive-wrap
+  (package
+    (name "emacs-adaptive-wrap")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://elpa.gnu.org/packages/adaptive-wrap-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
+    (synopsis "Smart line-wrapping with wrap-prefix")
+    (description
+     "This package provides the `adaptive-wrap-prefix-mode' minor mode which sets
+the wrap-prefix property on the fly so that single-long-line paragraphs get
+word-wrapped in a way similar to what you'd get with M-q using
+adaptive-fill-mode, but without actually changing the buffer's text.")
+    (license license:gpl3+)))
-- 
2.12.0


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

* bug#26367: Please add emacs-adaptive-wrap package
  2017-04-05 10:44 ` Catonano
@ 2017-04-07 17:33   ` Alex Kost
  2017-04-10  7:06     ` Ivan Vilata i Balaguer
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2017-04-07 17:33 UTC (permalink / raw)
  To: Catonano; +Cc: Ivan Vilata i Balaguer, 26367-done

> From be8efedf1710a907db522002c9df1773ab1681ae Mon Sep 17 00:00:00 2001
> From: humanitiesNerd <catonano@gmail.com>
> Date: Wed, 5 Apr 2017 12:42:05 +0200
> Subject: [PATCH] gnu: Add emacs-adaptive-wrap
>
> * gnu/packages/emacs.scm (emacs-adaptive-wrap): New variable.
> ---
>  gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)

Thanks to both of you!  I mentioned Ivan in the commit message and
applied this patch:

http://git.savannah.gnu.org/cgit/guix.git/commit/?id=350cfccb069ff6b8fd9625268612ce09be5f66c9

> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 3db31f207..9e66c7e9f 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4057,3 +4057,27 @@ jQuery and Bootstrap resources included via osscdn.")
>      (description
>       "This Emacs package highlights the s-exp at the current position.")
>      (license license:gpl3+)))
> +
> +(define-public emacs-adaptive-wrap
> +  (package
> +    (name "emacs-adaptive-wrap")
> +    (version "0.5")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "http://elpa.gnu.org/packages/adaptive-wrap-"
> +             version
> +             ".el"))
> +       (sha256
> +        (base32
> +         "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
> +    (build-system emacs-build-system)
> +    (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
> +    (synopsis "Smart line-wrapping with wrap-prefix")
> +    (description
> +     "This package provides the `adaptive-wrap-prefix-mode' minor mode which sets
                                   ^^
Since description supports texinfo markup, I used
@code{adaptive-wrap-prefix-mode} here...

> +the wrap-prefix property on the fly so that single-long-line paragraphs get
> +word-wrapped in a way similar to what you'd get with M-q using
                                                        ^^^
... and @kbd{M-q} here.

> +adaptive-fill-mode, but without actually changing the buffer's text.")
> +    (license license:gpl3+)))

-- 
Alex

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

* bug#26367: Please add emacs-adaptive-wrap package
  2017-04-07 17:33   ` Alex Kost
@ 2017-04-10  7:06     ` Ivan Vilata i Balaguer
  0 siblings, 0 replies; 4+ messages in thread
From: Ivan Vilata i Balaguer @ 2017-04-10  7:06 UTC (permalink / raw)
  To: Alex Kost; +Cc: Ivan Vilata i Balaguer, 26367-done

Alex Kost (2017-04-07 20:33:35 +0300) wrote:

> > From be8efedf1710a907db522002c9df1773ab1681ae Mon Sep 17 00:00:00 2001
> > From: humanitiesNerd <catonano@gmail.com>
> > Date: Wed, 5 Apr 2017 12:42:05 +0200
> > Subject: [PATCH] gnu: Add emacs-adaptive-wrap
> >
> > * gnu/packages/emacs.scm (emacs-adaptive-wrap): New variable.
> > ---
> >  gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
> >  1 file changed, 24 insertions(+)
> 
> Thanks to both of you!  I mentioned Ivan in the commit message and
> applied this patch:
> 
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=350cfccb069ff6b8fd9625268612ce09be5f66c9

Thanks Catonano and Alex for the very prompt action!`:)`

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

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

end of thread, other threads:[~2017-04-10  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 10:15 bug#26367: Please add emacs-adaptive-wrap package Ivan Vilata i Balaguer
2017-04-05 10:44 ` Catonano
2017-04-07 17:33   ` Alex Kost
2017-04-10  7:06     ` Ivan Vilata i Balaguer

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