From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: indent with emacs batch mode Date: Sat, 07 Jan 2017 22:17:07 +0100 Message-ID: <87pojyzi24.fsf@gnu.org> References: <87y3yocil2.fsf@elephly.net> <87inpr8l6y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPyMU-00081q-FE for guix-devel@gnu.org; Sat, 07 Jan 2017 16:17:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPyMR-0003vP-9t for guix-devel@gnu.org; Sat, 07 Jan 2017 16:17:14 -0500 In-Reply-To: <87inpr8l6y.fsf@gmail.com> (Alex Kost's message of "Sat, 07 Jan 2017 08:59:17 +0300") 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: Alex Kost Cc: guix-devel Hi! Alex Kost skribis: > Since a user knows what file (s)he wants modify, I think it is better to > avoid starting the REPL, so it will be *much faster*. After all, I > would do it like this: Sounds cool! (The only downside is that it would indent the whole file so the submitter might have to undo indentation changes in other parts of the file before committing.) What about committing it as a script, say etc/devel/indent-scheme-code.sh, and mention it under =E2=80=9CSubmitting Patches=E2=80=9D and =E2=80=9CFormatting Code=E2=80=9D? I=E2=80=99m sure many would find it helpful. Thanks! Ludo=E2=80=99.