all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Cc: Xairi <xairi.valdivia@gmail.com>
Subject: Re: [elpa] master 6c3842e 2/6: Add scala-mode to excluded-modes (#88)
Date: Wed, 12 Oct 2016 15:48:13 -0400	[thread overview]
Message-ID: <jwva8e9uzby.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <20161012191324.8A15C220170@vcs.savannah.gnu.org> (Artur Malabarba's message of "Wed, 12 Oct 2016 19:13:24 +0000 (UTC)")

> --- 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	other threads:[~2016-10-12 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20161012191324.23934.59986@vcs.savannah.gnu.org>
     [not found] ` <20161012191324.8A15C220170@vcs.savannah.gnu.org>
2016-10-12 19:48   ` Stefan Monnier [this message]
2016-10-12 21:05     ` [elpa] master 6c3842e 2/6: Add scala-mode to excluded-modes (#88) Artur Malabarba
2016-10-12 22:07       ` Stefan Monnier
2016-10-13  1:02         ` Artur Malabarba
2016-10-13  3:25           ` Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwva8e9uzby.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=xairi.valdivia@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.