From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#26367: Please add emacs-adaptive-wrap package Date: Fri, 07 Apr 2017 20:33:35 +0300 Message-ID: <87y3vc86mo.fsf@gmail.com> References: <20170405101539.GD6476@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwXlv-0004tu-10 for bug-guix@gnu.org; Fri, 07 Apr 2017 13:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwXlq-0000R9-1r for bug-guix@gnu.org; Fri, 07 Apr 2017 13:34:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwXlp-0000Qz-UF for bug-guix@gnu.org; Fri, 07 Apr 2017 13:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cwXlp-0004kj-Qp for bug-guix@gnu.org; Fri, 07 Apr 2017 13:34:01 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (catonano@gmail.com's message of "Wed, 5 Apr 2017 12:44:58 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Catonano Cc: Ivan Vilata i Balaguer , 26367-done@debbugs.gnu.org > From be8efedf1710a907db522002c9df1773ab1681ae Mon Sep 17 00:00:00 2001 > From: humanitiesNerd > 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