emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] master 6c3842e 2/6: Add scala-mode to excluded-modes (#88)


From: Stefan Monnier
Subject: Re: [elpa] master 6c3842e 2/6: Add scala-mode to excluded-modes (#88)
Date: Wed, 12 Oct 2016 15:48:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

> --- a/aggressive-indent.el
> +++ b/aggressive-indent.el
> @@ -136,6 +136,7 @@ Please include this in your report!"
>      netcmd-mode
>      python-mode
>      sass-mode
> +    scala-mode
>      slim-mode
>      special-mode
>      shell-mode

Isn't aggressive-indent-excluded-modes a bit blunt/arbitrary?

I mean, shouldn't we argue for each mode *why* it shouldn't use
aggressive-indent, and then maybe come up with a way to make this
variable unnecessary (because we can determine it automatically)?

E.g. maybe some of those modes shouldn't use aggressive-indent simply
because auto-reindentation can't be done reliably (in which case,
aggressive-indent could check something like electric-indent-inhibit
which was introduced for the same kind of needs)...


        Stefan



reply via email to

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