From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: on indentation Date: Fri, 14 Jun 2019 18:41:10 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45868) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbpGR-0006fZ-5R for guix-devel@gnu.org; Fri, 14 Jun 2019 12:41:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbpGP-0000MG-1Q for guix-devel@gnu.org; Fri, 14 Jun 2019 12:41:19 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:60184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbpGN-0000KP-78 for guix-devel@gnu.org; Fri, 14 Jun 2019 12:41:16 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id AF4E4A01B3 for ; Fri, 14 Jun 2019 18:41:12 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id Vy3zSTU3T9hf for ; Fri, 14 Jun 2019 18:41:11 +0200 (CEST) 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: guix-devel@gnu.org 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 =E2=80=94 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 =E2=80=94 could someone point me at an example package that does something similar? * Most source files aren=E2=80=99t 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