[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] doc: Use the recommended Scheme format.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] doc: Use the recommended Scheme format. |
Date: |
Mon, 14 Sep 2015 10:02:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Cyril Roelandt <address@hidden> skribis:
> On 09/13/2015 10:57 PM, Mathieu Lirzin wrote:
>> Apply the recommended formatting rules from '.dir-locals.el' to the
>> examples in the manual in order to fulfill it's purpose of being a
>> reference.
>
> Isn't there a tool that can reformat the Guile code according to this
> file? Kind of like "indent" for C code.
This file is understood by Emacs. Unfortunately we have no other tool
that understands that.
But again, as discussed at
<https://lists.gnu.org/archive/html/guix-devel/2015-09/msg00280.html>,
some effort to get a consistent style is needed (for instance, the
output of importers clearly needs manual tweaks or Emacs ‘M-q’
aka. ‘paredit-reindent-defun’, which is really a tiny fraction of the
time it takes to prepare a package), but it’s OK if some packages don’t
perfectly follow the fine rules in .dir-locals.el.
Now, if Vim users post a configuration file equivalent to
.dir-locals.el, that’s even better, and I’d happily commit it!
Ludo’.