I'm not sure how well this would apply to Python and Yaml, just because
it's largely based on the assumption that indentation always delimits
structure. This fails for something like
print(1 +
1)
It also fails for multiline stuff within Haml, but folks use of that is
discouraged anyway.
Evgeny wrote:
> I am sure that python people would be thrilled to use this feature as
> well :)
>
> On Sun, May 4, 2008 at 11:43 PM, Nathan Weizenbaum <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Luckily, Emacs' scripting is friendly ;-). I've implemented Evgeny's
> suggestions in haml- and sass-mode, along with some other stuff for
> hooking into Emacs' support for sexpressions. It's now easy to
> delete/re-indent whatever code you want.
>
> The problem with making editors work well with Haml is that the same
> thing has to be done for every editor... no one's going to switch to
> Emacs just because of this.
>
> - Nathan
>
> Mislav Marohnić wrote:
> > I don't think of myself as a dumb person, but vim's scripting
> language
> > is so cryptic that it would take me months to whip that script up.
> > It's not so trivial.
> >
> > I mean, folks didn't even manage to create proper syntax schemes for
> > Haml/Sass. Those which exist were good enough for starters, but more
> > and more bugs became obvious to me.
> >
> > If someone can do this, I would use it and buy that guy a beer. I'm
> > sure hundreds of other people will, too.
> >
> >
> > On Sun, May 4, 2008 at 7:37 PM, Gmail <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
> >
> > Vim actually can do anything - I use it exclusively as well :-)
> >
> >
> >
> > >
>
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---