Half-width indentation for "where" keyword
Svein Ove Aas
sveina at gmail.com
Fri Jul 2 08:08:22 EDT 2010
On Wed, Jun 2, 2010 at 9:39 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
>> There is one known issue I have not figured out why.
>> It needs 4 tab key presses to change (a) to (b)
>> (a)
>> --------------------------
>> foo = do
>> bar
>> where
>> --------------------------
>> (b)
>> --------------------------
>> foo = do
>> bar
>> where
>> --------------------------
>
> I think it has to do with having to press tab one extra time to cycle back
> to the beginning of the set of possible indentations. I think this is normal
> Emacs behavior.
>
This is deliberate, configurable haskell-mode behaviour, and there is
a toggle for it in the haskell-mode group.
If you look at the status line when you do it, you'll find that it's
actually telling you this.
--
Svein Ove Aas
More information about the Haskellmode-emacs
mailing list