all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: contact.ng0@cryptolab.net
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add emacs-pretty-mode.
Date: Thu, 02 Feb 2017 12:16:28 +0300	[thread overview]
Message-ID: <87lgtpt0k3.fsf@gmail.com> (raw)
In-Reply-To: <20170201180831.17599-2-contact.ng0@cryptolab.net> (contact's message of "Wed, 1 Feb 2017 18:08:31 +0000")

contact.ng0@cryptolab.net (2017-02-01 18:08 +0000) wrote:

> From: ng0 <contact.ng0@cryptolab.net>
>
> * 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

> +       (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

  reply	other threads:[~2017-02-02  9:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 18:08 emacs-pretty-mode contact.ng0
2017-02-01 18:08 ` [PATCH] gnu: Add emacs-pretty-mode contact.ng0
2017-02-02  9:16   ` Alex Kost [this message]
2017-02-02 10:08     ` ng0
2017-02-03  8:15       ` Alex Kost
2017-02-14 18:40     ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgtpt0k3.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.