Hi Bruno,

On Tue, 7 Mar 2023 at 14:54, Bruno Victal <mi...@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