bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62000: Inconsistent indentation rules for define-configuration


From: Simon Tournier
Subject: bug#62000: Inconsistent indentation rules for define-configuration
Date: Tue, 7 Mar 2023 15:02:57 +0100

Hi Bruno,

On Tue, 7 Mar 2023 at 14:54, Bruno Victal <mirai@makinata.eu> wrote:

> Having a field named 'package' within define-configuration causes incorrect 
> indentation.

As I tried to explain, .dir-locals.el does not consider the context
but only the keyword 'package'.  Because of

   (eval . (put 'package 'scheme-indent-function 0))

each time the word 'package' appears, then it applies the rule.  Maybe
I am missing something but from my point of view, it would not be
possible to change what you are suggesting: apply indentation rules
depending on the context.

Cheers,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]