From: Simon Tournier <zimon.toutoune@gmail.com>
To: Bruno Victal <mirai@makinata.eu>
Cc: 62000@debbugs.gnu.org
Subject: bug#62000: Inconsistent indentation rules for define-configuration
Date: Tue, 7 Mar 2023 15:02:57 +0100 [thread overview]
Message-ID: <CAJ3okZ3NSRQ8v2mudKuVj+newWDDebneq4epPQnH0wkQZseQOA@mail.gmail.com> (raw)
In-Reply-To: <cd0c7b2b-b0c8-7c82-9558-7561183fdc9e@makinata.eu>
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
next prev parent reply other threads:[~2023-03-07 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 12:48 bug#62000: Inconsistent indentation rules for define-configuration Bruno Victal
2023-03-07 13:16 ` Simon Tournier
2023-03-07 13:54 ` Bruno Victal
2023-03-07 14:02 ` Simon Tournier [this message]
2023-06-22 13:40 ` Bruno Victal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ3okZ3NSRQ8v2mudKuVj+newWDDebneq4epPQnH0wkQZseQOA@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=62000@debbugs.gnu.org \
--cc=mirai@makinata.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).