The problem is that the 1.0 behavior clobbered the user's indent-tab-mode
setting. If the user had set indent-tab-mode to true, they would reasonably
expect setting haml-indent-offset to 8 to make haml-mode use tabs. But
instead, haml-mode clobbered indent-tab-mode and just inserted spaces.

Maybe the correct default is to always insert a tab character if
indent-tab-mode is t, or to have a haml-specific configuration variable for
allowing tabs.

On Sun, Sep 18, 2011 at 3:52 PM, Skye Shaw!@#$ <[email protected]> wrote:

>
>
> On Sep 16, 1:55 pm, Nathan Weizenbaum <[email protected]> wrote:
> > I agree that the default isn't ideal, but I'm not sure what set of
> defaults
> > would work better.
>
> 1.0 behavior. If someone wants to set haml-indent-offset to 8 let them
> decide how they want the spaces interpreted. No need to break the mode
> just for this.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to