guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 01/02: gnu: Add itpp.


From: Alex Kost
Subject: Re: 01/02: gnu: Add itpp.
Date: Mon, 20 Mar 2017 14:05:11 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

John Darrington (2017-03-20 07:38 +0100) wrote:

> On Mon, Mar 20, 2017 at 02:18:39AM -0400, Leo Famulari wrote:
>      On Mon, Mar 20, 2017 at 07:03:03AM +0100, John Darrington wrote:
>      >      > +    (source (origin
>      >      > +              (method url-fetch)
>      >      > +              (uri (string-append 
> "mirror://sourceforge/itpp/itpp/"
>      >      > +                                  version "/itpp-"
>      >      > +                                  version ".tar.gz"))
>      >      > +       (sha256
>      >      > +        (base32
>      >      > +         
> "14ddy2xnb6sgp4hiax9v5sv4pr4l4dd4ps76nfha3nrpr1ikhcqm"))))
>
>      (sha256) should be indented from (origin).
>
> Ahh. You are right (of course).  Emacs must have missed that one - perhaps 
> it'll
> do a better job now I have the plugin installed.

You don't need any additional "plugins" for this, as Emacs couldn't miss
it!

To check it, run "emacs -Q", paste this:

(source (origin
          (method url-fetch)
          (uri (string-append "mirror://sourceforge/itpp/itpp/"
                              version "/itpp-"
                              version ".tar.gz"))
  (sha256
    (base32
     "14ddy2xnb6sgp4hiax9v5sv4pr4l4dd4ps76nfha3nrpr1ikhcqm"))))

to some buffer, run "M-x scheme-mode" there, move the point to the
beginning of this sexp and press "C-M-q" ("indent-sexp" command).  And
you'll see that (sha256) is at the same column as (origin).

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]