[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] emacs: devel: Add indentation rules.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] emacs: devel: Add indentation rules. |
Date: |
Tue, 13 Oct 2015 11:45:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> skribis:
> Ludovic Courtès (2015-10-02 15:51 +0300) wrote:
>
>> Alex Kost <address@hidden> skribis:
>>
>>> I thought that most people (except me) agreed that indentation rules
>>> should stay in ".dir-locals.el", so I don't see a reason why they also
>>> need to be duplicated in "guix-devel.el".
>>
>> It’s interesting to have them in .dir-locals.el for people who hack Guix
>> itself.
>>
>> But it’s also interesting to have them in guix-devel.el for people who
>> maintain, say, their own package collection outside of the Guix repo.
>
> So here it is. I added indentations only for Guix stuff, as I think
> that general Guile things (like 'lambda*' or 'eval-when') shouldn't be
> handled by a Guix emacs library. BTW, all of these Guile things will be
> highlighted/indented properly by Geiser 0.8 (see [1], [2]).
The future is now! :-)
> From a878a1fa51cb8072f7af55309ce457d1425841c6 Mon Sep 17 00:00:00 2001
> From: Alex Kost <address@hidden>
> Date: Mon, 12 Oct 2015 12:06:32 +0300
> Subject: [PATCH] emacs: devel: Add indentation rules.
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Suggested by Ludovic Courtès <address@hidden>.
>
> * emacs/guix-devel.el: Add indentation rules for Guix macros/procedures.
> (guix-devel-scheme-indent): New macro.
> (guix-devel-indent-package): New function.
LGTM, thank you!
Ludo’.
- Re: .dir-locals.el vs. guix-devel-mode, Alex Kost, 2015/10/04
- Re: .dir-locals.el vs. guix-devel-mode, Ludovic Courtès, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Alex Kost, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Mathieu Lirzin, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Ludovic Courtès, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Alex Kost, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Ludovic Courtès, 2015/10/08
- Re: .dir-locals.el vs. guix-devel-mode, Alex Kost, 2015/10/08
- [PATCH] emacs: devel: Add indentation rules., Alex Kost, 2015/10/15
- Re: [PATCH] emacs: devel: Add indentation rules.,
Ludovic Courtès <=
- Re: [PATCH] emacs: devel: Add indentation rules., Alex Kost, 2015/10/15
- Re: [PATCH] emacs: devel: Add indentation rules., Ludovic Courtès, 2015/10/14
- Re: [PATCH] emacs: devel: Add indentation rules., Alex Kost, 2015/10/15