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