I agree that the default isn't ideal, but I'm not sure what set of defaults would work better.
On Fri, Sep 16, 2011 at 12:28 PM, Skye Shaw!@#$ <[email protected]> wrote: > > > On Wed, Sep 14, 2011 at 8:37 PM, Skye Shaw!@#$ <[email protected]> > wrote: > > > After giving this another look I found that haml-mode map in 1.0 > > > contains: (setq indent-tabs-mode nil). > > > On Sep 15, 5:30 pm, Nathan Weizenbaum <[email protected]> wrote: > > Haml allows tab-based indentation; some people wanted to be able to use > tabs > > with haml-mode, which meant not mucking with that variable. > > If indent-tabs-mode is not nil emacs inserts tabs as it sees fit, > right? Since haml-indent-offset defaults to 2 emacs will insert a hard > tab once the indentation level reaches 8, breaking the markup. > > Users wishing to indent with custom levels must do so explicitly by > setting haml-indent-offset. If set to 8 they should also have to be > explicit about about how they want their 8 spaces interpreted (maybe > they prefer 8 spaces :). It comes at the expense of not breaking the > default. > > I'm surprised others haven't had this problem. Maybe I'm missing > something? > > -- > 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.
