[OpenSCAD] Initial implementation of an emacs mode for scad files.

Len Trigg lenbok at gmail.com
Thu Apr 1 05:49:39 CEST 2010


Marius Kintel wrote:
> I've been using the C++ mode so far, but this looks like a possible improvement!

I wasn't sure if I should make my mode derive from cc-mode - it looked trickier.


> A few comments/wishes:
> o Make indentation indent one extra level if the previous line didn't end with a semicolon.

Will look into it.


> o Note that it's a difference between functions and modules in scad. Not sure if they need to be indented differently though.
> 
> FYI: These are lists of built-in functions and modules in OpensCAD:

Cool, I'll update it to reflect that distinction (I don't think it was
really apparent when I was reading the user manual).


Cheers,
Len.


More information about the Openscad mailing list