unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Vollmert <rob@vllmrt.net>
To: guix-devel@gnu.org
Subject: on indentation
Date: Fri, 14 Jun 2019 18:41:10 +0200	[thread overview]
Message-ID: <ACC5984D-057F-4136-83C7-D986E45B495C@vllmrt.net> (raw)

Hi,

a couple of questions regarding indenting scheme code.

* I can run etc/indent-code.el by hand from the guix source
repo, but it would be much nicer to have it available as a
regular executable. I tried briefly but failed to package it
— should the package definition fail to the in-tree local file
or download a a tar ball? I guess the trivial build system with
a manual copy and patch-shebang would be the way to go — could
someone point me at an example package that does something
similar?

* Most source files aren’t indented according to etc/indent-code.el,
presumably because guix import uses (ice-9 pretty-print) which does
things differently. How to deal with this?

* Is anyone aware of a different command-line guile/scheme/sexp
code formatter? etc/indent-code.el is a bit slow, and a tool that
reformats stdin to stdout would be useful for calling from other
editors.

Cheers
Robert

             reply	other threads:[~2019-06-14 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 16:41 Robert Vollmert [this message]
2019-06-14 19:59 ` on indentation Ricardo Wurmus
2019-06-15 11:23   ` Robert Vollmert
2019-06-15 12:15     ` Ricardo Wurmus

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=ACC5984D-057F-4136-83C7-D986E45B495C@vllmrt.net \
    --to=rob@vllmrt.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).