From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add emacs-pretty-mode. Date: Tue, 14 Feb 2017 18:40:10 +0000 Message-ID: <20170214184010.5c4idp76n74r3jt5@wasp> References: <20170201180831.17599-1-contact.ng0@cryptolab.net> <20170201180831.17599-2-contact.ng0@cryptolab.net> <87lgtpt0k3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdhzg-0000s4-Du for guix-devel@gnu.org; Tue, 14 Feb 2017 13:38:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdhzd-0004Ue-Be for guix-devel@gnu.org; Tue, 14 Feb 2017 13:38:28 -0500 Received: from perdizione.investici.org ([94.23.50.208]:32918) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdhzd-0004To-1D for guix-devel@gnu.org; Tue, 14 Feb 2017 13:38:25 -0500 Content-Disposition: inline In-Reply-To: <87lgtpt0k3.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Kost Cc: guix-devel@gnu.org On 17-02-02 12:16:28, Alex Kost wrote: > contact.ng0@cryptolab.net (2017-02-01 18:08 +0000) wrote: > > > From: ng0 > > > > * gnu/packages/emacs.scm (emacs-pretty-mode): New variable. > > --- > > gnu/packages/emacs.scm | 23 +++++++++++++++++++++++ > > 1 file changed, 23 insertions(+) > > > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > > index df7f7869d..a51b5de1d 100644 > > --- a/gnu/packages/emacs.scm > > +++ b/gnu/packages/emacs.scm > > @@ -3778,3 +3778,26 @@ customizable by the user.") > > Additionally it can display the number of unread emails in the > > mode-line.") > > (license license:gpl3+))) > > + > > +(define-public emacs-pretty-mode > > + (let ((commit "500085206e25b98d00b9ec996f91c87ba569c4ce") > > + (revision "1")) > > + (package > > + (name "emacs-pretty-mode") > > + (version (string-append "2.0.3-" revision "." (string-take commit 7))) > > + (source > > + (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/akatov/pretty-mode") > > + (commit commit))) > > Why git commit, and not the latest snapshot? > > https://github.com/akatov/pretty-mode/archive/2.0.3.tar.gz Okay. Addressed in the updated patch which I've just sent to guix-patches@. > > + (file-name (string-append name "-" version "-checkout")) > > + (sha256 > > + (base32 > > + "0m7ii971zxlz8a9yx2ljf9fmd8k6hc9w1q8mi5xi32v9viccjabs")))) > > + (build-system emacs-build-system) > > + (home-page "https://github.com/akatov/pretty-mode") > > + (synopsis "Redisplay parts of the buffer as pretty Unicode symbols.") > > + (description > > + "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.") > > + (license license:gpl3+)))) > > > -- > Alex -- ng0 -- https://www.inventati.org/patternsinthechaos/