GNU bug report logs - #62000
Inconsistent indentation rules for define-configuration

Previous Next

Package: guix;

Reported by: Bruno Victal <mirai <at> makinata.eu>

Date: Mon, 6 Mar 2023 12:50:01 UTC

Severity: normal

Done: Bruno Victal <mirai <at> makinata.eu>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 62000 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: 62000 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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




This bug report was last modified 1 year and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.