[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 23:25:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> AFAIK shell-mode's indentation works just fine and reliably. Maybe you
>> don't need it when you write 2-line scripts, but for larger scripts
>> (such as https://gitlab.com/monnier/bugit/blob/master/bugit), it makes
>> just as much sense as for any other programming language.
> You're thinking of sh-mode. `shell-mode' is the one you get with `M-x shell'.
Duh! comint-derived modes don't make much sense there, indeed.
But you don't need to list it: just check the value of
indent-line-function and weed out the `indent-relative' case.
Stefan